/* ==========================================================================
   Montagebetrieb Halva – globale Basis
   ========================================================================== */
:root {
  --ink: #343438;
  --ink-2: #45454a;
  --paper: #f6f4f0;
  --white: #fff;
  --gold: #b79058;
  --gold-light: #d0b284;
  --steel: #aeb3b5;
  --steel-light: #e5e7e6;
  --line: rgba(52, 52, 56, .16);
  --max: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
.page-top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 15px; transform: translateY(-160%); color: #fff; background: var(--ink); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
h1 { max-width: 720px; font-size: clamp(3.45rem, 7vw, 6.85rem); }
h1 em { display: block; color: var(--gold); font-weight: 400; }
h2 { font-size: clamp(2.65rem, 5vw, 4.75rem); }
h3 { line-height: 1.22; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; text-decoration: none; font-size: .83rem; font-weight: 700; letter-spacing: .055em; transition: background .25s, color .25s, border-color .25s, transform .25s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }
.btn-primary { color: #fff; background: var(--ink); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { color: #fff; background: var(--ink); }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(52,52,56,.12); background: rgba(246,244,240,.94); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 88px; align-items: center; gap: 32px; }
.brand { flex: 0 0 250px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 50px; flex: 0 0 auto; object-fit: contain; }
.brand-type { display: flex; min-width: 0; flex-direction: column; color: var(--ink); line-height: 1; }
.brand-type small { font-size: .67rem; letter-spacing: .055em; }
.brand-type strong { margin-top: 3px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: .08em; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); margin-left: auto; }
.main-nav a { position: relative; text-decoration: none; font-size: .83rem; font-weight: 700; }
.main-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--gold); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.header-call { min-height: 46px; padding-inline: 20px; }
.menu-toggle { display: none; }

