/* tools.systempro.at – Design wie ip.systempro.at (Farben, Manrope, IBM Plex Mono, Hintergrund), 2026-10-23; weisser Schleier und Wellen auf Wunsch entfernt.
   Liegt bewusst ausserhalb des Vite-Builds (kein Node am Server) und wird nach app.css geladen:
   ungelayerte Regeln schlagen die Tailwind-Layer, die :root-Variablen ueberschreiben das Tailwind-Theme. */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
}
@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

/* Globale Farben aus dem Elementor-Kit von systempro.at (wie ip.css) */
:root {
    --primaer: #22968A;
    --petrol: #0C5C6E;
    --akzent: #FBCD12;
    --rot: #D9111C;
    --text: #1D2526;
    --grau: #6B7475;
    --rand: #E5E7E7;
    --mint: #E6F4F2;
    --hellgrau: #EEF0F1;
    --weiss: #FFFFFF;
    --radius: 5px;

    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    /* Tailwind-Theme umbiegen */
    --font-sans: var(--sans);
    --font-mono: var(--mono);
    --color-primary: var(--primaer);
    --color-primary-hover: var(--petrol);
    --radius-lg: var(--radius);
    --radius-xl: var(--radius);
    --radius-2xl: var(--radius);
    color-scheme: light;
}

::selection { color: var(--text); background: var(--akzent); }

html { overflow-x: clip; }

body {
    font-family: var(--sans);
    color: var(--text);
    background:
        url("../images/background-farbe.jpg") 70% center / cover no-repeat fixed,
        var(--hellgrau);
    -webkit-font-smoothing: antialiased;
}

/* Punktraster, zur Mitte hin ausgeblendet */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(29, 37, 38, 0.10) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 20%, #000 75%);
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 20%, #000 75%);
    pointer-events: none;
}

/* Inhalt ueber dem Raster */
.seite { position: relative; z-index: 1; }

/* Navigation: weiss, Farbleiste in den Logofarben oben (1:2:1:3 wie die Karte auf ip) */
.navi { border-bottom-color: var(--rand); }
.navi::before, .karte::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--primaer) 0 14.29%,
        var(--rot) 14.29% 42.86%,
        var(--akzent) 42.86% 57.14%,
        var(--primaer) 57.14% 100%);
}
.navi::before { height: 4px; }

/* Karten wie auf ip.systempro.at */
.karte {
    position: relative;
    overflow: hidden;
    background: var(--weiss);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(29, 37, 38, 0.04), 0 18px 50px rgba(29, 37, 38, 0.12);
    animation: einblenden 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes einblenden {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* Dashboard-Kacheln */
.kachel {
    border-color: var(--rand);
    box-shadow: 0 1px 2px rgba(29, 37, 38, 0.04), 0 8px 24px rgba(29, 37, 38, 0.06);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.kachel:hover, .kachel:focus-visible {
    border-color: var(--primaer);
    box-shadow: 0 1px 2px rgba(29, 37, 38, 0.04), 0 18px 50px rgba(29, 37, 38, 0.12);
    transform: translateY(-2px);
}
.kachel h2 { color: var(--text); }

/* Ueberschriften der Seiten: kleines Label in Mono wie "Ihre oeffentliche IP-Adresse" */
.label {
    margin: 0 0 8px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primaer);
}
h1 { font-weight: 700; letter-spacing: -0.01em; }

/* Buttons wie auf systempro.at: Primaer gruen, Hover in Akzent-Gelb */
button.bg-primary, a.bg-primary {
    border: 1px solid var(--primaer);
    transition: all 0.3s;
}
button.bg-primary:hover, button.bg-primary:focus-visible,
a.bg-primary:hover, a.bg-primary:focus-visible {
    color: var(--text);
    background: var(--akzent);
    border-color: var(--akzent);
}
button.bg-primary:focus-visible, a.bg-primary:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }

/* Formulare */
input[type="checkbox"], input[type="radio"] { accent-color: var(--primaer); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--primaer); }

.font-mono { font-family: var(--mono); }

/* Fusszeile wie "Ein Service der Systempro GmbH" */
.fuss { color: var(--grau); }
.fuss a { color: var(--petrol); font-weight: 600; text-decoration: none; transition: color 0.3s; }
.fuss a:hover { color: var(--primaer); }

@media (prefers-reduced-motion: reduce) {
    .karte { animation: none; }
    .kachel, .fuss a, button.bg-primary, a.bg-primary { transition: none; }
    .kachel:hover { transform: none; }
}
