/* Autohaus Räker – Stylesheet */

/* Variables */
:root {
  --bg:       #f7f8fc;
  --white:    #ffffff;
  --card:     #ffffff;
  --border:   #e2e5ef;
  --red:      #1a7cbe;
  --red2:     #2691d6;
  --red-pale: #eef6fc;
  --dark:     #0d1018;
  --dark2:    #181c28;
  --text:     #111318;
  --sub:      #3a4055;
  --muted:    #6c7491;
  --soft:     #9fa6be;
  --r:        5px;
  --t:        0.3s cubic-bezier(.4,0,.2,1);
  --sh:       0 1px 4px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.08);
  --sh2:      0 4px 8px rgba(0,0,0,.06), 0 16px 48px rgba(0,0,0,.14);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.65; overflow-x: hidden;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
#nav.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.07);
}
#nav.scrolled .nav-links a { color: var(--muted); }
#nav.scrolled .nav-links a:hover { color: var(--text); }
#nav.scrolled .logo-t span { color: var(--muted); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: flex; align-items: center; color: #fff; flex-shrink: 0; }
.logo-mark svg { height: 30px; width: auto; display: block; }
.logo-t strong { display: block; font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.15; }
.logo-t span   { font-size: 10px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .05em; }
#nav.scrolled .logo-t strong { color: var(--text); }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.8);
  transition: color var(--t); position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--red); border-radius: 1px;
  transform: scaleX(0); transition: transform var(--t);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-phone {
  display: flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  padding: 9px 18px; border-radius: var(--r);
  font-size: 13.5px; font-weight: 700;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.nav-phone:hover { background: var(--red2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,124,190,.4); }
/* padding statt groesserer Balken, damit der Daumen trifft (44px) */
.hamburger { display: none; flex-direction: column; gap: 5px; border: none; background: none; cursor: pointer;
             padding: 13px 11px; margin: -13px -11px; }
.hamburger span { width: 22px; height: 2px; border-radius: 2px; transition: var(--t); display: block; background: #fff; }
#nav.scrolled .hamburger span { background: var(--text); }
@media(max-width:860px){
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  #nav.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--white); padding: 8px 5% 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  #nav.open .nav-links li { border-bottom: 1px solid var(--border); }
  #nav.open .nav-links a { display: block; padding: 14px 0; font-size: 15px; color: var(--text) !important; }
  #nav.open .nav-links a::after { display: none; }
}

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 68px 5% 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/gebaeude.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,14,22,.82) 0%, rgba(11,14,22,.58) 50%, rgba(11,14,22,.18) 100%),
    linear-gradient(0deg, rgba(11,14,22,.4) 0%, transparent 42%);
}
.hero-grain {
  display: none;
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-text { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(26,124,190,.5);
  background: rgba(26,124,190,.12);
  color: #9ecdec; padding: 5px 13px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-kicker::before {
  content: ''; width: 6px; height: 6px; background: #9ecdec;
  border-radius: 50%;
}
.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -.035em;
  color: #fff; margin-bottom: 20px;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(125deg, var(--red) 0%, #7fd0ff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.6);
  max-width: 460px; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

/* Buttons */
.btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 13px 26px; border-radius: var(--r);
  font-weight: 700; font-size: 14px;
  transition: all var(--t); box-shadow: 0 4px 18px rgba(26,124,190,.4);
}
.btn-red:hover { background: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,124,190,.5); }
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 13px 26px; border-radius: var(--r);
  font-weight: 600; font-size: 14px;
  backdrop-filter: blur(4px);
  transition: all var(--t);
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--sub);
  padding: 12px 24px; border-radius: var(--r);
  font-weight: 600; font-size: 14px;
  transition: all var(--t);
}
.btn-ghost-dark:hover { border-color: var(--red); color: var(--red); background: var(--red-pale); transform: translateY(-1px); }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-n { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat-n sub { font-size: 1rem; color: var(--red); font-weight: 700; }
.stat-l { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.4); margin-top: 4px; }

