/*************************************************************************************
 * BBL-Software – Moderne Webseite (Variante 3, hell)
 * Globale Styles: Tokens, Layout, Navigation, Buttons, Karten, Footer
 *************************************************************************************/

/* Design-Tokens – zentrale Werte fuer die ganze Seite */
:root {
    --cyan: #00b0f0;
    --cyan-dark: #0a8fc7;
    --blue: #3099e4;
    --gradient: linear-gradient(135deg, #00b0f0, #3099e4);
    --ink: #174b88;
    --text: #1f2b3d;
    --muted: #52617a;
    --hint: #8a97a8;
    --line: #eef2f7;
    --surface: #f7fafd;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 4px 12px rgba(16, 44, 80, .06);
    --shadow-md: 0 16px 30px -18px rgba(16, 44, 80, .30);
    --shadow-lg: 0 30px 60px -24px rgba(16, 44, 80, .30);
    --container: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    font-size: 17px;
    background:
        radial-gradient(60% 80% at 50% -10%, rgba(0, 176, 240, .16), transparent 60%),
        radial-gradient(50% 60% at 88% 16%, rgba(108, 93, 193, .12), transparent 60%),
        var(--surface);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan-dark); text-decoration: underline;}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }

h1 {font-size: 35pt; font-weight: 800; margin-bottom: 14px;color: #00b0f0;}
h2 {font-size: 25pt; font-weight: 800; margin-bottom: 14px;color: #00b0f0;}
h3 {font-size: 18pt; font-weight: 800; margin-bottom: 14px;color: #00b0f0;}
h4 {font-size: 35pt; font-weight: 800; margin-bottom: 14px;}
h5 {font-size: 25pt; font-weight: 800; margin-bottom: 14px;}
h6 {font-size: 18pt; font-weight: 800; margin-bottom: 14px;}    
/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 66px 0; }
/*.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }*/
.section--center { text-align: center; }

.eyebrow {
    color: var(--cyan-dark);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; /*max-width: 720px;*/ margin: 0 auto 38px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: #fff; color: var(--text); border-color: #cdd7e3; }
.btn--ghost:hover { color: var(--text); border-color: var(--cyan); }
.btn--light { background: #fff; color: var(--cyan-dark); box-shadow: var(--shadow-md); }
.btn--light:hover { color: var(--cyan-dark); transform: translateY(-2px); }

/* Karten-Basis */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/*************************************************************************************
 * Navigation
 *************************************************************************************/
.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: .5px; color: var(--ink); }
.brand__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 32px; border-radius: 9px;
    color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 24px;
    width: 55%;
    justify-content: space-between;
}
.nav-links a { color: #48566b; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--cyan-dark); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--gradient); color: #fff;
    font-weight: 800; font-size: 14px;
    padding: 9px 18px; border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .2s ease;
}
.nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Hamburger-Button (per JS eingefuegt) – nur in der responsiven Ansicht sichtbar */
.nav-toggle {
    display: none;
    align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .material-symbols-outlined { font-size: 26px; }
/* Klon des CTA fuer das aufgeklappte Mobilmenue – auf Desktop versteckt */
.nav-cta--mobile { display: none; }

/*************************************************************************************
 * Suchfeld in der Navigation
 *************************************************************************************/
.nav-suche {
    display: flex; align-items: center; gap: 4px;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    padding: 3px 4px 3px 14px; background: #fff;
}
.nav-suche:focus-within { border-color: var(--cyan); }
.nav-suche input {
    border: 0; outline: 0; background: transparent;
    font: inherit; font-size: 15px; width: 140px; color: var(--text);
}
.nav-suche input::placeholder { color: var(--hint); }
.nav-suche button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; flex: 0 0 auto;
    border: 0; border-radius: 50%; cursor: pointer;
    background: var(--gradient); color: #fff;
}
.nav-suche button .material-symbols-outlined { font-size: 19px; }
.nav-suche--mobile { display: none; }

/*************************************************************************************
 * Suchergebnisse
 *************************************************************************************/
/* Sprungziel nicht unter der klebenden Navigation verstecken */
.block-anker { scroll-margin-top: 90px; }

.suche-titel { font-size: 30px; font-weight: 800; margin-bottom: 22px; }
.suche-feld { display: flex; gap: 10px; max-width: 620px; margin-bottom: 26px; }
.suche-feld input {
    flex: 1; font: inherit; font-size: 17px; padding: 13px 18px;
    border: 1px solid var(--line); border-radius: var(--radius-pill);
    background: #fff; color: var(--text);
}
.suche-feld input:focus { outline: 0; border-color: var(--cyan); }
.suche-feld button {
    font: inherit; font-weight: 800; font-size: 15px; cursor: pointer;
    padding: 13px 28px; border: 0; border-radius: var(--radius-pill);
    background: var(--gradient); color: #fff;
}
.suche-anzahl { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.suche-hinweis { color: var(--muted); }

.treffer { max-width: 660px; margin-bottom: 30px; }
.treffer__pfad { font-size: 13px; color: #1a7f4b; margin-bottom: 2px; }
.treffer__titel {
    display: inline-block; font-size: 20px; font-weight: 700;
    color: var(--cyan-dark); text-decoration: none; margin-bottom: 4px;
}
.treffer__titel:hover { text-decoration: underline; }
.treffer__text { color: var(--muted); font-size: 15px; }
.treffer__text mark { background: #fff2b0; color: var(--ink); padding: 0 2px; border-radius: 2px; }

/*************************************************************************************
 * Trust-Band
 *************************************************************************************/
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 54px; padding: 30px 0; text-align: center; }
.trust__num { display: block; font-size: 26px; font-weight: 800; color: var(--ink); }
.trust__cap { color: var(--hint); font-size: 14px; }

/*************************************************************************************
 * Werte-Karten (Ueber uns)
 *************************************************************************************/
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; text-align: left; }
/* Genau 3 Karten: 3 nebeneinander -> 1 Spalte (kein 2 + 1) */
.value-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .value-grid--3 { grid-template-columns: 1fr; } }
.value-card { padding: 26px; }

/*************************************************************************************
 * Rechtstexte (Impressum, Datenschutz, AGB) – lange Texte gut lesbar in einer Karte
 *************************************************************************************/
.rechtstext { padding: 34px 38px; margin-top: 18px; text-align: left; }
.rechtstext h2 { font-size: 24px; margin-bottom: 18px; }
.rechtstext h3 { font-size: 18px; color: var(--ink); margin: 28px 0 10px; }
.rechtstext h3:first-of-type { margin-top: 6px; }
.rechtstext p, .rechtstext li { color: #3a4759; font-size: 16px; line-height: 1.7; }
.rechtstext p { margin: 0 0 12px; }
.rechtstext ul { margin: 0 0 14px; padding-left: 22px; }
.rechtstext li { margin: 3px 0; }
.rechtstext li::marker { color: var(--cyan); }
.rechtstext a { word-break: break-word; }
.value-card .kontakt-zeile { display: flex; gap: 10px; align-items: baseline; margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.value-card .kontakt-zeile strong { color: var(--text); min-width: 64px; }
.sprung-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 0; padding: 0; list-style: none; }
.sprung-chips a {
    display: inline-block; padding: 7px 14px; border-radius: var(--radius-pill);
    background: #fff; border: 1px solid #cdd7e3; color: var(--ink); font-size: 14px; font-weight: 700;
}
.sprung-chips a:hover { border-color: var(--cyan); color: var(--cyan-dark); }
@media (max-width: 760px) { .rechtstext { padding: 24px 20px; } }

/*************************************************************************************
 * Preisliste (Leistung + Einheit links, Preis rechts) – z.B. in .card.value-card
 *************************************************************************************/
.preisliste { list-style: none; margin: 6px 0 0; padding: 0; }
.preisliste li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 12px 0; border-top: 1px solid var(--line);
}
.preisliste li:first-child { border-top: 0; }
.preisliste__name { color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.4; }
.preisliste__name small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.preisliste__preis { color: var(--cyan-dark); font-size: 18px; font-weight: 800; white-space: nowrap; }
.preis-fussnote { color: var(--muted); font-size: 14px; text-align: center; margin: 18px 0 0; }
.value-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.value-card__icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius);
    background: #eaf7fe; color: var(--cyan-dark); flex-shrink: 0;
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 18px; font-weight: 800; }
.value-card p { color: var(--muted); font-size: 15px; margin: 0; }

