/* =====================================================================
   AURORA HAUSTECHNIK – Foto-Look v3 (05.11.2026)
   Vorbild sind die eigenen Fotos: warmes Weiß, Steingrau, Marine wie die
   Arbeitskleidung, ruhige Schrift wie im Logo, große Bilder, weiche Rundungen.
   Haustechnik-Blau bleibt als Akzent (Hervorhebung, Linien, Links).
   Lädt nach v2.css und überschreibt nur, was sich ändert.
   ===================================================================== */

:root {
    --navy: #17263A;
    --navy-deep: #0F1B2B;
    --ink: #1F2A36;
    --muted: #5F6770;
    --line: #E6E2DC;
    --bg-alt: #F5F3EF;
    --bg-warm: #F7F6F3;
    --stone: #ECE9E4;
    --radius: 20px;
    --radius-img: 22px;
    --shadow-sm: 0 1px 2px rgba(23,38,58,.05);
    --shadow: 0 10px 30px rgba(23,38,58,.07);
    --shadow-lg: 0 24px 60px rgba(23,38,58,.11);
    /* Alt-Tokens aus style.css */
    --dark: #17263A;
    --dark-lighter: #1F2A36;
    --light-bg: #F5F3EF;
    --text-dark: #1F2A36;
    --text-secondary: #5F6770;
}

/* ---------- Schrift: leichter, wie im Logo ---------- */
h1, h2 { font-weight: 500; letter-spacing: -0.025em; }
h1 { line-height: 1.06; }
h3, h4 { font-weight: 600; }
.kicker, .section-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-weight: 600; font-size: 0.74rem; letter-spacing: 0.24em; color: var(--muted);
}
.kicker::before, .section-label::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--blue); flex-shrink: 0; }
.section-head.center .kicker { justify-content: center; }

/* ---------- Buttons: Marine statt Leuchtblau, rund ---------- */
.btn, .btn-primary, .btn-outline, .btn-notdienst, .btn-angebot, .btn-submit { border-radius: 999px; font-weight: 600; letter-spacing: 0.01em; }
.btn-blue, .btn-primary, .btn-angebot, .btn-submit { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: none; }
.btn-blue:hover, .btn-primary:hover, .btn-angebot:hover, .btn-submit:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost, .btn-outline { background: transparent; border: 1.5px solid #CFC9C1; color: var(--navy); }
.btn-ghost:hover, .btn-outline:hover { background: #fff; border-color: var(--navy); }
.btn-white:hover { background: var(--stone); border-color: var(--stone); }
.text-link { font-family: var(--font-head); font-weight: 600; color: var(--navy); border-bottom: 1.5px solid var(--blue); padding-bottom: 2px; }
.text-link:hover { color: var(--blue-dark); }

/* ---------- Kopfbereich Startseite: Text + Video ---------- */
.hero-v3 { background: var(--bg-warm); }
.hero-v3::before, .hero-v3::after { content: none; }
.hero-v3 .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(110px, 10vw, 150px); }
.hero-v3 .lede strong { color: var(--navy); font-weight: 600; }
.hero-v3 .trust-row li { font-weight: 500; }
.hero-film { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); }
.hero-film::before { content: ''; position: absolute; inset: 36px -28px 44px 36px; border-radius: 36px; background: var(--stone); z-index: 0; }
.film-frame { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; background: var(--stone); box-shadow: var(--shadow-lg); }
.hero-video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; cursor: pointer; }
.film-ctrl { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.film-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 999px;
    background: rgba(255,255,255,.88); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 0.86rem;
    cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s;
}
.film-btn:hover { background: #fff; }
.film-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.film-toggle::before { content: ''; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.film-frame.is-playing .film-toggle::before { width: 9px; height: 11px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hero-film figcaption { position: relative; z-index: 1; margin-top: 14px; font-size: 0.86rem; color: var(--muted); }

/* ---------- Schnellzugriff-Kacheln ---------- */
.tiles-grid { border-radius: 22px; border-color: var(--line); box-shadow: var(--shadow); }
.tile { background: var(--bg-alt); border-radius: 14px; font-weight: 600; }
.tile:hover { background: var(--navy); color: #fff; }

/* ---------- Rückruf-Block ---------- */
.callback-band { padding: clamp(48px, 6vw, 80px) 0 0; scroll-margin-top: calc(var(--header-height) + 12px); }
.callback-card {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px);
    padding: clamp(28px, 4vw, 52px); background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow);
}
.callback-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.callback-head p { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 24em; }
.callback-card .lead-short { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; align-items: start; }
.callback-card .consent, .callback-card .form-error, .callback-card .reach, .callback-card .field:has(select) { grid-column: 1 / -1; }
.callback-card .reach { margin-bottom: 14px; }
.callback-card .form-foot { align-self: center; margin: 0; font-size: 0.86rem; color: var(--muted); }
.field input, .field select { border-width: 1.5px; border-radius: 12px; }
.field input:focus, .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,174,232,.14); }