/* hero right photo */
.hero-photo { position: relative; z-index: 2; }
.hero-photo-frame {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-photo-frame img {
  width: 100%; height: 460px;
  object-fit: cover; object-position: center 25%;
  display: block;
}
.hero-photo-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  display: flex; align-items: center; gap: 12px;
}
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; flex-shrink: 0; animation: pulse 2s infinite; }
.hero-photo-footer strong { font-size: .88rem; color: #fff; font-weight: 600; }
.hero-photo-footer span   { font-size: .76rem; color: rgba(255,255,255,.55); display: block; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2;
  color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
}
@media(max-width:820px){
  #hero { grid-template-columns: 1fr; padding-bottom: 80px; }
  .hero-photo { display: none; }
}

/* TRUST BAR */
#trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
/* vier Spalten brauchen gut 950px, darunter zweispaltig */
@media(max-width:1000px){
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  /* sonst haengt am Zeilenende eine Trennlinie im Nichts */
  .trust-item:nth-child(2n) { border-right: none; }
}
@media(max-width:440px){
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  transition: background var(--t);
  min-width: 0;   /* sonst drueckt der Text das Raster auf */
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--bg); }
.trust-item-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item-icon svg { color: var(--red); width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.trust-item span   { display: block; font-size: .77rem; color: var(--muted); line-height: 1.4; margin-top: 3px; }

/* CERTIFICATION LOGOS (slim bar) */
#certs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 15px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 26px; flex-wrap: wrap;
}
.certs-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.certs-row img { height: 38px; width: auto; border-radius: 5px; opacity: .92; }
@media(max-width:520px){ #certs { gap: 16px; } .certs-row { gap: 18px; } .certs-row img { height: 32px; } }

/* VERSICHERER / SCHADENSERVICE */
.insurer-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px 56px; max-width: 1000px; margin: 8px auto 0;
}
.insurer-grid img { max-height: 46px; max-width: 155px; width: auto; height: auto; display: block; }
@media(max-width:600px){ .insurer-grid { gap: 32px 40px; } .insurer-grid img { max-height: 38px; max-width: 120px; } }
.insurer-note { max-width: 1000px; margin: 28px auto 0; text-align: center;
  font-size: .72rem; line-height: 1.6; color: var(--soft); }
.insurer-note a { color: var(--muted); text-decoration: underline; }

/* GALLERY STRIP */
#gallery { overflow: hidden; }
.strip { display: flex; height: 300px; }
.strip-item { flex: 1; min-width: 0; overflow: hidden; position: relative; transition: flex .5s cubic-bezier(.4,0,.2,1); cursor: pointer; }
.strip-item:hover { flex: 1.6; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.strip-item:hover img { transform: scale(1.03); }
.strip-cap {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity var(--t);
}
.strip-item:hover .strip-cap { opacity: 1; }
.strip-cap span { font-size: .8rem; font-weight: 600; color: #fff; letter-spacing: .02em; }
@media(max-width:600px){ .strip { height: 200px; } }

/* SECTIONS BASE */
.section { padding: 96px 5%; }
.section--gray { background: var(--bg); }
.section--white { background: var(--white); }
.container { max-width: 1180px; margin-inline: auto; }
.s-tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.s-h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; color: var(--text); margin-bottom: 12px; }
.s-desc { font-size: .95rem; color: var(--muted); max-width: 520px; line-height: 1.72; }
.s-bar { width: 36px; height: 3px; background: var(--red); border-radius: 2px; margin: 14px 0 52px; }
.s-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 48px; }
.s-head .s-bar { margin: 14px 0 0; }

/* SERVICES */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:960px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--sh2); border-color: rgba(26,124,190,.25); }
.svc-card--wide { grid-column: span 2; }
@media(max-width:560px){ .svc-card--wide { grid-column: span 1; } }