/*************************************************************************************
 * Produkt-Karten
 *************************************************************************************/
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.product-card__top { height: 4px; }
.product-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-card__icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px;
}
.product-card__icon svg { width: 24px; height: 24px; }
.product-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.product-card__sub { color: var(--cyan-dark); font-size: 13px; font-weight: 700; }
.product-card__list { list-style: none; padding: 0; margin: 14px 0 0; flex: 1; }
.product-card__list li { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid var(--line); color: #3a4759; font-size: 15px; }
.product-card__list li svg { width: 17px; height: 17px; color: #15a13d; flex-shrink: 0; }
.product-card__cta { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--cyan-dark); font-size: 15px; }
.product-card__cta svg { width: 16px; height: 16px; }

/*************************************************************************************
 * Schritte (Optimaler Startpunkt)
 *************************************************************************************/
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; text-align: left; }
.step { padding: 24px; }
.step__n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--gradient); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/*************************************************************************************
 * Media-Section (Text links / Bild rechts) – wiederverwendbare Vorlage
 *************************************************************************************/
.media-section__inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.media-section__text { flex: 1 1 320px; }
.media-section__text .section-title { margin-bottom: 16px; }
.media-section__text p { color: var(--muted); margin: 0 0 14px; }
.media-section__text p:last-of-type { margin-bottom: 22px; }
.media-section__media { flex: 0 0 400px; max-width: 100%; }

