/* ═══════════════════════════════════════════════════════════════
   Mahmoud El-Gamal — dunkler Hero, heller Körper, Bernstein als Akzent.
   Modern und aufgeräumt, aber mit großer Schrift und hohem
   Kontrast, weil die Leser 35 bis 60 sind und am Handy lesen.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Dunkle Flächen — bleiben in beiden Modi dunkel */
  --nacht:      #14120F;
  --nacht-2:    #1F1C17;
  --nacht-tx:   #F6F2EB;
  --nacht-weich:#A9A093;
  --akzent-d:   #E89A4A;

  /* Helle Flächen — kippen im Dunkelmodus */
  --papier:     #FBF8F3;
  --papier-2:   #F2EDE4;
  --tinte:      #16130F;
  --weich:      #5E5549;
  --linie:      #E3DBCD;
  --akzent:     #B25E14;
  --akzent-bg:  #FBF0E2;

  --rand: clamp(1.1rem, 5vw, 4.5rem);
  --breit: 72rem;
  --luft: clamp(4rem, 9vw, 7.5rem);
  --rund: 14px;

  --display: "Archivo", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", Verdana, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #14120F; --papier-2: #1C1915; --tinte: #F4F0E8;
    --weich: #A9A093; --linie: #302B24;
    --akzent: #E89A4A; --akzent-bg: #241D14;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font-family: var(--text); font-size: 1.1rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ikon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ikon--gross { width: 2rem; height: 2rem; stroke-width: 1.5; color: var(--akzent); }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 99;
  background: var(--akzent); color: #fff; padding: .8rem 1.3rem; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

/* ── Kopf ─────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem var(--rand);
  background: color-mix(in srgb, var(--nacht) 94%, transparent);
  backdrop-filter: blur(10px);
  color: var(--nacht-tx);
}
.marke { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.marke__zeichen {
  width: 1.6rem; height: 1.6rem; border-radius: 6px; flex: none;
  background: var(--akzent-d);
  clip-path: polygon(50% 12%, 92% 84%, 8% 84%);
}
.marke__text {
  font-family: var(--display); font-weight: 800; font-size: .95rem;
  letter-spacing: -.01em; white-space: nowrap;
}
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-size: .92rem; font-weight: 700; text-decoration: none;
  color: var(--nacht-weich); white-space: nowrap;
}
.nav a:hover { color: var(--akzent-d); }
.kopf__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--akzent-d); color: #17130D;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  padding: .55rem 1rem; border-radius: 100px; text-decoration: none;
}
.kopf__tel:hover { filter: brightness(1.08); }
@media (max-width: 62rem) { .nav { display: none; } .marke { margin-right: auto; } }

/* Am Handy: Marke oben, Aktionen unten in der Daumenleiste.
   Der Telefonknopf im Kopf waere dort doppelt und verdraengt den Namen. */
@media (max-width: 47.99rem) {
  .kopf__tel { display: none; }
  .marke__text { font-size: 1.05rem; }
}

/* ── Brauen (kleine Überschrift) ──────────────────────── */
.brauen {
  margin: 0 0 .9rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--akzent);
}
.brauen--hell { color: var(--akzent-d); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--nacht) url("bild/hero-wien.jpg") center 30% / cover no-repeat;
  color: var(--nacht-tx);
  padding: clamp(3.5rem, 9vw, 7rem) var(--rand) clamp(3.5rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 32rem at 78% -12%, rgba(232,154,74,.14), transparent 62%),
    linear-gradient(to right, rgba(20,18,15,.96) 0%, rgba(20,18,15,.90) 46%, rgba(20,18,15,.66) 100%);
}
@media (max-width: 56rem) {
  /* Am Handy laeuft der Text ueber die volle Breite — gleichmaessig abdunkeln */
  .hero::before {
    background:
      radial-gradient(40rem 24rem at 80% 0%, rgba(232,154,74,.13), transparent 60%),
      linear-gradient(rgba(20,18,15,.86), rgba(20,18,15,.93));
  }
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}
.hero__inhalt { position: relative; z-index: 1; max-width: var(--breit); margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.7rem, 9.5vw, 6rem); line-height: .96;
  font-weight: 900; margin: 0 0 1.6rem; letter-spacing: -.035em;
}
.hero__text {
  font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55;
  max-width: 38em; margin: 0 0 2.4rem; color: var(--nacht-weich);
}
.hero__fuss {
  margin: 1.6rem 0 0; font-size: .98rem; color: var(--nacht-weich);
}