.svc-img { position: relative; height: 185px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-img img { transform: scale(1.03); }
.svc-img-grad {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%);
}
.svc-chip {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 8px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.svc-chip svg { color: var(--red); width: 16px; height: 16px; }
.svc-body { padding: 20px 22px 24px; }
.svc-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.svc-body p  { font-size: .84rem; color: var(--muted); line-height: 1.65; }
.svc-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.svc-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--sub); line-height: 1.4; }
.svc-list li::before { content:''; flex-shrink:0; width:4px; height:4px; border-radius:50%; background:var(--red); margin-top:8px; }

/* DEKRA wide inner layout */
.dekra-split { display: grid; grid-template-columns: 1fr 1fr; }
@media(max-width:640px){ .dekra-split { grid-template-columns: 1fr; } }
.dekra-split .svc-img { height: 100%; min-height: 200px; }
@media(max-width:640px){ .dekra-split .svc-img { min-height: 170px; } }
.dekra-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,140,200,.08); border: 1px solid rgba(0,140,200,.25);
  color: #0078b4; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; margin-top: 12px;
}

/* TOWING */
#abschlepp { padding: 0 5% 80px; }
.tow-box {
  position: relative; border-radius: 22px; overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
}
.tow-bg-img {
  position: absolute; inset: 0;
  background: url('../img/abschlepp-lkw.jpg') center 55%/cover no-repeat;
}
.tow-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,6,6,.82) 0%, rgba(8,6,6,.55) 48%, rgba(8,6,6,.12) 100%),
    linear-gradient(0deg, rgba(8,6,6,.6) 0%, transparent 48%);
}
.tow-content {
  position: relative; z-index: 1;
  width: 100%; padding: 52px 56px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.tow-text .s-tag { color: rgba(255,255,255,.55); }
.tow-text h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 900; letter-spacing: -.025em; color: #fff; margin-bottom: 10px; }
.tow-text p { color: rgba(255,255,255,.6); font-size: .95rem; max-width: 400px; line-height: 1.65; }
.tow-cta-box {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 22px 36px; flex-shrink: 0;
  transition: all var(--t); color: #fff;
}
.tow-cta-box:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.tow-cta-box .lbl { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .55; }
.tow-cta-box .num { font-size: 2.1rem; font-weight: 900; letter-spacing: -.025em; margin-top: 4px; }
@media(max-width:640px){ .tow-content { padding: 36px 28px; } }

/* ABOUT / WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media(max-width:860px){ .why-grid { grid-template-columns: 1fr; } .why-photos { display: none; } }
.why-photos { position: relative; padding-bottom: 32px; padding-right: 32px; }
.why-photo-main {
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--sh2);
}
.why-photo-main img { width: 100%; height: 420px; object-fit: cover; }
.why-photo-sub {
  position: absolute; bottom: 0; right: 0;
  width: 46%; border-radius: 14px; overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--sh2);
}
.why-photo-sub img { width: 100%; height: 180px; object-fit: cover; object-position: center top; }
.why-items { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; }
.why-item { display: flex; flex-direction: column; gap: 8px; }
.why-num { font-size: 2.6rem; font-weight: 900; color: rgba(26,124,190,.12); line-height: 1; letter-spacing: -.05em; }
.why-item h3 { font-size: .95rem; font-weight: 700; color: var(--text); }
.why-item p  { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
@media(max-width:860px){ .contact-grid { grid-template-columns: 1fr; } }
.info-group { margin-bottom: 28px; }
.info-group h3 { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.info-row { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 9px; }
.info-row svg { flex-shrink: 0; color: var(--soft); margin-top: 2px; width: 14px; height: 14px; }
.info-row a { color: var(--sub); transition: color var(--t); font-size: .88rem; }
.info-row a:hover { color: var(--red); }
.info-row span { font-size: .88rem; color: var(--sub); }
.hours-cat { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin: 16px 0 6px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.hours-table td { padding: 5px 0; color: var(--muted); }
.hours-table td:first-child { font-weight: 600; color: var(--sub); width: 96px; }

/* Contact form */
.cform { display: flex; flex-direction: column; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:480px){ .frow { grid-template-columns: 1fr; } }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fg input, .fg select, .fg textarea {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 11px 14px;
  color: var(--text); font-size: .88rem; font-family: inherit;
  outline: none; resize: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--soft); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(26,124,190,.1);
}
.fg select option { background: var(--white); color: var(--text); }
.fg textarea { min-height: 100px; }

