/* =========================================================
   BRAIN interactive – GEO Landingpage | Standalone CSS
   Keine Abhängigkeit von CMS, PHP oder JavaScript
========================================================= */
:root {
  --orange: #ef6c00;
  --orange-dark: #cc5900;
  --lightgrey: #f7f7f7;
  --darkgrey: #888888;
  --black: #2d2d2d;
  --white: #ffffff;
  --text: #686868;
  --line: #e7e7e7;
  --max: 1440px;
  --gutter: 50px;
--font-body: "Roboto", Arial, sans-serif;
--font-heading: "Roboto", Arial, sans-serif;
}

/* =====================================================
   GRUNDLAYOUT & TYPOGRAFIE – ROBOTO
===================================================== */

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

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

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font: 400 16px/1.7 "Roboto", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}


/* =====================================================
   ÜBERSCHRIFTEN
===================================================== */

h1, h2, h3 {
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #717171;
}

/* H1 – besonders kräftig */

h1 {
    font-size: clamp(33px, 3.4vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    max-width: 950px;
}

/* H2 */

h2 {
    font-size: clamp(25px, 2.2vw, 35px);
    font-weight: 800;
    line-height: 1.25;
}

/* H3 */

h3 {
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 800;
    line-height: 1.3;
}


/* =====================================================
   ALLGEMEINE ELEMENTE
===================================================== */

p {
    margin: 0 0 18px;

    width:100%;
    margin:0 0 34px;
    padding:0;
    color:#707070;
    font-family:"Roboto", sans-serif;
    font-size:19px;
    font-weight:400;
    line-height:1.5;
}

a {
    color: var(--orange);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--orange-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.skip {
    position: fixed;
    left: -9999px;
    top: 10px;
    z-index: 9999;
}

.skip:focus {
    left: 16px;
    padding: 10px 15px;
    color: var(--black);
    background: var(--white);
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
}

.site-header > .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-height: 86px;
}


/* LOGO */

.brand {
    flex-shrink: 0;
    color: var(--orange);
    text-decoration: none;
    font: 800 25px/1 "Roboto", Arial, sans-serif;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.brand span {
    color: var(--darkgrey);
    font-weight: 500;
}

.brand:hover {
    color: var(--orange);
}


/* NAVIGATION */

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.3vw, 33px);
}