/* ── Knöpfe ───────────────────────────────────────────── */
.knopfreihe { display: flex; flex-wrap: wrap; gap: .8rem; }
.knopfreihe--mitte { justify-content: center; }
.knopf {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem; min-height: 3.4rem; border-radius: 100px;
  font-family: var(--text); font-weight: 700; font-size: 1.08rem;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .14s ease, filter .14s ease, background .14s ease;
}
.knopf:hover { transform: translateY(-2px); }
.knopf--voll { background: var(--akzent-d); color: #17130D; }
.knopf--voll:hover { filter: brightness(1.08); }
.knopf--rand { border-color: currentColor; color: var(--nacht-tx); }
.knopf--rand:hover { background: rgba(255,255,255,.08); }

/* ── Zusagen ──────────────────────────────────────────── */
.zusagen { background: var(--nacht-2); color: var(--nacht-tx); }
.zusagen ul {
  list-style: none; margin: 0 auto; padding: clamp(1.8rem,4vw,2.6rem) var(--rand);
  max-width: var(--breit); display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.zusagen li { display: flex; gap: .85rem; align-items: flex-start; }
.zusagen .ikon--gross { color: var(--akzent-d); width: 1.7rem; height: 1.7rem; }
.zusagen b { display: block; font-family: var(--display); font-size: 1.02rem; }
.zusagen span { display: block; font-size: .94rem; color: var(--nacht-weich); line-height: 1.45; }

/* ── Blöcke ───────────────────────────────────────────── */
.block { padding: var(--luft) var(--rand); }
.block > * { max-width: var(--breit); margin-inline: auto; }
.block--hell { background: var(--papier-2); }

/* Dunkler Bildabschnitt — traegt das wichtigste Argument */
.block--bild {
  position: relative; overflow: hidden;
  background: var(--nacht) url("bild/betrieb-wien.jpg") center 40% / cover no-repeat;
  color: var(--nacht-tx);
}
.block--bild::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(20,18,15,.93), rgba(20,18,15,.96));
}
.block--bild > * { position: relative; z-index: 1; }
.block--bild .brauen { color: var(--akzent-d); }
.block--bild .zweispalt__text p { color: var(--nacht-tx); }
.block--bild strong { color: var(--akzent-d); }
.block--bild .zahlen { border-top-color: rgba(255,255,255,.14); }
.block--bild .zahlen b { color: var(--akzent-d); }
.block--bild .zahlen span { color: var(--nacht-weich); }
.block h2 {
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.04; margin: 0 0 1.1rem;
}
.fuehrung {
  font-size: 1.14rem; color: var(--weich); max-width: 40em; margin: 0 0 3rem;
}

/* ── Leistungskarten ──────────────────────────────────── */
.karten {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
}
.karte {
  background: var(--papier); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: 1.7rem 1.6rem 1.8rem;
  transition: border-color .16s ease, transform .16s ease;
}
.karte:hover { border-color: var(--akzent); transform: translateY(-3px); }
.karte h3 { font-size: 1.22rem; margin: 1rem 0 .3rem; font-weight: 700; }
.karte__preis {
  margin: 0 0 .8rem; font-family: var(--display); font-weight: 800;
  font-size: 1.05rem; color: var(--akzent);
}
.karte p:last-child { margin: 0; color: var(--weich); font-size: 1.02rem; line-height: 1.55; }

/* ── Zweispalter ──────────────────────────────────────── */
.zweispalt {
  display: grid; gap: 2rem clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
}
@media (max-width: 52rem) { .zweispalt { grid-template-columns: 1fr; } }
.zweispalt h2 { margin-bottom: 0; }
.zweispalt__text p { margin: 0 0 1.15rem; max-width: 42em; }
.zweispalt__text p:last-child { margin-bottom: 0; }

/* ── Zahlen ───────────────────────────────────────────── */
.zahlen {
  list-style: none; margin: clamp(3rem,6vw,4.5rem) auto 0; padding: 0;
  max-width: var(--breit);
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  border-top: 1px solid var(--linie); padding-top: clamp(2rem,4vw,2.8rem);
}
.zahlen b {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1;
  color: var(--akzent); letter-spacing: -.03em;
}
.zahlen span { display: block; margin-top: .4rem; font-size: .96rem; color: var(--weich); }

/* ── Schritte ─────────────────────────────────────────── */
.schritte {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--breit);
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.schritte li {
  background: var(--papier-2); border-radius: var(--rund);
  padding: 1.6rem 1.5rem; border-top: 3px solid var(--akzent);
}
.block--hell .schritte li { background: var(--papier); }
.schritte b {
  font-family: var(--display); font-weight: 900; font-size: 1.05rem;
  color: var(--akzent); letter-spacing: .04em;
}
.schritte h3 { font-size: 1.15rem; margin: .5rem 0 .4rem; }
.schritte p { margin: 0; color: var(--weich); font-size: 1rem; line-height: 1.55; }