/* aus dem Bild geschoben statt display:none – wird sonst übersprungen */
.hp-wrap { position: absolute !important; left: -9999px !important; top: auto !important;
           width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Formular-Hinweis */
.form-hinweis { font-size: .82rem; line-height: 1.6; border-radius: 10px;
  padding: 11px 14px; margin: 0; display: none;
  background: rgba(214,48,49,.07); border: 1.5px solid rgba(214,48,49,.3); color: #b02020; }
.form-hinweis.zeigen { display: block; }

/* Datenschutzseite, Rückmeldung nach Widerruf */
.consent-status { display: none; margin-left: 12px; font-size: .84rem; color: var(--sub); }
.consent-status.zeigen { display: inline; }

.radios { display: flex; gap: 20px; flex-wrap: wrap; }
.r-label { display: flex; align-items: center; gap: 7px; cursor: pointer; font-size: .88rem; color: var(--sub); }
.r-label input { accent-color: var(--red); }
.form-disc { font-size: .72rem; color: var(--soft); line-height: 1.6; }
.form-disc a { color: var(--muted); text-decoration: underline; }
.btn-send {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; border: none;
  padding: 13px 26px; border-radius: var(--r);
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all var(--t); width: fit-content;
  box-shadow: 0 4px 18px rgba(26,124,190,.3);
}
.btn-send:hover { background: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,124,190,.45); }
.form-ok {
  display: none;
  background: #f0fdf4; border: 1.5px solid #86efac;
  color: #15803d; padding: 14px 18px; border-radius: 10px;
  font-size: .88rem; font-weight: 600;
}

/* MAP / COOKIE GATE */
.map-gate {
  width: 100%; height: 400px; background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.map-gate.hidden { display: none; }
.map-gate-inner { text-align: center; max-width: 340px; padding: 32px; }
.gate-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--red-pale); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.gate-icon svg { color: var(--red); width: 26px; height: 26px; }
.map-gate-inner h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.map-gate-inner p  { font-size: .83rem; color: var(--muted); margin-bottom: 20px; line-height: 1.65; }
.map-live { position: relative; width: 100%; height: 400px; border-top: 1px solid var(--border); display: none; }
.map-live.show { display: block; }
.map-live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(20%) contrast(1.05); }
.map-pin {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: rgba(255,255,255,.96); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--sh);
}
.map-pin strong { display: block; font-size: 13px; color: var(--text); }
.map-pin span   { font-size: 11.5px; color: var(--muted); }