.nav > a:not(.btn) {
    color: var(--black);
    text-decoration: none;
    font: 500 14px/1.4 "Roboto", Arial, sans-serif;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav > a:not(.btn):hover {
    color: var(--orange);
}


/* =====================================================
   BUTTONS IN BRAIN-ORANGE
===================================================== */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: fit-content;
    max-width: 100%;
    min-height: 46px;

    padding: 11px 25px;

    border: 2px solid transparent;
    border-radius: 100px;

    font: 700 14px/1.35 "Roboto", Arial, sans-serif;

    text-decoration: none;
    text-align: center;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: var(--white);
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-small {
    min-height: 41px;
    padding: 9px 18px;
    font-size: 13px;
    white-space: nowrap;
}


/* Hero: full-bleed background, content stays aligned */
.hero { background: #191919;; color: var(--white); padding: clamp(72px, 7vw, 115px) 0 clamp(65px, 6.5vw, 105px); }
.hero .wrap { position: relative; }
.hero h1 { color: var(--white); margin-bottom: 25px; }
.hero .lead { max-width: 850px; color: #e5e5e5; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero .eyebrow { display: block; width: fit-content; margin-bottom: 20px; padding: 0; background: none; color: var(--orange); font-family: var(--font-body); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.engines { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 42px 0 0; }
.engines li { padding: 7px 14px; border: 1px solid #727272; border-radius: 30px; color: #ebebeb; font-size: 13px; }

/* Sections: content width consistent; backgrounds remain full-bleed */
main > section { padding: clamp(65px, 6vw, 100px) 0; }
section.alt { background: var(--lightgrey); }
.section-head { max-width: 950px; margin-bottom: 40px; }
.section-head p { max-width: 850px; }
.section-head h2 { margin-bottom: 20px; }


/* =====================================================
   GEO METHODIK – TABELLE
===================================================== */

.geo-method-table-section {
    background: var(--white, #ffffff);
}


/* TABELLEN-CONTAINER */

.geo-method-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dedede;
}


/* TABELLE */

.geo-method-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;

    font-family: "Roboto", sans-serif;
    font-size: 15px;
    line-height: 1.65;

    color: var(--text, #686868);
}


/* SPALTENBREITEN */

.geo-method-table th:first-child {
    width: 30%;
}

.geo-method-table th:last-child {
    width: 70%;
}


/* KOPFZEILE */

.geo-method-table thead th {
    padding: 20px 24px;

    background: #f1f2f4;
    color: var(--black, #2d2d2d);

    font-family: "Roboto    ", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;

    text-align: left;
    vertical-align: middle;

    border-bottom: 1px solid #dedede;
}


/* TABELLENZELLEN */

.geo-method-table tbody th,
.geo-method-table tbody td {
    padding: 20px 24px;

    vertical-align: top;
    text-align: left;

    border-bottom: 1px solid #e0e0e0;
}


/* TRENNLINIE ZWISCHEN SPALTEN */

.geo-method-table th:first-child {
    border-right: 1px solid #dedede;
}


/* ERSTE SPALTE */

.geo-method-table tbody th {
    background: #f7f7f7;

    color: var(--black, #2d2d2d);

    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 700;
}


/* ZWEITE SPALTE */

.geo-method-table tbody td {
    background: #ffffff;
}


/* LETZTE ZEILE */

.geo-method-table tbody tr:last-child th,
.geo-method-table tbody tr:last-child td {
    border-bottom: none;
}


/* DEZENTER HOVER */

@media (hover: hover) {

    .geo-method-table tbody tr:hover th {
        background: #f1f1f1;
    }

    .geo-method-table tbody tr:hover td {
        background: #fcfcfc;
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .geo-method-table th:first-child {
        width: 35%;
    }

    .geo-method-table th:last-child {
        width: 65%;
    }

    .geo-method-table thead th,
    .geo-method-table tbody th,
    .geo-method-table tbody td {
        padding: 17px 20px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .geo-method-table {
        font-size: 14px;
    }

    .geo-method-table th:first-child {
        width: 38%;
    }

    .geo-method-table th:last-child {
        width: 62%;
    }

    .geo-method-table thead th {
        padding: 13px 12px;
        font-size: 12px;
    }

    .geo-method-table tbody th,
    .geo-method-table tbody td {
        padding: 15px 12px;
        font-size: 13px;
        line-height: 1.6;
    }

}

/* Informational cards – restrained, less 'template' */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(35px, 5vw, 80px); }
.card { border: 1px solid var(--line); border-top: 3px solid var(--orange); background: var(--white); padding: clamp(24px, 2.6vw, 36px); min-width: 0; }
.card h3 { margin-bottom: 13px; color: var(--black); }
.card p:last-child { margin-bottom: 0; }
section:not(.alt) .card { background: var(--lightgrey); }


/* Check / method section */
.steps { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 0 0 28px 62px; position: relative; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; position: absolute; top: 0; left: 0; width: 41px; height: 41px; border-radius: 50%; background: var(--darkgrey); color: var(--white); font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.steps h3 { margin-bottom: 7px; color: var(--black); }
.steps p { margin-bottom: 0; }
.checklist { list-style: none; margin: 24px 0; padding: 0; }
.checklist li { position: relative; padding-left: 29px; margin-bottom: 13px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
#geo-check .card .btn { margin-top: 7px; }

/* =====================================================
   GEO BRANCHEN ÜBERSICHT
===================================================== */

.geo-branches {
    background: var(--lightgrey, #f7f7f7);
    padding: 90px 0 100px;
}


/* INTRO */

.geo-branches__intro {
    max-width: 900px;
    margin-bottom: 45px;
}
.geo-branches__intro h2 {
    margin: 0 0 20px;
    color: var(--darkgrey, #888888);
    font-family: "Roboto    ", sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
}
.geo-branches__intro p {
    max-width: 800px;
    margin: 0;
    color: #666;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}


/* =====================================================
   GRID
===================================================== */

.geo-branches__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* =====================================================
   KACHEL
===================================================== */

.geo-branch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 300px;
    padding: 28px 25px;
    background: var(--white, #fff);
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    color: var(--black, #2d2d2d);
    text-decoration: none;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* Orange Akzentlinie */

.geo-branch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--orange, #ef6c00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}


/* Nummer / Kategorie */

.geo-branch-card__number {
    color: #999;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    margin-bottom: 25px;
}


/* ICON */

.geo-branch-card__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.geo-branch-card__icon img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    transition: none;
}


/* HEADLINE */

.geo-branch-card h3 {
    margin: 0 0 14px;
    color: var(--black, #2d2d2d);
    font-family: "Roboto    ", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}


/* TEXT */

.geo-branch-card p {
    margin: 0 0 25px;
    color: #6c6c6c;
    font-size: 14px;
    line-height: 1.65;
}


/* LINK */

.geo-branch-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: var(--orange, #ef6c00);
    font-size: 13px;
    font-weight: 700;
}


.geo-branch-card__link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    font-size: 17px;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

/* =====================================================
   HOVER
===================================================== */

@media (hover: hover) {

    /* Kachel hebt sich leicht an */

    .geo-branch-card:hover {
        transform: translateY(-6px);
        border-color: #dedede;

        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.08);
    }

    /* Orange Akzentlinie oben */

    .geo-branch-card:hover::before {
        transform: scaleX(1);
    }

    /* Pfeil bekommt weiterhin den Hover-Effekt */

    .geo-branch-card:hover .geo-branch-card__link span {
        transform: translate(2px, -2px);
        background: var(--orange, #ef6c00);
        color: #fff;
    }

}

/* KEYBOARD */

.geo-branch-card:focus-visible {
    outline: 2px solid var(--orange, #ef6c00);
    outline-offset: 4px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

    .geo-branches__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .geo-branch-card {
        min-height: 270px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .geo-branches {
        padding: 60px 0 70px;
    }
    .geo-branches__intro {
        margin-bottom: 30px;
    }
    .geo-branches__intro p {
        font-size: 16px;
    }
    .geo-branches__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .geo-branch-card {
        min-height: 0;
        padding: 25px;
    }
    .geo-branch-card__number {
        margin-bottom: 15px;
    }
    .geo-branch-card__icon {
        margin-bottom: 15px;
    }
    .geo-branch-card p {
        margin-bottom: 20px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .geo-branch-card,
    .geo-branch-card::before,
    .geo-branch-card__icon,
    .geo-branch-card__link span {
        transition: none;
    }

}

/* FAQ: editorial accordion */
.faq details { border-bottom: 1px solid #dedede; background: var(--white); }
.faq details:first-of-type { border-top: 1px solid #dedede; }
.faq summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--black); font: 600 16px/1.5 var(--font-heading); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--orange); font: 400 28px/1 var(--font-body); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 950px; padding: 0 50px 20px 0; margin: 0; }

/* Closing CTA – deliberately stronger visual finish */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #191919;
  color: #ededed;
  text-align: center;
  padding: clamp(92px, 9vw, 145px) 0 !important;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: min(760px, 75%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(239,108,0,.8), transparent);
}
.cta .wrap { position: relative; }
.cta-kicker::before, .cta-kicker::after { content: ""; width: 23px; height: 1px; background: var(--orange); }
.cta h2 {
  max-width: 930px;
  margin: 0 auto 26px;
  color: var(--white);
  font-size: clamp(33px, 4.1vw, 61px);
  line-height: 1.17;
  letter-spacing: -.035em;
}
.cta h2 span { color: #ff8a27; }
.cta p:not(.cta-kicker) {
  max-width: 690px;
  margin: 0 auto;
  color: #d7d7d7;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
}
.cta .actions { justify-content: center; gap: 16px; margin-top: 36px; }
.cta .btn { min-height: 54px; padding: 15px 30px; font-size: 15px; }
.cta .btn-ghost { border-color: rgba(255,255,255,.78); }

/* Footer */
.site-footer { background: var(--lightgrey); padding: 34px 0; border-top: 1px solid var(--line); color: var(--darkgrey); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #666; }
.site-footer a:hover { color: var(--orange); }

/* Pages sharing the same stylesheet (imprint / privacy) */
.legal { padding: 70px 0; }
.legal .wrap { max-width: 1050px; }
.legal h1 { font-size: clamp(30px, 3vw, 43px); }
.legal h2 { margin-top: 45px; font-size: 24px; }
.legal h3 { margin-top: 25px; }
.legal address { font-style: normal; }

@media (max-width: 1050px) {
  :root { --gutter: 32px; }
  .site-header > .wrap { min-height: 79px; gap: 15px; }
  .nav { gap: 14px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gutter: 22px; }
  .site-header > .wrap { padding-block: 17px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .brand { font-size: 23px; }
  .nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; }
  .nav > a:not(.btn) { font-size: 13px; }
  .nav .btn-small { margin-left: auto; }
  .hero { padding-block: 60px 65px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid { gap: 15px; }
  .card { padding: 24px; }
  .section-head { margin-bottom: 28px; }
  .site-footer .wrap { align-items: flex-start; }
}
@media (max-width: 440px) {
  .cta .actions .btn { width: 100%; }
  .cta::before { display: none; }
  :root { --gutter: 18px; }
  .nav .btn-small { margin-left: 0; }
  .nav { column-gap: 15px; }
  .hero .actions .btn { width: 100%; }
  .engines { margin-top: 30px; }
  .faq summary { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav > a { transition: none; }
}

/* =====================================================
   HEADER – SCROLL-SHRINK + LOGOWECHSEL
===================================================== */

.site-header {
    transition: box-shadow 0.35s ease;
}

.site-header > .wrap {
    min-height: 108px;

    transition:
        min-height 0.35s ease,
        padding 0.35s ease;
}


/* LOGO */

.site-header .brand {
    display: flex;
    align-items: center;

    position: relative;
    flex: 0 0 auto;

    width: 210px;
    height: 100px;

    transition:
        width 0.35s ease,
        height 0.35s ease;
}

.site-header .brand img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* DESKTOP LOGO */

.site-header .brand__desktop {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


/* KOMPAKTES LOGO */

.site-header .brand__compact {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


/* =====================================================
   HEADER NACH DEM SCROLLEN
===================================================== */

.site-header.is-scrolled {
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.09);
}

.site-header.is-scrolled > .wrap {
    min-height: 65px;
}

.site-header.is-scrolled .brand {
    width: 145px;
    height: 55px;
}


/* Grosses Logo ausblenden */

.site-header.is-scrolled .brand__desktop,
.site-header:not(.is-scrolled) .brand__compact {
    opacity: 0;
    visibility: hidden;
}


/* Kompaktes Logo einblenden */

.site-header.is-scrolled .brand__compact {
    opacity: 1;
    visibility: visible;
}


/* =====================================================
   FAQ – WEICHES AUF- UND ZUKLAPPEN
===================================================== */

.faq details {
    overflow: hidden;
}

.faq summary {
    transition:
        color 0.25s ease;
}

.faq summary:hover {
    color: var(--orange);
}

.faq summary::after {
    transition:
        color 0.25s ease,
        transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: rotate(180deg);
}


/* =====================================================
   LOGO – EINDEUTIGE SICHTBARKEITSZUSTÄNDE
===================================================== */

.site-header .brand {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 210px;
    height: 100px;

    transition:
        width 0.3s ease,
        height 0.3s ease;
}

.site-header .brand img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Großes Logo */

.site-header .brand__desktop {
    opacity: 1;
    visibility: visible;
}

/* Kompaktes Logo zunächst ausgeblendet */

.site-header .brand__compact {
    opacity: 0;
    visibility: hidden;
}

/* Kleiner Header */

.site-header.is-scrolled .brand {
    width: 145px;
    height: 55px;
}

.site-header.is-scrolled .brand__desktop {
    opacity: 0;
    visibility: hidden;
}

.site-header.is-scrolled .brand__compact {
    opacity: 1;
    visibility: visible;
}

/* Absichtlich keine Opacity-Transition:
   Logo-Wechsel erfolgt eindeutig statt über Kreuzblenden. */

.site-header .brand__desktop,
.site-header .brand__compact {
    transition: none;
}


/* =====================================================
   IMPRESSUM / RECHTLICHE UNTERSEITEN
===================================================== */

/* Gleiche Außenbreite wie auf der Startseite */

.legal {
    width: 100%;
    padding: 90px 0 110px;
    background: var(--white, #ffffff);
}

.legal .wrap {
    width: 100%;
    max-width: var(--max, 1440px);
    margin: 0 auto;
    padding-inline: var(--gutter, 50px);
}


/* =====================================================
   TYPOGRAFIE
===================================================== */

.legal h1 {
    margin: 0 0 55px;

    font-family: "Roboto    ", sans-serif;
    font-size: clamp(32px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.2;

    color: #666666;
}

.legal h2 {
    margin: 0 0 18px;

    font-family: "Roboto    ", sans-serif;
    font-size: clamp(19px, 1.6vw, 24px);
    font-weight: 700;
    line-height: 1.35;

    color: #666666;
}

.legal p,
.legal address {
    margin: 0;

    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.8;

    color: var(--text, #686868);
}

.legal address {
    font-style: normal;
}

.legal strong {
    font-weight: 700;
}


/* =====================================================
   ABSCHNITTE
===================================================== */

.legal section {
    margin-bottom: 48px;
    padding: 0;
}

.legal section:last-child {
    margin-bottom: 0;
}


/* Lesbare Textbreite, ohne den Container einzurücken */

.legal section p,
.legal section address {
    max-width: 1050px;
}


/* LINKS */

.legal a {
    color: var(--orange, #ef6c00);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal a:hover {
    color: var(--orange-dark, #cc5900);
}


/* =====================================================
   HEADER – AUF ALLEN SEITEN GLEICHE DARSTELLUNG
===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;

    transition: box-shadow 0.3s ease;
}

.site-header > .wrap {
    min-height: 108px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    transition: min-height 0.35s ease;
}


/* Logo-Container */

.site-header .brand {
    position: relative;
    display: block;

    flex: 0 0 auto;

    width: 210px;
    height: 100px;

    transition:
        width 0.35s ease,
        height 0.35s ease;
}


/* Beide Logos exakt übereinander */

.site-header .brand img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* Großes Logo sichtbar */

.site-header .brand__desktop {
    opacity: 1;
    visibility: visible;
}


/* Kompaktes Logo unsichtbar */

.site-header .brand__compact {
    opacity: 0;
    visibility: hidden;
}


/* =====================================================
   HEADER NACH DEM SCROLLEN
===================================================== */

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
}

.site-header.is-scrolled > .wrap {
    min-height: 65px;
}

.site-header.is-scrolled .brand {
    width: 145px;
    height: 55px;
}

.site-header.is-scrolled .brand__desktop {
    opacity: 0;
    visibility: hidden;
}

.site-header.is-scrolled .brand__compact {
    opacity: 1;
    visibility: visible;
}


/* Kein Flackern beim Logowechsel */

.site-header .brand__desktop,
.site-header .brand__compact {
    transition: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1050px) {

    .legal {
        padding: 70px 0 90px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .legal {
        padding: 55px 0 75px;
    }

    .legal h1 {
        margin-bottom: 35px;
    }

    .legal section {
        margin-bottom: 35px;
    }

    .site-header .brand {
        width: 155px;
        height: 75px;
    }

    .site-header.is-scrolled .brand {
        width: 125px;
        height: 45px;
    }

    .site-header.is-scrolled > .wrap {
        padding-block: 8px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .site-header,
    .site-header > .wrap,
    .site-header .brand {
        transition: none;
    }

}


/* =====================================================
   DATENSCHUTZERKLÄRUNG
===================================================== */

.legal--privacy section {
    margin-bottom: 50px;
}


/* TEXTABSÄTZE */

.legal--privacy section p {
    max-width: 1050px;
    margin-bottom: 18px;
}

.legal--privacy section p:last-child {
    margin-bottom: 0;
}


/* ADRESSBLOCK */

.legal--privacy address {
    margin-bottom: 22px;
}


/* AUFZÄHLUNGEN */

.legal--privacy ul {
    max-width: 1050px;

    margin: 20px 0 25px;
    padding-left: 24px;

    list-style-type: disc;
}

.legal--privacy ul li {
    padding-left: 5px;
    margin-bottom: 9px;

    color: var(--text, #686868);

    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.legal--privacy ul li::marker {
    color: var(--orange, #ef6c00);
}


/* STAND DER DATENSCHUTZERKLÄRUNG */

.legal--privacy .legal__updated {
    max-width: 1050px;

    margin-top: 55px;
    padding-top: 20px;

    border-top: 1px solid #e7e7e7;

    color: var(--darkgrey, #888888);

    font-size: 14px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .legal--privacy section {
        margin-bottom: 38px;
    }

    .legal--privacy ul {
        padding-left: 20px;
    }

    .legal--privacy ul li {
        padding-left: 3px;
        margin-bottom: 10px;
    }

    .legal--privacy .legal__updated {
        margin-top: 40px;
    }

}