/* Hero */
.hero { display: grid; align-items: center; padding: 120px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: 6vw; }
.lead { max-width: 660px; margin: 34px 0; color: #606065; font-size: clamp(1.05rem, 1.4vw, 1.24rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { margin: 52px 0 0; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.trust span { color: var(--gold); }
/* Leistungen */
.services { border-top: 1px solid var(--line); background: #efede8; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 66px; gap: 30px; }
.section-heading .eyebrow { min-width: 130px; margin-top: 12px; }
.section-heading h2 { width: 75%; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 250px; padding: 27px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .3s, color .3s, transform .3s; }
.service-card::after { position: absolute; right: -80px; bottom: -80px; width: 160px; height: 160px; border: 1px solid var(--steel); border-radius: 50%; content: ""; transition: transform .35s; }
.service-card span { position: relative; z-index: 3; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.service-card h3 { position: relative; z-index: 3; margin: 78px 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.service-icon { position: absolute; z-index: 1; top: 18px; right: 16px; width: 104px; height: 104px; object-fit: contain; opacity: .6; pointer-events: none; transition: opacity .35s ease, transform .35s ease; }
.service-card:hover,
.service-card:focus-visible { z-index: 2; color: #fff; background: var(--ink); transform: translateY(-5px); }
.service-card:hover::after,
.service-card:focus-visible::after { transform: scale(1.35); border-color: var(--gold); }
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon { opacity: .96; transform: translate(-4px, -3px); }
.service-card:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.service-note { margin: 38px 0 0; text-align: center; }
.service-note a { color: var(--gold); font-weight: 700; }

/* Über mich und Ablauf */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9vw; align-items: center; }
.about-copy > p:not(.eyebrow, .signature) { max-width: 600px; margin: 35px 0; color: #616166; font-size: 1.05rem; }
.signature { margin-top: 34px; font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.signature span { display: block; color: #777; font: 700 .68rem/2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.crest-panel { min-height: 500px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(145deg, var(--ink), #29292d); }
.crest-panel::before { position: absolute; inset: 25px; border: 1px solid rgba(183,144,88,.4); content: ""; }
.crest-panel img { width: 42%; opacity: .94; mix-blend-mode: screen; filter: grayscale(1) invert(1); }
.hero-crest-panel { min-height: 520px; box-shadow: 18px 18px 0 rgba(183,144,88,.18); }
.crest-emblem { position: relative; z-index: 1; display: block; width: min(52%, 200px); min-width: 0; justify-self: center; transform-style: preserve-3d; backface-visibility: hidden; animation: crest-breathe 8s ease-in-out infinite; }
.hero-crest-panel img { display: block; width: 100%; height: auto; opacity: 1; mix-blend-mode: normal; filter: none; }
.crest-reflection { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask: url("halva-wappen-transparent.png") center / contain no-repeat; mask: url("halva-wappen-transparent.png") center / contain no-repeat; }
.crest-reflection::after { position: absolute; top: -25%; bottom: -25%; left: -42%; width: 19%; content: ""; opacity: 0; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent); animation: crest-shine 6.5s ease-in-out infinite; }
.portrait-panel { position: relative; min-height: 560px; height: 100%; overflow: hidden; background: var(--ink); }
.portrait-panel::after { position: absolute; z-index: 2; inset: 20px; border: 1px solid rgba(183,144,88,.62); content: ""; pointer-events: none; }
.portrait-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
@keyframes crest-breathe {
  0%, 100% { transform: perspective(950px) translateY(6px) rotateX(-2deg) rotateY(-7deg); }
  50% { transform: perspective(950px) translateY(-6px) rotateX(2deg) rotateY(7deg); }
}
@keyframes crest-shine {
  0%, 12% { left: -42%; opacity: 0; }
  22% { opacity: .12; }
  43% { opacity: .46; }
  62% { left: 123%; opacity: 0; }
  100% { left: 123%; opacity: 0; }
}
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefits div { display: flex; min-height: 105px; align-items: center; gap: 22px; padding: 20px 28px; border-right: 1px solid var(--line); }
.benefits div:last-child { border: 0; }
.benefits span, .steps span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .15em; }
.process { color: #fff; background: var(--ink); }
.process h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps article { position: relative; padding: 36px 8vw 20px 0; border-top: 1px solid rgba(229,231,230,.32); }
.steps article:not(:last-child)::after { position: absolute; top: -7px; right: 28px; width: 13px; height: 13px; border-radius: 50%; content: ""; background: linear-gradient(135deg, #f3f4f3, #858a8c); }
.steps h3 { margin: 50px 0 15px; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.steps p { color: #c8c8ca; }

/* Kontaktformular */
.contact { padding: 125px 0; color: #fff; background: #29292d; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.contact-copy h2 { font-size: clamp(2.7rem, 4.8vw, 4.8rem); }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin: 35px 0 50px; color: #c9c9cb; }
.phone-link { display: block; width: fit-content; color: var(--gold-light); font: clamp(1.7rem, 3vw, 2.7rem)/1.3 var(--serif); text-decoration: none; }
.mail-link { display: block; width: fit-content; margin-top: 10px; color: #ddd; }
.contact-form { position: relative; padding: 46px; color: var(--ink); background: var(--paper); }
.field { margin-bottom: 23px; }
.field label { display: block; margin-bottom: 7px; font-size: .77rem; font-weight: 700; }
.field small { color: #777; font-weight: 400; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; padding: 10px 0; color: var(--ink); background: transparent; transition: border-color .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 1px var(--gold); }
.upload-field input[type="file"] { border: 1px dashed #aaa; padding: 14px; cursor: pointer; }
.upload-field input[type="file"]::file-selector-button { min-height: 40px; margin-right: 12px; border: 1px solid var(--ink); padding: 8px 13px; color: var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
.upload-help { margin: 8px 0 0; color: #6f6f74; font-size: .72rem; }
.upload-error { min-height: 0; margin-top: 8px; color: #932f2f; font-size: .76rem; font-weight: 700; }
.file-list { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.file-list li { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid var(--line); background: #ece9e3; font-size: .76rem; }
.file-list .file-meta { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { flex: 0 0 auto; border: 0; padding: 4px 7px; color: #7d2929; background: transparent; font-weight: 700; cursor: pointer; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 28px; font-size: .76rem; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--gold); }
.btn-gold { width: 100%; justify-content: space-between; color: #fff; background: var(--gold); }
.btn-gold:hover { background: var(--ink); }
.required-note { margin: 14px 0 0; color: #777; font-size: .7rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { display: none; margin-bottom: 20px; padding: 12px 15px; font-size: .86rem; }
.form-status.success { display: block; color: #205a37; background: #e2f1e8; }
.form-status.error { display: block; color: #852d2d; background: #f8e2e2; }

/* Footer und Rechtstexte */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-main { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 32px; padding-block: 10px; }
.footer-brand { display: flex; min-width: 0; align-items: center; gap: 16px; }
.footer-main .footer-crest { width: 46px; height: 52px; flex: 0 0 auto; object-fit: contain; mix-blend-mode: multiply; }
.footer-brand strong { display: block; color: var(--ink); font: 400 1.12rem/1.1 var(--serif); letter-spacing: .045em; }
.footer-brand strong span { font: 700 .67rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.footer-brand p { margin: 4px 0 0; color: #747479; font-size: .75rem; line-height: 1.25; }
.footer-main nav { display: flex; min-height: 44px; align-items: center; gap: 11px; color: #68686d; font-size: .76rem; white-space: nowrap; }
.footer-main nav a, .footer-main nav button { transition: color .2s; }
.footer-main nav a:hover, .footer-main nav button:hover { color: var(--gold); }
.footer-main nav [aria-current="page"] { color: var(--ink); }
.footer-bottom { display: flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 28px; padding-block: 6px; border-top: 1px solid rgba(52,52,56,.11); color: #777; font-size: .72rem; }
.secret-game-link { padding-block: 12px; text-decoration: none; }
.wirtwire-signature { display: flex; align-items: center; gap: 15px; padding: 5px 0 5px 10px; color: #76767b; text-align: right; }
.wirtwire-signature small { font-size: .66rem; letter-spacing: .04em; }
.wirtwire-signature > span { display: flex; align-items: baseline; gap: 8px; }
.wirtwire-name { color: var(--ink); font-size: 1.12rem; font-weight: 700; letter-spacing: .025em; text-decoration: none; transition: color .2s, transform .2s; }
.wirtwire-domain, .wirtwire-domain:visited, .wirtwire-domain:hover, .wirtwire-domain:focus-visible { color: #2563eb; }
.wirtwire-domain { font-size: .65rem; text-decoration: none; transition: transform .2s, text-decoration-color .2s; }
.wirtwire-name:hover, .wirtwire-name:focus-visible { color: #2563eb; transform: translateX(2px); }
.wirtwire-domain:hover, .wirtwire-domain:focus-visible { text-decoration: underline; transform: translateX(2px); }
.wirtwire-name:focus-visible, .wirtwire-domain:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 2px; }
.legal-header .header-inner { justify-content: space-between; }
.legal-page { padding: 90px 0 120px; }
.legal-content { max-width: 860px; }
.legal-content h1 { margin-bottom: 40px; font-size: clamp(3rem, 6vw, 5rem); }
.legal-content h2 { margin: 50px 0 15px; font-size: 1.75rem; letter-spacing: -.02em; }
.legal-content p { color: #55555a; }
.legal-content mark { padding: 2px 5px; color: #563e18; background: #f1dfbc; }
.legal-note { margin-top: 60px; padding: 25px; border-left: 4px solid var(--gold); background: #ece9e3; }

/* Responsive */
@media (max-width: 1000px) {
  .header-call { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 35px; }
  .hero-crest-panel { min-height: 450px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { width: 100%; }
  .hero-crest-panel { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 76px; }
  .brand { width: auto; flex-basis: 210px; }
  .brand img { width: 38px; height: 43px; }
  .brand-type small { font-size: .58rem; }
  .brand-type strong { font-size: 1.42rem; }
  .menu-toggle { display: grid; width: 46px; height: 46px; place-content: center; gap: 5px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 15px 16px 25px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav a { padding: 14px 10px; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding: 65px 0 70px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 58px; }
  .hero-crest-panel { min-height: 390px; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-heading h2 { width: 100%; }
  .service-card { min-height: 220px; }
  .service-icon { top: 16px; right: 14px; width: 92px; height: 92px; opacity: .58; }
  .crest-panel { min-height: 380px; }
  .portrait-panel { min-height: 520px; }
  .portrait-panel img { object-position: 50% 42%; }
  .benefits { grid-template-columns: 1fr; margin-top: 50px; }
  .benefits div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps article { padding: 30px 0 35px; }
  .steps article:not(:last-child)::after { display: none; }
  .steps h3 { margin-top: 22px; }
  .contact { padding: 82px 0; }
  .contact-form { padding: 30px 24px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 18px 12px; }
  .footer-brand { gap: 14px; }
  .footer-main nav { width: 100%; flex-wrap: wrap; gap: 2px 8px; white-space: normal; }
  .footer-main nav a, .footer-main nav button { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 8px 14px; }
  .wirtwire-signature { width: 100%; align-items: flex-start; flex-direction: column; gap: 1px; padding: 8px 0; text-align: left; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(3.15rem, 15vw, 4.3rem); }
  .button-row { flex-direction: column; }
  .button-row .btn { width: 100%; }
  .trust { font-size: .65rem; letter-spacing: .1em; }
  .hero-crest-panel { min-height: 340px; box-shadow: 10px 10px 0 rgba(183,144,88,.18); }
  .portrait-panel { min-height: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; }
  .service-card h3 { margin-top: 50px; }
  .service-icon { top: 14px; right: 12px; width: 78px; height: 78px; opacity: .56; }
  .legal-header .btn { padding-inline: 12px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .crest-emblem, .crest-reflection::after { animation: none !important; }
  .crest-emblem { transform: none !important; }
  .crest-reflection::after { left: 42%; opacity: .09; }
}

/* ==========================================================================
   Finale Veredelung: Einsatzgebiet, Metalltiefe, Reveal, Consent, WhatsApp
   ========================================================================== */
.site-header::after {
  position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; content: "";
  background: linear-gradient(90deg, transparent, rgba(174,179,181,.75), rgba(255,255,255,.9), rgba(174,179,181,.6), transparent);
}
.service-area { position: relative; overflow: hidden; background: linear-gradient(120deg, #f6f4f0 0%, #eeece7 100%); }
.service-area::after { position: absolute; right: -160px; bottom: -190px; width: 480px; height: 480px; border: 1px solid rgba(174,179,181,.5); border-radius: 50%; content: ""; }
.area-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.area-copy > p:first-child { margin-top: 8px; color: #5d5d62; font-size: 1.06rem; }
.place-list { margin: 28px 0; color: #747478; line-height: 2; }
.text-link { color: var(--gold); font-weight: 700; text-decoration-thickness: 1px; }
.contact-copy address { margin-top: 24px; color: #aaa; font-size: .82rem; font-style: normal; }
.footer-main nav { flex-wrap: wrap; align-items: center; }
.footer-bottom a { color: inherit; }
.secret-game-link { text-decoration: none; }
.secret-game-link:hover { color: var(--gold); }
.cookie-settings-link, .inline-cookie-link { margin: 0; border: 0; padding: 0; color: inherit; background: none; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.inline-cookie-link { font-weight: 700; }
.legal-content code { padding: .1em .35em; background: #e8e5df; }

.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.service-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .06s; }
.service-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .12s; }
.service-grid .reveal:nth-child(4) { transition-delay: .18s; }

.whatsapp-float {
  position: fixed; z-index: 90; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom));
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(145deg, #2bd367, #159447); box-shadow: 0 12px 28px rgba(20,100,53,.34), inset 0 1px rgba(255,255,255,.3);
  transition: transform .25s, box-shadow .25s; animation: whatsapp-in .65s .7s both;
}
.whatsapp-float svg { width: 34px; fill: currentColor; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 34px rgba(20,100,53,.42); }
.whatsapp-float::before {
  position: absolute; right: calc(100% + 12px); width: max-content; padding: 8px 11px; border-radius: 3px; content: attr(data-tooltip);
  color: #fff; background: var(--ink); font-size: .75rem; opacity: 0; pointer-events: none; transform: translateX(8px); transition: opacity .2s, transform .2s;
}
.whatsapp-float:hover::before, .whatsapp-float:focus-visible::before { opacity: 1; transform: none; }
@keyframes whatsapp-in { from { opacity: 0; transform: translateY(15px) scale(.9); } to { opacity: 1; transform: none; } }

.consent-layer[hidden] { display: none; }
.consent-layer { position: fixed; z-index: 400; inset: 0; display: grid; align-items: end; padding: 22px; background: rgba(30,30,33,.58); backdrop-filter: blur(5px); }
.consent-dialog { position: relative; width: min(100%, 920px); margin: 0 auto; padding: 34px; border-top: 3px solid var(--gold); background: var(--paper); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.consent-dialog h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.consent-dialog > p:not(.eyebrow) { max-width: 760px; color: #65656a; }
.consent-close { position: absolute; top: 16px; right: 18px; width: 40px; height: 40px; border: 0; color: var(--ink); background: none; font-size: 2rem; cursor: pointer; }
.consent-options { margin: 22px 0; border-top: 1px solid var(--line); }
.consent-options > div, .consent-options label { display: flex; min-height: 60px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); cursor: pointer; }
.consent-options strong, .consent-options small { display: block; }
.consent-options span { color: #777; font-size: .78rem; }
.consent-options input { width: 21px; height: 21px; accent-color: var(--gold); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent-settings-toggle { border: 0; padding: 10px; background: none; text-decoration: underline; cursor: pointer; }
.consent-open { overflow: hidden; }

@media (max-width: 900px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .75rem; }
  .area-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 760px) {
  .whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .whatsapp-float::before { display: none; }
  .footer-bottom { align-items: flex-start; }
  .consent-layer { padding: 0; }
  .consent-dialog { max-height: 92vh; overflow-y: auto; padding: 28px 20px max(24px, env(safe-area-inset-bottom)); }
  .consent-actions { flex-direction: column; align-items: stretch; }
  .consent-actions .btn { width: 100%; }
}

/* Der wichtigste Inhalt bleibt auch bei verzögertem Observer sofort sichtbar. */
.hero .reveal { opacity: 1; transform: none; }