/* FOOTER */
footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 5% 28px;
}
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media(max-width:720px){ .ft-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:460px){ .ft-grid { grid-template-columns: 1fr; } }
.ft-brand p { font-size: .83rem; color: rgba(255,255,255,.38); margin-top: 16px; max-width: 260px; line-height: 1.7; }
.ft-logo-r { background: var(--red); }
/* nur .logo-t, sonst erwischt die span-Regel auch das Logo */
.ft-logo .logo-t strong { color: #fff !important; }
.ft-logo .logo-t span   { color: rgba(255,255,255,.35) !important; }
.ft-col h4 { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-col ul li a { font-size: .83rem; color: rgba(255,255,255,.38); transition: color var(--t); }
.ft-col ul li a:hover { color: rgba(255,255,255,.85); }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.ft-bottom p { font-size: .76rem; color: rgba(255,255,255,.28); }
.ft-legal { display: flex; gap: 18px; }
.ft-legal a { font-size: .76rem; color: rgba(255,255,255,.28); transition: color var(--t); }
.ft-legal a:hover { color: rgba(255,255,255,.7); }

/* COOKIE BANNER */
#cookie {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 860px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  z-index: 9999; box-shadow: 0 8px 40px rgba(0,0,0,.15);
  animation: slideUp .5s ease both 1.5s;
}
#cookie.gone { display: none; }
.cookie-txt { flex: 1; min-width: 200px; font-size: .81rem; color: var(--muted); line-height: 1.55; }
.cookie-txt strong { color: var(--text); }
.cookie-txt a { color: var(--muted); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cb-decline {
  background: transparent; color: var(--muted); border: 1.5px solid var(--border);
  padding: 9px 18px; border-radius: 9px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all var(--t);
}
.cb-decline:hover { border-color: var(--text); color: var(--text); }
.cb-accept {
  background: var(--red); color: #fff; border: none;
  padding: 9px 20px; border-radius: 9px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background var(--t);
}
.cb-accept:hover { background: var(--red2); }

/* ANIMATIONS */
@keyframes pulse   { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }
@keyframes bounceY { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(9px)} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideUp { from{opacity:0;transform:translateX(-50%) translateY(18px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }
.reveal { opacity: 1; }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* INNER PAGES */

/* Inner-page nav (always solid) */
.page-inner #nav {
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,.07);
}
.page-inner #nav .logo-t strong { color: var(--text); }
.page-inner #nav .logo-t span   { color: var(--muted); }
.page-inner #nav .nav-links a   { color: var(--muted); }
.page-inner #nav .nav-links a:hover { color: var(--text); }
.page-inner #nav .hamburger span { background: var(--text); }
.page-inner #nav.open .nav-links a { color: var(--text); }

/* Page hero (inner pages) */
.page-hero {
  padding-top: 68px; position: relative; overflow: hidden;
}
.page-hero--photo {
  min-height: 320px; display: flex; align-items: flex-end;
}
.ph-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ph-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,10,20,.78) 0%, rgba(8,10,20,.35) 100%);
}
.ph-content { position: relative; z-index: 1; padding: 52px 5%; }
.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .75rem; margin-bottom: 14px;
}
.ph-breadcrumb a, .ph-breadcrumb span { color: rgba(255,255,255,.45); transition: color var(--t); }
.ph-breadcrumb a:hover { color: rgba(255,255,255,.8); }
.ph-breadcrumb .sep { color: rgba(255,255,255,.25); }
.ph-breadcrumb .cur { color: rgba(255,255,255,.7); }
.ph-content h1 {
  font-size: clamp(2rem,4vw,3.2rem);
  font-weight: 900; letter-spacing: -.03em; color: #fff; line-height: 1.06;
}
.ph-content .ph-sub { font-size: .98rem; color: rgba(255,255,255,.58); margin-top: 10px; max-width: 560px; }

.page-hero--plain {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
}
.page-hero--plain .ph-breadcrumb a,
.page-hero--plain .ph-breadcrumb span { color: var(--muted); }
.page-hero--plain .ph-breadcrumb .cur { color: var(--sub); }
.page-hero--plain .ph-breadcrumb a:hover { color: var(--text); }
.page-hero--plain h1 { color: var(--text); }
.page-hero--plain .ph-sub { color: var(--muted); }

/* SERVICE DETAIL SECTIONS */
.svc-detail {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 440px;
}
.svc-detail--flip .svc-detail-img { order: 2; }
.svc-detail--flip .svc-detail-body { order: 1; }
@media(max-width:820px){
  .svc-detail, .svc-detail--flip .svc-detail-img, .svc-detail--flip .svc-detail-body { display: block; order: unset; }
}
.svc-detail-img { position: relative; overflow: hidden; min-height: 380px; }
.svc-detail-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-detail-body {
  padding: 60px 64px; background: var(--white);
  display: flex; flex-direction: column; justify-content: center;
}
.svc-detail--flip .svc-detail-body { background: var(--bg); }
@media(max-width:820px){ .svc-detail-img { min-height: 260px; } .svc-detail-body { padding: 40px 5%; } }
.svc-detail-body .s-tag { margin-bottom: 8px; }
.svc-detail-body h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); margin-bottom: 14px; }
.svc-detail-body > p { font-size: .9rem; color: var(--sub); line-height: 1.8; margin-bottom: 20px; }
.svc-detail-body .svc-list { margin-top: 0; }
.svc-detail-body .btn-ghost-dark { margin-top: 24px; width: fit-content; }
.svc-anchor { scroll-margin-top: 80px; }
.svc-detail-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,130,195,.09); border: 1px solid rgba(0,130,195,.25);
  color: #0078b4; padding: 5px 13px; border-radius: 100px;
  font-size: 11px; font-weight: 700; margin-top: 14px; width: fit-content;
}

