/* =====================================================================
   bibfox – Landingpage (eigenständig, ohne externe Dienste)
   Farben wie in der bibfox-App: Schiefer + Bereichsfarben
   ===================================================================== */

@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('../fonts/roboto-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('../fonts/roboto-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('../fonts/roboto-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('../fonts/roboto-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('../fonts/roboto-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('../fonts/roboto-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --schiefer: #1f2933;
    --schiefer-2: #2d3a48;
    --text: #1f2933;
    --text-2: #52606d;
    --text-3: #7b8794;
    --rand: #e4e8ed;
    --flaeche: #f3f5f8;
    --weiss: #fff;

    --gruen: #2f855a;   --gruen-hell: #eaf6ef;
    --blau: #2b6cb0;    --blau-hell: #ebf3fb;
    --orange: #c05621;  --orange-hell: #fff3e9;  --fuchs: #dd6b20;
    --violett: #6b46c1; --violett-hell: #f2eefb;

    --breite: 1180px;
    --radius: 14px;
    --schatten: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
    --schatten-gross: 0 30px 60px rgba(10, 18, 28, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    background: var(--weiss);
    color: var(--text);
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }

.inhalt { width: min(var(--breite), calc(100% - 48px)); margin: 0 auto; }

/* ---------- Kopfzeile ---------- */

.kopf {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(31, 41, 51, .94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.kopf .inhalt { display: flex; align-items: center; gap: 32px; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo .wort { font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.logo .wort i { font-weight: 400; color: #9fb3c8; }

.kopf nav { display: flex; gap: 6px; margin-left: auto; }
.kopf nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: #cbd2d9;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}
.kopf nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Knöpfe ---------- */

.knopf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s, background-color .15s, box-shadow .15s;
}
.knopf:hover { transform: translateY(-1px); }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf-primaer { background: var(--fuchs); color: #fff; box-shadow: 0 8px 20px rgba(221, 107, 32, .35); }
.knopf-primaer:hover { background: #c45c1a; }
.knopf-hell { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.knopf-hell:hover { background: rgba(255, 255, 255, .16); }
.knopf-klein { height: 40px; padding: 0 16px; font-size: 14px; box-shadow: none; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    background: radial-gradient(1200px 600px at 75% 0%, #34465a 0%, rgba(52, 70, 90, 0) 60%), var(--schiefer);
    color: #fff;
}
.hero .inhalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }

.vorzeile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    color: #e4e7eb;
    font-size: 14px;
    font-weight: 500;
}
.vorzeile .punkt { width: 8px; height: 8px; border-radius: 50%; background: #48bb78; box-shadow: 0 0 0 4px rgba(72, 187, 120, .2); }

.hero h1 { margin: 0 0 22px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -1.2px; }
.hero h1 span { color: #f6ad55; }
.hero .einleitung { margin: 0 0 32px; max-width: 540px; color: #cbd2d9; font-size: 19px; line-height: 1.65; }
.hero .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-bild { position: relative; padding-bottom: 40px; }
.hero-bild .browser { transform: perspective(2000px) rotateY(-4deg); transform-origin: left center; }
.hero-bild .telefon { position: absolute; right: -10px; bottom: 0; width: 30%; }

.farbstreifen { display: flex; height: 6px; margin-top: 72px; }
.farbstreifen span { flex: 1; }

/* ---------- Geräte-Rahmen ---------- */

.browser {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--schatten-gross);
}
.browser-leiste {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    background: #e9edf1;
}
.browser-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #cfd6de; }
.browser-leiste i:nth-child(1) { background: #f87171; }
.browser-leiste i:nth-child(2) { background: #fbbf24; }
.browser-leiste i:nth-child(3) { background: #34d399; }
.browser-leiste .adresse {
    flex: 1;
    max-width: 280px;
    height: 20px;
    margin-left: 14px;
    border-radius: 6px;
    background: #fff;
}

.telefon {
    padding: 9px;
    border-radius: 34px;
    background: #0f1720;
    box-shadow: var(--schatten-gross), inset 0 0 0 2px #2d3a48;
}
.telefon img { border-radius: 26px; width: 100%; height: auto; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 110px 0; }
.abschnitt.grau { background: var(--flaeche); }

.ueberschrift { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.ueberschrift .marke-text {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.ueberschrift h2 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.8px; }
.ueberschrift p { margin: 0; color: var(--text-2); font-size: 19px; }

/* Was ist bibfox? */
.was { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.was .ueberschrift { margin: 0; text-align: left; }
.was p { color: var(--text-2); }
.kernpunkte { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.kernpunkte li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--schatten);
}
.kernpunkte b { display: block; margin-bottom: 2px; font-weight: 500; font-size: 17px; }
.kernpunkte span { color: var(--text-2); font-size: 15px; line-height: 1.5; }

.symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--farbe-hell, var(--orange-hell));
    color: var(--farbe, var(--orange));
}
.symbol svg { width: 23px; height: 23px; }

.f-gruen   { --farbe: var(--gruen);   --farbe-hell: var(--gruen-hell); }
.f-blau    { --farbe: var(--blau);    --farbe-hell: var(--blau-hell); }
.f-orange  { --farbe: var(--orange);  --farbe-hell: var(--orange-hell); }
.f-violett { --farbe: var(--violett); --farbe-hell: var(--violett-hell); }
.f-schiefer{ --farbe: #4a5568;        --farbe-hell: #eef1f5; }

/* Funktionen */
.funktionen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.funktion {
    position: relative;
    padding: 30px 28px 28px;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--schatten);
    transition: transform .2s, box-shadow .2s;
}
.funktion:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 16px 36px rgba(16, 24, 40, .12); }
.funktion::before {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--farbe);
}
.funktion h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 500; }
.funktion p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Scanner-App */
.scanner {
    background: radial-gradient(900px 500px at 15% 10%, #2d3a48 0%, rgba(45, 58, 72, 0) 60%), var(--schiefer);
    color: #fff;
}
.scanner .ueberschrift p { color: #cbd2d9; }
.scanner .ueberschrift .marke-text { color: #f6ad55; }
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.schritt { text-align: center; }
.schritt .telefon { width: min(270px, 100%); margin: 0 auto 30px; }
.schritt .nummer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--fuchs);
    font-weight: 700;
}
.schritt h3 { margin: 0 0 6px; font-size: 21px; font-weight: 500; }
.schritt p { margin: 0 auto; max-width: 320px; color: #cbd2d9; font-size: 16px; }
.hinweis-zeile {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 64px;
    color: #cbd2d9;
    font-size: 15px;
}
.hinweis-zeile span { display: inline-flex; align-items: center; gap: 8px; }
.hinweis-zeile svg { width: 18px; height: 18px; color: #68d391; }

/* Verwaltung: abwechselnde Zeilen */
.zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: center; }
.zeile + .zeile { margin-top: 110px; }
.zeile.gespiegelt { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.zeile.gespiegelt .text { order: 2; }
.zeile .text h3 { margin: 18px 0 12px; font-size: 28px; line-height: 1.2; letter-spacing: -.4px; }
.zeile .text p { margin: 0 0 18px; color: var(--text-2); }
.liste { margin: 0; padding: 0; list-style: none; }
.liste li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--text-2); font-size: 16px; }
.liste svg { width: 20px; height: 20px; margin-top: 2px; flex: none; color: var(--farbe, var(--gruen)); }
.zeile .browser { box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 24px 50px rgba(16, 24, 40, .16); }

.druckbeispiele { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.blatt {
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(16, 24, 40, .06), 0 20px 40px rgba(16, 24, 40, .14);
}
.blatt:nth-child(2) { transform: translateY(28px); }

/* Stimme */
.stimme { max-width: 880px; margin: 0 auto; text-align: center; }
.stimme blockquote {
    position: relative;
    margin: 0 0 28px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -.2px;
}
.stimme blockquote::before {
    content: '\201C';          /* hochgestelltes Anführungszeichen als Schmuck über dem Zitat */
    display: block;
    height: 52px;
    margin-bottom: 14px;
    overflow: hidden;
    color: var(--fuchs);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 110px;
    line-height: 1;
    font-weight: 700;
}
.stimme .wer { color: var(--text-2); font-size: 16px; }
.stimme .wer b { display: block; color: var(--text); font-weight: 500; }

/* Service */
.service { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service .karte {
    padding: 28px 24px;
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    background: #fff;
}
.service h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 500; }
.service p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* Kontakt */
.kontakt {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border-radius: 24px;
    background: radial-gradient(700px 400px at 90% 0%, #3b4d61 0%, rgba(59, 77, 97, 0) 65%), var(--schiefer);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.kontakt h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.6px; }
.kontakt p { margin: 0; color: #cbd2d9; font-size: 18px; }
.kontakt .rechts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.kontakt .mail { color: #fff; font-size: 20px; font-weight: 500; text-decoration: none; border-bottom: 2px solid rgba(246, 173, 85, .6); }
.kontakt .mail:hover { border-bottom-color: #f6ad55; }
.kontakt .fuchs-deko { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .06; pointer-events: none; }

/* Fuß */
.fuss { padding: 36px 0 44px; border-top: 1px solid var(--rand); color: var(--text-3); font-size: 14px; }
.fuss .inhalt { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.fuss .logo { color: var(--text); }
.fuss .logo .wort { font-size: 20px; }
.fuss .logo .wort i { color: var(--text-3); }
.fuss .logo img { width: 28px; height: 28px; }
.fuss nav { display: flex; gap: 20px; margin-left: auto; }
.fuss nav a { color: var(--text-2); text-decoration: none; }
.fuss nav a:hover { color: var(--text); }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 1000px) {
    .kopf nav { display: none; }
    .kopf .knopf { margin-left: auto; }
    .hero { padding-top: 56px; }
    .hero .inhalt, .was, .zeile, .zeile.gespiegelt, .kontakt { grid-template-columns: 1fr; gap: 40px; }
    .zeile.gespiegelt .text { order: 0; }
    .hero-bild .browser { transform: none; }
    .funktionen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schritte { grid-template-columns: 1fr; gap: 56px; }
    .abschnitt { padding: 80px 0; }
    .kontakt { padding: 40px 28px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .kopf .knopf { display: none; }
    .funktionen, .service { grid-template-columns: 1fr; }
    .hero-bild .telefon { width: 36%; right: -6px; }
    .druckbeispiele { grid-template-columns: 1fr; }
    .blatt:nth-child(2) { transform: none; }
    .fuss nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .knopf, .funktion { transition: none; }
}
