/* ==========================================================
   FEROX Codes – Stylesheet (mobile first)
   ========================================================== */

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/montserrat-600-800-latin.woff2") format("woff2");
    font-weight: 600 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Sans";
    src: url("../fonts/instrument-sans-400-700-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

/* Dunkles Design wie die alte Seite: fast schwarz, Orange als Akzent */
:root {
    --bg: #0e0f11;
    --bg-2: #151b21;          /* Abschnitte, Karten */
    --bg-3: #1d242c;          /* Karten auf --bg-2 */
    --accent: #ff4500;        /* FEROX-Orange */
    --accent-dark: #d85927;
    --accent-text: #ff6a33;   /* Orange für Text auf Dunkel (Kontrast) */
    --head: #ffffff;
    --text: #c9ccd1;
    --muted: #9aa0a8;
    --line: rgba(255,255,255,.12);
    --white: #fff;

    --font-head: "Montserrat", "Arial Black", Arial, sans-serif;
    --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 12px 34px rgba(0, 0, 0, .35);
    --container: 1200px;
    --gutter: 16px;
    --section: 64px;
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --section: 96px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: .18em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--head);
    line-height: 1.12;
    margin: 0 0 .5em;
    font-weight: 800;
    letter-spacing: -.01em;
    hyphens: manual;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 6.4vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }

.eyebrow {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: .75em;
}
.lead { font-size: 1.15rem; color: var(--text); max-width: 46em; }
.muted { color: var(--muted); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .85em 1.5em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--light { background: #fff; color: #111; }
.btn--light:hover { background: #ffe3d6; color: #111; }
.btn--ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn--ghost:hover { color: var(--accent-text); }
.btn--ghost-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Header ---------- */
.site-header { background: rgba(14,15,17,.94); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.site-logo img { width: 130px; height: auto; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s;
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { width: 100%; padding-bottom: 12px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav li a {
    display: block; padding: 12px 0; text-decoration: none; color: #fff; font-weight: 600; border-bottom: 1px solid var(--line);
}
.site-nav a[aria-current="page"], .site-nav a.is-active { color: var(--accent-text); }
.site-nav__cta { margin-top: 14px; width: 100%; }

/* Untermenü: mobil per Pfeil-Button aufklappbar, Desktop bei Hover/Fokus */
.sub-toggle {
    position: absolute; right: 0; top: 2px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: #fff;
}
.sub-toggle::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); margin-top: -2px; }
.sub-nav { display: none; padding-left: 16px !important; }
.has-sub.is-open > .sub-nav { display: block; }
.sub-nav a { font-weight: 400 !important; }
html:not(.js) .sub-nav { display: block; }
html:not(.js) .sub-toggle { display: none; }

/* Ohne JS bleibt das Menü sichtbar; mit JS wird es mobil eingeklappt */
.js .nav-toggle { display: block; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

@media (min-width: 1040px) {
    .site-logo img { width: 150px; }
    .js .nav-toggle { display: none; }
    .site-nav, .js .site-nav { display: flex; align-items: center; gap: 28px; width: auto; padding: 0; }
    .site-nav > ul { display: flex; gap: 26px; }
    .site-nav li a { border: 0; padding: 8px 0; position: relative; }
    .site-nav > ul > li > a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent);
        transform: scaleX(0); transition: transform .2s;
    }
    .site-nav > ul > li > a:hover::after, .site-nav > ul > li > a[aria-current="page"]::after, .site-nav > ul > li > a.is-active::after { transform: scaleX(1); }
    .site-nav__cta { margin: 0; width: auto; }
    .has-sub > a { padding-right: 18px !important; }
    .sub-toggle { width: 18px; height: 30px; top: 4px; right: -4px; pointer-events: none; }
    .sub-toggle::before { width: 7px; height: 7px; margin: -6px 0 0 -4px; }
    .sub-nav, html:not(.js) .sub-nav {
        display: block; position: absolute; left: -18px; top: 100%; min-width: 260px; padding: 10px 0 !important;
        background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
    }
    .has-sub:hover > .sub-nav, .has-sub:focus-within > .sub-nav { opacity: 1; visibility: visible; transform: none; }
    .sub-nav a { padding: 8px 18px !important; }
    .sub-nav a:hover { background: var(--bg-3); color: var(--accent-text); }
}

.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--bg); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(14,15,17,.35) 0%, rgba(14,15,17,.6) 55%, rgba(14,15,17,1) 100%);
}
.hero__inner { padding-top: 96px; padding-bottom: 72px; min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero h1 { color: #fff; max-width: 14em; }
.hero .eyebrow { color: var(--accent-text); }
.hero .breadcrumb, .hero .breadcrumb a { color: rgba(255,255,255,.75); }
.hero p { font-size: 1.15rem; max-width: 36em; color: rgba(255,255,255,.92); }
.hero--compact .hero__inner { min-height: 46vh; padding-top: 72px; padding-bottom: 48px; }
.hero__badge {
    display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: .9rem;
    padding: .4em .9em; border-radius: 999px; margin-bottom: 1em;
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tint { background: var(--bg-2); }
.section--cta { padding-top: 0; }
.section__head { max-width: 46em; margin-bottom: 40px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: 64px; }
    .split--reverse > :first-child { order: 2; }
}
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded img { width: 100%; height: 100%; object-fit: cover; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic > * { border-radius: var(--radius); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.mosaic > :first-child { grid-column: span 2; }
.mosaic > :first-child img { aspect-ratio: 16 / 10; }

.checklist { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--text); }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Fakten-Leiste */
.facts { display: grid; gap: 16px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.fact h3 { margin-bottom: .3em; }
.fact p { margin: 0; }

/* Karten */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--3, .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; }
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card--media .card__body { padding: 22px 24px 26px; }
.card__icon {
    width: 46px; height: 46px; border-radius: 12px; background: rgba(255,69,0,.14); color: var(--accent-text);
    display: grid; place-items: center; margin-bottom: 14px;
}
.card__icon svg { width: 24px; height: 24px; }

/* Eventbereiche */
.areas { display: grid; gap: 28px; }
.area { display: grid; gap: 20px; align-items: center; }
.area__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area__media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
    .area { grid-template-columns: 1fr 1.1fr; gap: 56px; }
    .area:nth-child(even) .area__text { order: 2; }
}

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before {
    content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 2.4rem;
    font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; }

/* Preise */
.prices { display: grid; gap: 20px; }
@media (min-width: 800px) { .prices { grid-template-columns: repeat(2, 1fr); } }
.price-card { border-radius: var(--radius); padding: 28px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card--featured { border: 2px solid var(--accent); }
.price-card__badge { display: inline-block; align-self: flex-start; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; margin-bottom: 10px; }
.price-card--featured h3, .price-card--featured .price { color: #fff; }
.price { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.1; margin: .2em 0 .6em; }
.price small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; }
.price-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.price-table th, .price-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: #fff; }

/* Partner */
.partners { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .partners { grid-template-columns: repeat(5, 1fr); } }
.partners a, .partners span {
    display: grid; place-items: center; height: 120px; padding: 18px; background: #fff; border-radius: var(--radius-sm);
    border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.partners a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.partners img { max-height: 76px; width: auto; object-fit: contain; }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
    border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
.lightbox::backdrop { background: rgba(10, 16, 28, .92); }
.lightbox__figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 12px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; }
.lightbox__caption { color: #fff; text-align: center; font-size: .95rem; margin-top: 10px; }
.lightbox__btn {
    position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary {
    cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
    font-weight: 700; color: #fff; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__answer { padding: 0 22px 18px; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }

/* Kundenstimmen */
.quotes { display: grid; gap: 20px; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; background: var(--bg-3); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote figcaption strong { display: block; color: #fff; }
.quote figcaption span { font-size: .9rem; color: var(--muted); }

/* CTA-Band */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #c83600 100%); color: #fff; border-radius: var(--radius); padding: 40px 28px; display: grid; gap: 16px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.6fr auto; padding: 56px; } }

/* Kontakt */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; } }
.contact-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-box h2 { font-size: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 14px; }
.contact-list strong { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 700; }
.map { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.map img { width: 100%; }
.map span {
    position: absolute; left: 12px; bottom: 12px; background: #fff; color: #111; font-weight: 700; font-size: .9rem;
    padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.map-credit { font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* iFrame-Einbettungen */
.embed { max-width: 820px; margin: 0 auto; }
.embed--wide { max-width: 1000px; }
.embed__frame { width: 100%; border: 0; display: block; background: #fff; border-radius: var(--radius-sm); }
.embed__fallback { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 16px; }

/* Rechtstexte */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.placeholder {
    border: 2px dashed #d9a441; background: #fff8e8; border-radius: var(--radius-sm); padding: 20px 22px; color: #6b4e12;
}

/* ---------- Footer ---------- */
.site-footer { background: #08090a; border-top: 1px solid var(--line); color: rgba(255,255,255,.78); padding-top: 64px; font-size: .97rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__brand img { width: 180px; margin-bottom: 16px; }
.site-footer__title { font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; padding-bottom: 28px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem;
}
.site-footer__bottom p { margin: 0; }

/* Seitenkopf ohne Bild (Formular- und Rechtsseiten) */
.page-head { background: var(--bg-2); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .3em; }
.page-head p { max-width: 46em; font-size: 1.1rem; }
.page-body { padding: 48px 0 var(--section); }
.aside-contact { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-top: 32px; font-weight: 700; }
.contact-photo { margin: 18px 0 0; }
.contact-photo img { border-radius: var(--radius-sm); width: 100%; }
.logo-trenner { height: 1px; background: var(--line); margin: 56px 0; }

/* ---------- FEROX-Ergänzungen ---------- */
.card--link { padding: 0; transition: border-color .2s, transform .2s; }
.card--link a { display: flex; flex-direction: column; height: 100%; padding: 24px; color: var(--text); text-decoration: none; }
.card--link h3 { color: #fff; }
.card--link p { margin-bottom: 14px; }
.card--link:hover { border-color: var(--accent); transform: translateY(-2px); }
.card__more { margin-top: auto; font-weight: 700; color: var(--accent-text); font-size: .95rem; }
.card__more::after { content: " →"; }
ul.cards { list-style: none; padding: 0; margin: 0; }

.format-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .format-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .format-grid { grid-template-columns: repeat(3, 1fr); } }
.format-tile a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; min-height: 260px; }
.format-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.format-tile a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,15,17,0) 30%, rgba(14,15,17,.85) 100%); }
.format-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.format-tile h3 { margin-bottom: .3em; }
.format-tile p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.85); }
.format-tile a:hover img { transform: scale(1.05); }
.format-tile a:hover h3 { color: var(--accent-text); }

.content-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.content-main { max-width: 760px; }
.content-main h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.content-main h2:first-child { margin-top: 0; }
.aside-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-box + .aside-box { margin-top: 20px; }
.aside-box h2 { font-size: 1.15rem; }
.aside-box ul { margin: 0; }
@media (min-width: 960px) { .content-aside { position: sticky; top: 96px; } }
.link-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.link-list a { text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

.bereich { margin-bottom: 56px; }
.bereich:last-child { margin-bottom: 0; }
.bereich__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.bereich__head p { margin: 0; color: var(--muted); max-width: 46em; }
.tag-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line); border-radius: 999px; padding: .3em .9em; font-size: .9rem; color: var(--muted); }

.hero--home .hero__inner { min-height: min(86vh, 820px); }
.hero--home h1 { max-width: 16em; }
.rotator { color: var(--accent-text); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ticker__track { display: inline-block; animation: ticker 60s linear infinite; }
.ticker__track span::after { content: "•"; color: var(--accent); margin: 0 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; white-space: normal; } }

.stat-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.25rem; }
.stat span { color: var(--muted); font-size: .95rem; }

.logo-img { max-width: 360px; margin-bottom: 20px; }
.notice { border-left: 4px solid var(--accent); background: var(--bg-2); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.placeholder { border-color: var(--accent); background: rgba(255,69,0,.08); color: var(--text); }
.prose h2, .prose h3 { text-transform: none; }
.notice--spaced { margin-top: 32px; }
.card h3 { hyphens: auto; }
.mt { margin-top: 20px; }

/* Termin-Buchung (HQ) bringt den dunklen Hintergrund selbst mit */
.embed__frame[src*="/link/termine/"] { background: transparent; }

/* ---------- FEROX Codes ---------- */
/* Hero ohne Foto: dunkles Raster mit orangem Schein (wie die alte Seite) */
.hero--code {
    background:
        radial-gradient(60% 80% at 85% 20%, rgba(255,69,0,.22), transparent 70%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
        var(--bg);
}
.hero--code::after { display: none; }
.hero--code .hero__inner { min-height: min(72vh, 680px); justify-content: center; }

.leistungen { display: grid; gap: 20px; }
@media (min-width: 800px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leistung { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; scroll-margin-top: 96px; }
.leistung h3 { color: #fff; }
.leistung .tag-list { margin-bottom: 18px; }
.leistung .card__more { margin-top: auto; text-decoration: none; }

.kunden-logos { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .kunden-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kunden-logos li { display: grid; place-items: center; height: 130px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.kunden-logos img { max-height: 80px; width: auto; object-fit: contain; }

.ref { display: grid; gap: 24px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.ref:last-child { border-bottom: 0; }
@media (min-width: 900px) { .ref { grid-template-columns: 1fr 1.3fr; gap: 56px; } .ref:nth-child(even) .ref__media { order: 2; } }
.ref__media { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); min-height: 220px; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.ref__media img { max-height: 140px; width: auto; }
.ref__media--shot { padding: 0; }
.ref__media--shot img { max-height: none; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref__meta { color: var(--muted); font-size: .95rem; margin-bottom: .6em; }
.jobs { display: grid; gap: 16px; }
.job { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.job h2 { font-size: 1.25rem; margin-bottom: .3em; }
.job p { margin: 0; color: var(--muted); }
.ref__badge { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; letter-spacing: -.01em; }
.ref__badge::before { content: "</"; color: var(--accent); margin-right: .15em; }
.ref__badge::after { content: ">"; color: var(--accent); margin-left: .1em; }
.ref__media:has(img + img) { gap: 24px; }
@media (min-width: 1000px) { .leistungen--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