/* ABOUT PAGE */
.about-story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
@media(max-width:820px){ .about-story { grid-template-columns: 1fr; } .about-story-img { display: none; } }
.about-story-img { position: relative; padding-bottom: 28px; padding-right: 28px; }
.about-story-img .img-main { border-radius: 18px; overflow: hidden; box-shadow: var(--sh2); }
.about-story-img .img-main img { width: 100%; height: 440px; object-fit: cover; }
.about-story-img .img-sub {
  position: absolute; bottom: 0; right: 0; width: 45%;
  border-radius: 14px; overflow: hidden;
  border: 3px solid var(--white); box-shadow: var(--sh2);
}
.about-story-img .img-sub img { width: 100%; height: 175px; object-fit: cover; }
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media(max-width:720px){ .cert-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px){ .cert-grid { grid-template-columns: 1fr; } }
.cert-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 24px 20px; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 12px;
}
.cert-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
}
.cert-icon svg { color: var(--red); width: 20px; height: 20px; }
.cert-card h3 { font-size: .92rem; font-weight: 700; color: var(--text); }
.cert-card p  { font-size: .81rem; color: var(--muted); line-height: 1.65; }
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}
@media(max-width:700px){ .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } }
.mosaic-item { border-radius: 12px; overflow: hidden; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic-item:hover img { transform: scale(1.03); }
.mosaic-item--tall { grid-row: span 2; }

/* CONTACT PAGE */
.contact-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 64px;
}
@media(max-width:720px){ .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 28px 22px; box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t), box-shadow var(--t);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.cc-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
}
.cc-icon svg { color: var(--red); width: 20px; height: 20px; }
.contact-card h3 { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--sub); line-height: 1.7; display: block; }
.contact-card a:hover { color: var(--red); }
.cc-hours .hours-cat { font-size: .68rem; color: var(--red); line-height: 1.4; margin: 12px 0 2px; }
.cc-hours .hours-cat:first-child { margin-top: 0; }