/* ---------- Marken ---------- */
.brand-track span { font-weight: 600; color: #BEB8AF; }

/* ---------- Leistungen als Bildkacheln ---------- */
.stile { border-radius: var(--radius-img); }
.stile::after { background: linear-gradient(180deg, rgba(23,38,58,0) 35%, rgba(23,38,58,.86) 100%); }
.stile-text h3 { font-weight: 500; }

/* ---------- Büro & Gewerbe ---------- */
.gewerbe-band { background: var(--bg-alt); }
.gewerbe-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.gewerbe-copy h2 { margin-bottom: 18px; }
.gewerbe-copy > p { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin: 0 0 30px; }
.gewerbe-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.gewerbe-mosaic { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; }
.gewerbe-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
.gewerbe-mosaic .gm-tall { grid-row: 1 / 3; aspect-ratio: 4 / 5; }

/* ---------- Kennzahlen ---------- */
.stat-band { background: var(--navy); }
.stat { border-left-color: rgba(255,255,255,.14); }
.stat strong { color: #fff; font-weight: 500; }

/* ---------- Über uns ---------- */
.about-media img { border-radius: var(--radius-img); }
.about-badge { border-radius: 18px; }
.about-badge strong { color: var(--navy); font-weight: 500; }
.value .num { background: var(--stone); color: var(--navy); font-weight: 600; border-radius: 50%; }

/* ---------- Schritte, FAQ ---------- */
.step3 { border-radius: var(--radius); }
.step3 .n { font-weight: 400; color: var(--blue-dark); }
.faq-question { font-weight: 600; }
.faq-question i { color: var(--navy); }

/* ---------- Abschluss-Band ---------- */
.cta-band { background: var(--navy); }
.cta-band p { color: rgba(255,255,255,.78); }

/* ---------- Unterseiten ---------- */
.page-hero, .page-hero.hero-plain { background: var(--bg-warm); }
.page-hero h1 { font-weight: 500; }
.page-hero .breadcrumb a { color: var(--blue-dark); }
.page-hero-overlay { background: linear-gradient(90deg, rgba(23,38,58,.92) 0%, rgba(23,38,58,.74) 48%, rgba(23,38,58,.22) 100%); }
.praxis-strip { padding: var(--section) 0; background: var(--bg-alt); }
.praxis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.praxis-grid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }

/* ---------- Mobile Schnellleiste ---------- */
@media (max-width: 768px) {
    .mobile-cta .mc-offer { background: var(--navy); border-color: var(--navy); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-v3 .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-film { justify-self: start; width: min(100%, 520px); }
    .hero-film::before { inset: 28px -16px 40px 28px; }
    .hero-video { aspect-ratio: 4 / 5; }
    .callback-card { grid-template-columns: minmax(0, 1fr); }
    .gewerbe-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .hero-film::before { display: none; }
    .film-frame { border-radius: 22px; }
    .callback-card { padding: 24px 20px; border-radius: 22px; }
    .callback-card .lead-short { grid-template-columns: minmax(0, 1fr); }
    .callback-card .form-foot { text-align: center; margin-top: 12px; }
    .gewerbe-mosaic { gap: 10px; }
    .praxis-grid { grid-template-columns: repeat(3, minmax(64%, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .praxis-grid img { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
    .brand-track { animation: none; }
}

/* ---------- Download-Kasten für die PDF-Broschüren (18.11.2026) ---------- */
.dl-box { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; background: var(--bg-alt); border-radius: var(--radius); padding: 22px; margin: 28px 0; }
.dl-thumb img { display: block; width: 112px; height: auto; border-radius: 6px; box-shadow: 0 6px 18px rgba(23,38,58,.16); transition: transform .2s; }
.dl-thumb:hover img { transform: translateY(-2px); }
.dl-kicker { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dl-text h3 { margin: 0 0 6px; font-size: 1.2rem; }
.dl-text p { color: var(--muted); margin: 0 0 14px; font-size: 0.98rem; }
.dl-text .btn { padding: 11px 20px; font-size: 0.95rem; }
.dl-meta { display: inline-block; margin-left: 14px; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 520px) {
    .dl-box { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 18px; }
    .dl-thumb img { width: 80px; }
    .dl-meta { display: block; margin: 8px 0 0; }
}

/* ---------- Knöpfe auf dunklem Grund (Fehler seit Foto-Look 05.11.: Marine-Knöpfe waren auf Marine unsichtbar) ----------
   Seitenkasten der Leistungsseiten, Abschluss-Band der Unterseiten, Seitenkopf mit Foto */
.sidebar-cta .btn-primary, .cta-section .btn-primary, .page-hero[style*="background"] .btn-primary {
    background: #fff; border-color: #fff; color: var(--navy);
}
.sidebar-cta .btn-primary:hover, .cta-section .btn-primary:hover, .page-hero[style*="background"] .btn-primary:hover {
    background: var(--stone); border-color: var(--stone); color: var(--navy);
}
.sidebar-cta .btn-outline, .cta-section .btn-outline, .page-hero[style*="background"] .btn-outline,
.page-hero[style*="background"] .btn-primary[style*="transparent"], .cta-section .btn-primary[href^="tel:"] {
    background: transparent !important; border: 1.5px solid rgba(255,255,255,.6) !important; color: #fff;
}
.sidebar-cta .btn-outline:hover, .cta-section .btn-outline:hover, .page-hero[style*="background"] .btn-outline:hover,
.page-hero[style*="background"] .btn-primary[style*="transparent"]:hover, .cta-section .btn-primary[href^="tel:"]:hover {
    background: rgba(255,255,255,.12) !important; border-color: #fff !important; color: #fff;
}

/* ---------- Planung im Haus: Aurora Engineering (19.11.2026) ---------- */
.eng-band { background: #fff; }
.eng-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.eng-media { position: relative; margin: 0; }
.eng-media > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.eng-logo { position: absolute; left: 22px; right: 22px; bottom: 22px; background: rgba(255,255,255,.94); border-radius: 16px; padding: 16px 22px; box-shadow: var(--shadow); display: block; }
.eng-logo img { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
.eng-copy h2 { margin-bottom: 18px; }
.eng-copy h2 em { font-style: normal; color: var(--blue-dark); }
.eng-lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.eng-points { display: grid; gap: 18px; margin-bottom: 24px; }
.eng-point { padding-left: 18px; border-left: 2px solid var(--blue); }
.eng-point h3 { font-size: 1.15rem; margin-bottom: 4px; }
.eng-point p { margin: 0; color: var(--muted); }
.eng-cred { font-size: 0.92rem; color: var(--muted); margin: 0 0 24px; max-width: 36em; }
@media (max-width: 1024px) {
    .eng-split { grid-template-columns: minmax(0, 1fr); }
    .eng-media { max-width: 520px; }
}

/* ---------- Einzugsgebiet und Ortsseiten (20.11.2026) ---------- */
.ort-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ort-card { display: grid; gap: 2px; padding: 18px 20px; background: var(--bg-alt); border-radius: 16px; color: var(--ink); transition: background .2s, transform .2s; }
.ort-card strong { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--navy); }
.ort-card span { color: var(--muted); font-size: 0.95rem; }
.ort-card small { color: var(--blue-dark); font-weight: 600; font-size: 0.85rem; }
.ort-card:hover { background: var(--stone); transform: translateY(-2px); }
.chip-link { text-decoration: none; border-color: var(--navy); color: var(--navy); font-weight: 600; }
.chip-link:hover { background: var(--navy); color: #fff; }
.einzug-more { margin-top: 18px; }
.einzug-more a { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--blue); padding-bottom: 2px; }
.ort-hero .ort-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ort-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ort-col h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.ort-col .mt-section { margin-top: 48px; }
.ort-col > p { color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.ort-facts { width: 100%; border-collapse: collapse; }
.ort-facts th, .ort-facts td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); hyphens: auto; overflow-wrap: anywhere; }
.ort-facts th { width: 34%; padding-right: 18px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.ort-facts td { color: var(--muted); }
.ort-beispiel { margin-top: 40px; background: var(--bg-alt); border-radius: var(--radius); padding: 26px 28px; }
.ort-label { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy); background: var(--stone); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.ort-beispiel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.ort-b-haus { color: var(--muted); margin-bottom: 14px; }
.ort-b-table { width: 100%; border-collapse: collapse; }
.ort-b-table th, .ort-b-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.ort-b-table td { text-align: right; font-family: var(--font-head); font-weight: 600; color: var(--navy); white-space: nowrap; padding-left: 16px; }
.ort-b-table th { color: var(--muted); hyphens: auto; overflow-wrap: anywhere; }
.ort-b-table tr.vorschlag td { white-space: normal; min-width: 55%; }
.ort-b-table tr.sum th { color: var(--navy); font-weight: 600; }
.ort-b-table tr.sum td { color: var(--blue-dark); }
.ort-b-note { font-size: 0.86rem; color: var(--muted); margin: 14px 0 0; }
.ort-stadtteile { display: flex; flex-wrap: wrap; gap: 8px; }
.ort-stadtteile span { background: var(--bg-alt); border-radius: 999px; padding: 6px 14px; font-size: 0.92rem; color: var(--ink); }
.ort-quellen { margin-top: 36px; font-size: 0.85rem; color: var(--muted); }
.ort-quellen a { color: var(--blue-dark); }
.ort-aside { position: sticky; top: calc(var(--header-height) + 20px); display: grid; gap: 20px; }
.ort-links { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.ort-links h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ort-links a { color: var(--navy); font-weight: 500; }
.ort-links a:hover { color: var(--blue-dark); }
@media (max-width: 1024px) { .ort-grid { grid-template-columns: minmax(0, 1fr); } .ort-aside { position: static; } .ort-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ort-cards { grid-template-columns: minmax(0, 1fr); } .ort-facts th { width: 40%; } .ort-beispiel { padding: 22px 18px; } .ort-b-table td { padding-left: 10px; } }