/* Bildrahmen – fest 400 x 225 px */
.media-frame {
    width: 400px; height: 225px; max-width: 100%; margin: 0;
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    gap: 10px; color: var(--hint); font-weight: 700;
    background:
        linear-gradient(135deg, rgba(0, 176, 240, .06), rgba(108, 93, 193, .06)),
        repeating-linear-gradient(45deg, #f3f6fa 0 16px, #eef2f7 16px 32px);
}


/* Bild */
.media-frame-bild {
  width: fit-content;
  height: fit-content;
  box-shadow: var(--shadow-md);
  margin: auto;
}

.media-frame-bild:hover {
  box-shadow: var(--shadow-lg);
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame svg { width: 26px; height: 26px; }

/* Variante: Bild links / Text rechts */
.media-section--reverse .media-section__inner { flex-direction: row-reverse; }

@media (max-width: 760px) {
    .media-section__media { flex-basis: 100%; }
    .media-frame { width: 100%; height: auto; aspect-ratio: 400 / 225; }
    .media-section--reverse .media-section__inner { flex-direction: column-reverse; }
}

/*************************************************************************************
 * Gestapelte Section (Ueberschrift / Beschreibung / Bild untereinander)
 *************************************************************************************/
.section-bild {
    /*width: 100%;*/
    /*max-width: 800px;*/
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/*************************************************************************************
 * CTA-Band
 *************************************************************************************/
.cta-band { background: var(--gradient); text-align: center; }
.cta-band h2 { color: #fff; font-size: 30px; font-weight: 800; /*max-width: 560px;*/ margin: 0 auto 14px; }
.cta-band p { color: #eaf7ff; font-size: 17px; /*max-width: 480px;*/ margin: 0 auto 28px; }

/*************************************************************************************
 * Footer
 *************************************************************************************/
.site-footer { background: var(--ink); color: #9fb0c4; padding: 54px 0 24px; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid #1d2b41; }
.footer__brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 14px; }
.footer__brand .brand__mark { background: var(--gradient); }
.footer__addr { line-height: 1.8; }
.footer__col h5 { color: #fff; font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { padding: 5px 0; }
.footer__col a { color: #cdd9e6; }
.footer__col a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; font-size: 13px; color: #6c7c92; }
.footer__legal .links { display: flex; gap: 18px; }

@media (max-width: 860px) {
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 26px; }

    /* Hamburger statt Inline-Navigation */
    .nav-toggle { display: inline-flex; }
    .nav-cta { display: none; }              /* Inline-CTA aus, kommt ins Klappmenue */

    .nav-links {
        display: none;                        /* zu, bis geoeffnet */
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: 8px 0;
    }
    .site-nav.is-open .nav-links { display: flex; }
    .nav-links a { padding: 12px 24px; font-size: 16px; }
    .nav-links .nav-cta--mobile { display: inline-flex; width: max-content; margin: 10px 24px; }

    /* Suchfeld wandert ins Klappmenue */
    .nav-suche { display: none; }
    .nav-links .nav-suche--mobile { display: flex; margin: 12px 24px 4px; }
    .nav-links .nav-suche--mobile input { width: 100%; }
}

/* Material-Icon-Groessen je Kontext (Icons = <span class="material-symbols-outlined">) */
.btn .material-symbols-outlined { font-size: 19px; }
.value-card__icon .material-symbols-outlined,
.product-card__icon .material-symbols-outlined { font-size: 24px; }
.product-card__list li .material-symbols-outlined { font-size: 18px; color: #15a13d; }