/* LEGAL PAGES */
.legal-wrap { max-width: 800px; margin: 0 auto; padding: 72px 5%; }
.legal-info-box {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 24px 28px; margin-bottom: 36px;
}
.legal-info-box p { font-size: .9rem; color: var(--sub); line-height: 1.75; margin-bottom: 4px; }
.legal-info-box p:last-child { margin-bottom: 0; }
.legal-info-box strong { color: var(--text); }
.legal-wrap h2 {
  font-size: 1.3rem; font-weight: 800; color: var(--text);
  margin: 44px 0 10px; letter-spacing: -.02em;
  padding-top: 8px; border-top: 1px solid var(--border);
}
.legal-wrap h2:first-of-type { border-top: none; margin-top: 0; }
.legal-wrap h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin: 24px 0 8px; }
.legal-wrap p  { font-size: .88rem; color: var(--sub); line-height: 1.82; margin-bottom: 14px; }
.legal-wrap ul { padding-left: 20px; margin-bottom: 14px; }
.legal-wrap ul li { font-size: .88rem; color: var(--sub); line-height: 1.75; margin-bottom: 5px; }
/* lange URLs muessen auf schmalen Displays brechen duerfen */
.legal-wrap a  { color: var(--red); overflow-wrap: anywhere; }
.legal-wrap a:hover { text-decoration: underline; }
/* Buttons behalten ihre eigene Optik, auch innerhalb von .legal-wrap */
.legal-wrap a.btn-red,
.legal-wrap a.btn-send,
.legal-wrap a.btn-ghost-white { color: #fff; }
.legal-wrap a.btn-white { color: var(--red); }
.legal-wrap a.btn-ghost-dark { color: var(--sub); }
.legal-wrap a.btn-ghost-dark:hover { color: var(--red); }
.legal-wrap a.btn-red:hover,
.legal-wrap a.btn-send:hover,
.legal-wrap a.btn-white:hover,
.legal-wrap a.btn-ghost-white:hover,
.legal-wrap a.btn-ghost-dark:hover { text-decoration: none; }

/* CTA STRIP */
.cta-strip {
  background: var(--red); padding: 56px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-strip h2 { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.cta-strip p  { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 6px; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--red);
  padding: 13px 26px; border-radius: var(--r);
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  transition: all var(--t); box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

/* SECTION HEADER */
.s-header { text-align: center; max-width: 700px; margin: 0 auto 16px; }
.s-sub { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-top: 4px; }

/* ABOUT PAGE */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media(max-width:820px){ .about-story { grid-template-columns: 1fr; gap: 36px; } }
.as-img-wrap { position: relative; }
.as-img-main { border-radius: 18px; overflow: hidden; box-shadow: var(--sh2); }
.as-img-main img { width: 100%; height: 360px; object-fit: cover; display: block; }
.as-img-sub {
  position: absolute; bottom: -28px; right: -24px;
  width: 200px; border-radius: 14px; overflow: hidden;
  box-shadow: var(--sh2); border: 4px solid var(--white);
}
.as-img-sub img { width: 100%; height: 140px; object-fit: cover; display: block; }
@media(max-width:820px){ .as-img-sub { display: none; } }
.as-body { padding: 8px 0; }
.as-body > p { font-size: .9rem; color: var(--sub); line-height: 1.8; margin-bottom: 16px; }
.as-badges { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.as-badge { text-align: center; }
.as-badge-num { font-size: 1.7rem; font-weight: 900; color: var(--red); letter-spacing: -.04em; }
.as-badge-lbl { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* CONTACT FORM LAYOUT */
.contact-form-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
@media(max-width:860px){ .contact-form-wrap { grid-template-columns: 1fr; gap: 40px; } }

.contact-hours {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 18px; padding: 32px 28px;
  box-shadow: var(--sh);
}
.hours-table { width: 100%; display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.ht-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.ht-row:last-child { border-bottom: none; }
.ht-day { font-weight: 600; color: var(--text); }
.ht-time { color: var(--sub); }
.ht-closed .ht-day { color: var(--muted); }
.ht-closed .ht-time { color: var(--soft); }
.ht-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--red-pale); border: 1px solid #bcd9f0;
  border-radius: 10px; padding: 12px 14px;
  font-size: .8rem; color: var(--sub); line-height: 1.5; margin-top: 18px;
}
.ht-note a { color: var(--red); font-weight: 700; }
.ht-note svg { flex-shrink: 0; margin-top: 1px; color: var(--red); }

/* CONTACT CARD LINK */
.cc-link { font-size: 1rem; font-weight: 700; color: var(--red); display: block; margin-top: 10px; }
.cc-link:hover { text-decoration: underline; }

/* LEGAL CODE TAG */
.legal-wrap code {
  font-family: monospace; font-size: .82rem;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 5px; padding: 2px 6px; color: var(--text);
}

/* Ruhige Gestaltung und gut sichtbare Tastaturbedienung. */
.hero-kicker { border: 0; background: none; border-radius: 0; padding: 0; color: #fff; letter-spacing: .04em; }
.hero-kicker::before { display: none; }
.hero-sub { color: rgba(255,255,255,.85); }
.hero-photo-frame { border-radius: 6px; box-shadow: none; }
.hero-actions { margin-bottom: 0; }
.svc-card, .cert-card, .contact-card, .contact-hours { border-radius: 6px; box-shadow: none; }
.svc-card:hover, .contact-card:hover { transform: none; box-shadow: none; }
.svc-card:hover .svc-img img, .mosaic-item:hover img { transform: none; }
.svc-chip { display: none; }
.as-img-main { width: 100%; height: 360px; object-fit: cover; border-radius: 6px; box-shadow: none; }
.as-img-sub { height: 140px; object-fit: cover; border-radius: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1a7cbe; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