/* ── Referenz ─────────────────────────────────────────── */
.referenz {
  display: grid; gap: 2rem clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  align-items: center;
}
.referenz__bild {
  display: block; border-radius: var(--rund); overflow: hidden;
  border: 1px solid var(--linie); background: var(--papier);
  aspect-ratio: 4/3;
}
.referenz__bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.referenz h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .7rem; }
.referenz p { margin: 0 0 1.3rem; color: var(--weich); }
.link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; text-decoration: none; color: var(--akzent);
}
.link:hover { gap: .75rem; }
.link .ikon { transition: transform .15s ease; }

/* ── Person ───────────────────────────────────────────── */
.person {
  display: grid; gap: 2.2rem clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 46rem) {
  .person { grid-template-columns: 1fr; }
  .person__bild { max-width: 14rem; }
}
.person__bild {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%;
  border-radius: var(--rund); border: 1px solid var(--linie);
}
.person h2 { margin-bottom: 1rem; }
.person p { margin: 0 0 1.1rem; max-width: 42em; }

/* ── Fragen ───────────────────────────────────────────── */
.fragen { border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-weight: 700; font-size: 1.12rem;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: 1.5rem; height: 1.5rem; translate: 0 -50%;
  background: var(--akzent-bg); border-radius: 50%;
}
.fragen summary::before {
  content: ""; position: absolute; right: 1.02rem; top: 50%; z-index: 1;
  width: .26rem; height: .8rem; translate: 0 -50%;
  background: var(--akzent); border-radius: 2px;
  box-shadow: 0 0 0 0 transparent;
  transition: rotate .18s ease;
}
.fragen details[open] summary::before { rotate: 90deg; opacity: 0; }
.fragen summary:hover { color: var(--akzent); }
.fragen p { margin: 0 0 1.4rem; max-width: 44em; color: var(--weich); }

/* ── Schluss ──────────────────────────────────────────── */
.schluss {
  background: var(--nacht); color: var(--nacht-tx);
  text-align: center; padding: var(--luft) var(--rand);
  position: relative; overflow: hidden;
}
.schluss::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(44rem 22rem at 50% 0%, rgba(232,154,74,.13), transparent 65%);
}
.schluss > * { position: relative; z-index: 1; }
.schluss h2 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.02; margin: 0 0 1.1rem;
}
.schluss__text {
  max-width: 34em; margin: 0 auto 2.3rem; font-size: 1.12rem;
  color: var(--nacht-weich);
}
.schluss__mail { margin: 1.8rem 0 0; }
.schluss__mail a { color: var(--nacht-weich); }

/* ── Fuß ──────────────────────────────────────────────── */
.fuss {
  background: var(--nacht-2); color: var(--nacht-weich);
  padding: 3rem var(--rand); font-size: .98rem;
}
.fuss__reihe {
  max-width: var(--breit); margin: 0 auto;
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.fuss p { margin: 0; line-height: 1.85; }
.fuss strong { color: var(--nacht-tx); font-family: var(--display); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--akzent-d); }

/* ── Daumenleiste ─────────────────────────────────────── */
.daumen { display: none; }
@media (max-width: 47.99rem) {
  body { padding-bottom: 4.6rem; }
  .daumen {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; inset: auto 0 0 0; z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  }
  .daumen a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 1.1rem .5rem; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; background: var(--nacht); color: var(--nacht-tx);
  }
  .daumen--wa { background: var(--akzent-d) !important; color: #17130D !important; }
  .kopf__tel .ikon { margin: 0; }
  .kopf__tel { padding: .5rem .85rem; }
}

/* ── Rechtsseiten ─────────────────────────────────────── */
.recht { max-width: 44em; }
.recht h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.18rem;
  letter-spacing: -.015em; margin: 2.4rem 0 .6rem;
}
.recht h3:first-child { margin-top: 0; }
.recht p { margin: 0 0 1rem; }
.recht a { color: var(--akzent); }
.recht em { color: var(--weich); font-size: .96rem; }
.recht .fuehrung { margin-bottom: 2.2rem; }

.fuss__claim { color: var(--nacht-weich); }

/* Fehlender Personenname im Impressum — unübersehbar */
.warnung {
  display: inline-block; background: #B3261E; color: #fff;
  padding: .15em .5em; border-radius: 4px; font-weight: 700;
}

/* ── Einblenden ───────────────────────────────────────── */
.anim {
  opacity: 0; translate: 0 16px;
  animation: auf .65s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: var(--d, 0ms);
}
@keyframes auf { to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .anim { animation: none; opacity: 1; translate: none; }
  .knopf:hover, .karte:hover { transform: none; }
}

/* ── Fehlende Bilder: ruhige Fläche statt kaputtem Symbol ─ */
.leer {
  background: var(--papier-2);
  border: 1px dashed var(--linie);
  display: grid; place-items: center;
}
.leer::after {
  content: "Foto folgt"; font-size: .88rem; color: var(--weich);
  letter-spacing: .08em; text-transform: uppercase;
}
img.leer { object-fit: none; }

@media print { .daumen, .kopf, .skip { display: none; } }
