/* =========================================================
   Eifler Service — Design System (Light / Rot-Weiß, Logo-Stil)
   Facility Management & Technisches Gebäudemanagement
   ========================================================= */

:root {
  /* Brand */
  --ink:        #1a1a1c;   /* near-black text */
  --ink-2:      #34343a;
  --slate:      #61636b;
  --slate-2:    #8a8c94;
  --line:       #e7e5e2;
  --line-2:     #efedea;
  --paper:      #f7f5f2;   /* warm light gray */
  --paper-2:    #fbfaf8;
  --white:      #ffffff;

  --red:        #cf0a11;   /* Eifler signal red */
  --red-2:      #e5342f;
  --red-ink:    #a10309;
  --red-soft:   #fceceb;
  --red-glow:   rgba(207,10,17,.14);

  --amber:      #f2a417;
  --good:       #1f9d6b;

  /* Typo */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-disp: "Space Grotesk", var(--font-sans);

  /* Radius & shadow */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(26,26,28,.05), 0 2px 6px rgba(26,26,28,.05);
  --shadow:    0 14px 34px -14px rgba(26,26,28,.18);
  --shadow-lg: 0 40px 80px -30px rgba(26,26,28,.28);
  --shadow-red: 0 16px 36px -14px rgba(207,10,17,.42);

  /* Layout */
  --wrap: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1,h2,h3,h4 { font-family: var(--font-disp); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-disp);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }

.h-xl { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--slate); max-width: 60ch; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .92rem 1.5rem; border-radius: 999px;
  font-family: var(--font-disp); font-weight: 600; font-size: .98rem;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s;
  box-shadow: var(--shadow-red);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -16px rgba(207,10,17,.55); background: var(--red-ink); }
.btn:active { transform: translateY(0); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn.light { --bg:#fff; --fg: var(--red-ink); box-shadow: var(--shadow); }
.btn.light:hover { background:#fff; color: var(--red-ink); box-shadow: var(--shadow-lg); }
.btn.sm { padding: .6rem 1.05rem; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-disp); font-weight: 600; color: var(--red-ink); font-size: .95rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(26,26,28,.2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 54px; width: auto; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  padding: .55rem .85rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--red-soft); color: var(--red-ink); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-disp); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--red); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background:#fff; border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position:absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }
body.menu-open .burger span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.nav-menu-mobile { display: none; }

/* =========================================================
   Hero (light)
   ========================================================= */
.hero { position: relative; padding-top: 78px; overflow: hidden; background: var(--white); }
.hero::before {
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 55% at 88% 18%, var(--red-glow), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(242,164,23,.08), transparent 60%);
}
.hero::after {
  content:""; position:absolute; z-index:0; top:-140px; right:-140px; width:520px; height:520px;
  background: radial-gradient(circle, rgba(207,10,17,.06), transparent 70%); border-radius:50%;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,5vw,4rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem);
}
.hero-badge {
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.5rem .95rem; border-radius:999px;
  background: var(--red-soft); border:1px solid rgba(207,10,17,.16);
  font-size:.85rem; font-weight:600; color: var(--red-ink); margin-bottom: 1.5rem;
}
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background: var(--good); box-shadow:0 0 0 4px rgba(31,157,107,.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.4 } }
.hero h1 { max-width: 18ch; }
.hero h1 .red { color: var(--red); }
.hero .slogan { display:block; font-family: var(--font-disp); font-weight:600; font-size: clamp(1rem,1.6vw,1.15rem); letter-spacing:.02em; color: var(--red-ink); margin-bottom: .9rem; }
.hero .slogan span { color: var(--ink); }
.hero .lead { margin-top: 1.4rem; max-width: 50ch; }
.hero-actions { display:flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-trust {
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  display:grid; grid-template-columns: repeat(4, auto); gap: 1.4rem 2rem;
  border-top: 1px solid var(--line); padding-top: 1.9rem; justify-content: start;
}
.hero-trust .num { font-family: var(--font-disp); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); letter-spacing:-.02em; }
.hero-trust .num span { color: var(--red); }
.hero-trust .lbl { font-size: .84rem; color: var(--slate); margin-top:.1rem; }

/* Hero art / mascot */
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .disc {
  position: absolute; width: min(74%, 340px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, var(--paper) 70%);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
}
.hero-art .ring {
  position:absolute; width: min(88%, 400px); aspect-ratio:1; border-radius:50%;
  border: 2px dashed rgba(207,10,17,.25);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .hero-art .ring { animation: none; } }
.hero-art .mascot { position: relative; z-index: 2; width: auto; height: min(58vw, 430px); filter: drop-shadow(0 26px 30px rgba(26,26,28,.22)); }
.hero-art .float-chip {
  position: absolute; z-index: 3; background:#fff; border:1px solid var(--line-2);
  border-radius: 14px; padding: .7rem .95rem; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:.6rem; font-size:.85rem; font-weight:600; font-family:var(--font-disp);
}
.hero-art .float-chip .ic { width:30px; height:30px; border-radius:9px; background: var(--red-soft); color: var(--red); display:grid; place-items:center; }
.hero-art .float-chip .ic svg { width:17px; height:17px; }
.hero-art .chip-a { top: 8%; left: -2%; }
.hero-art .chip-b { bottom: 10%; right: -4%; }

/* =========================================================
   Trust strip (light)
   ========================================================= */
.strip { background: var(--ink); }
.strip .wrap { display:flex; align-items:center; gap: clamp(1.5rem,5vw,4rem); flex-wrap: wrap; justify-content: center; padding-block: 1.5rem; }
.strip .item { display:flex; align-items:center; gap:.6rem; color:#d7d5d2; font-size:.9rem; font-weight:500; }
.strip .item svg { width:20px; height:20px; color: var(--red-2); }

/* =========================================================
   Services
   ========================================================= */
.svc-head { display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem,5vw,3.5rem); }
.svc-head .lead { margin-top: 1rem; }
.svc-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  position: relative; background:#fff; border:1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.9rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow: hidden;
}
.card::before {
  content:""; position:absolute; inset:0 0 auto 0; height:3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .ic {
  width: 56px; height: 56px; border-radius: 15px; display:grid; place-items:center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.35rem;
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.card:hover .ic { background: var(--red); color:#fff; transform: rotate(-6deg); }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.28rem; margin-bottom: .55rem; }
.card p { color: var(--slate); font-size: .98rem; }
.card .tag { position:absolute; top:1.6rem; right:1.6rem; font-family:var(--font-disp); font-size:.72rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--red-ink); background:var(--red-soft); padding:.3rem .6rem; border-radius:999px; }

/* =========================================================
   Feature / Facility Management split
   ========================================================= */
.split { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.split-media .frame {
  position:relative; border-radius: var(--r-xl); overflow:hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.2; background: var(--paper);
}
.split-media .frame img { width:100%; height:100%; object-fit: cover; }
.split-media .badge-float {
  position:absolute; bottom: -22px; left: -22px; background:#fff; border-radius: var(--r);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg); display:flex; align-items:center; gap: .9rem;
  border:1px solid var(--line-2);
}
.split-media .badge-float .bic { width:44px; height:44px; border-radius:12px; background: var(--red); color:#fff; display:grid; place-items:center; flex:none; }
.split-media .badge-float .bic svg { width:22px; height:22px; }
.split-media .badge-float .bt { font-family:var(--font-disp); font-weight:700; font-size:1.05rem; line-height:1.1; }
.split-media .badge-float .bs { font-size:.8rem; color: var(--slate); }
.split-media .badge-float.tr { bottom:auto; top:-22px; left:auto; right:-22px; }

.check-list { list-style:none; margin: 1.8rem 0 0; padding:0; display:grid; gap: .9rem; }
.check-list li { display:flex; gap: .8rem; align-items:flex-start; font-size: 1rem; color: var(--ink); }
.check-list li .ck { width:24px; height:24px; border-radius:50%; background: var(--red-soft); color: var(--red); display:grid; place-items:center; flex:none; margin-top: 2px; }
.check-list li .ck svg { width:14px; height:14px; }
.check-list li b { font-weight: 600; }
.check-list li span { color: var(--slate); font-size:.95rem; }

/* =========================================================
   Facility Management – Tab-Ansicht
   ========================================================= */
.fm-tabs {
  display:inline-flex; flex-wrap:wrap; gap:.3rem; margin-top: clamp(1.8rem,3.5vw,2.6rem);
  padding:.4rem; background: var(--line-2); border-radius:999px;
}
.fm-tab {
  border:0; cursor:pointer; padding:.7rem 1.4rem; border-radius:999px;
  font-family: var(--font-disp); font-weight:600; font-size:.95rem;
  background:transparent; color: var(--ink-2);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.fm-tab:hover { color: var(--red-ink); }
.fm-tab.is-active { background: var(--ink); color:#fff; }
.fm-tab:focus-visible { outline:2px solid var(--red); outline-offset:2px; }

.fm-panel {
  display:grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,4vw,3.5rem);
  margin-top: clamp(2rem,4vw,3rem); align-items:start;
}
.fm-panel[hidden] { display:none; }
.fm-panel-intro h3 { font-size: clamp(1.5rem,2.6vw,2rem); line-height:1.15; }
.fm-panel-intro p { margin-top:1rem; color: var(--slate); font-size:1rem; max-width:40ch; }

.fm-items { display:grid; grid-template-columns: repeat(2,1fr); gap:1rem; }
.fm-item {
  display:flex; gap:.8rem; align-items:flex-start;
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  padding:1.1rem 1.2rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.fm-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.fm-chk { flex:none; color: var(--red); display:grid; place-items:center; margin-top:.15rem; }
.fm-chk svg { width:16px; height:16px; }
.fm-item-txt { display:flex; flex-direction:column; gap:.2rem; }
.fm-item-txt b { font-family: var(--font-disp); font-weight:600; font-size:.98rem; color: var(--ink); }
.fm-item-txt span { font-size:.9rem; color: var(--slate); line-height:1.5; }

/* Objekttypen-Leiste */
.obj-types {
  margin-top: clamp(2rem,4vw,2.8rem); padding: 1.4rem 1.6rem;
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  display:flex; align-items:center; gap:1.2rem 1.6rem; flex-wrap:wrap; justify-content:center;
}
.obj-label {
  font-family: var(--font-disp); font-size:.76rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color: var(--slate);
}
.obj-list { display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; }
.obj-list span {
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.45rem .95rem; border-radius:999px;
  background: var(--red-soft); color: var(--red-ink);
  font-size:.9rem; font-weight:600; font-family: var(--font-disp);
}
.obj-list span::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--red); flex:none; }

/* =========================================================
   Values / Why us (light cards)
   ========================================================= */
.value-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:1.25rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.value {
  background: #fff; border:1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.9rem; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.value .ic { width:52px; height:52px; border-radius:14px; background: var(--red-soft); color: var(--red); display:grid; place-items:center; margin-bottom: 1.2rem; }
.value .ic svg { width:25px; height:25px; }
.value h3 { font-size: 1.2rem; margin-bottom:.5rem; }
.value p { color: var(--slate); font-size:.96rem; }

/* =========================================================
   Process timeline
   ========================================================= */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: clamp(2.5rem,5vw,3.5rem); counter-reset: s; }
.step {
  position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem 2rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.step::before {
  counter-increment: s; content: counter(s,decimal-leading-zero);
  position:absolute; top:.3rem; right:1.1rem; font-family:var(--font-disp); font-weight:700;
  font-size: 3.2rem; line-height:1; color: var(--red-soft); z-index:0; pointer-events:none;
  transition: color .4s var(--ease);
}
.step:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step:hover::before { color: rgba(207,10,17,.18); }
.step-ic {
  position:relative; z-index:1; width:52px; height:52px; border-radius:14px;
  background: var(--red-soft); color: var(--red); display:grid; place-items:center;
  margin-bottom: 1.3rem; transition: background .4s, color .4s, transform .4s var(--ease);
}
.step-ic svg { width:24px; height:24px; }
.step:hover .step-ic { background: var(--red); color:#fff; transform: rotate(-6deg) scale(1.05); }
.step h3 { position:relative; z-index:1; font-size:1.14rem; margin-bottom:.5rem; }
.step p { position:relative; z-index:1; color: var(--slate); font-size:.94rem; }
.step:not(:last-child)::after {
  content:""; position:absolute; top:50%; left:calc(100% + .75rem); z-index:2;
  width:30px; height:30px; transform: translate(-50%,-50%);
  border-radius:50%; background:#fff; border:1px solid var(--line); box-shadow: var(--shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf0a11' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; background-size:13px;
  animation: stepFlow 2.6s ease-in-out infinite;
}
.step.d1:not(:last-child)::after { animation-delay:.25s; }
.step.d2:not(:last-child)::after { animation-delay:.5s; }
@keyframes stepFlow {
  0%,100% { transform: translate(-50%,-50%) translateX(0); }
  50% { transform: translate(-50%,-50%) translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .step:not(:last-child)::after { animation:none; } }

/* =========================================================
   24h Notdienst band
   ========================================================= */
.emergency {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--red-2) 0%, var(--red) 50%, var(--red-2) 100%);
  color:#fff; border-radius: var(--r-xl);
  padding: clamp(2.6rem,5vw,3.8rem) clamp(2rem,5vw,3.8rem);
  display:grid; grid-template-columns: 1fr auto; align-items:center; gap: clamp(1.75rem,4vw,3rem);
  box-shadow: var(--shadow-red);
}
.emergency::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 90% 12%, rgba(255,255,255,.3), transparent 42%),
    radial-gradient(circle at 2% 108%, rgba(242,164,23,.28), transparent 52%),
    radial-gradient(circle at -6% -12%, rgba(161,3,9,.28), transparent 32%);
}
.emergency-ring { position:absolute; border:1.5px solid rgba(255,255,255,.16); border-radius:50%; pointer-events:none; }
.emergency-ring.r1 { width:360px; height:360px; right:-110px; top:-140px; animation: spin 55s linear infinite; }
.emergency-ring.r2 { width:230px; height:230px; right:-50px; bottom:-110px; border-style:dashed; border-color: rgba(255,255,255,.2); animation: spin 40s linear infinite reverse; }
@media (prefers-reduced-motion: reduce) { .emergency-ring { animation:none; } }
.emergency .txt { position:relative; z-index:1; min-width:0; }
.emergency .pill { display:inline-flex; align-items:center; gap:.5rem; background: rgba(255,255,255,.2); padding:.4rem .85rem; border-radius:999px; font-size:.82rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; margin-bottom:1rem; }
.emergency .pill .dot { width:8px; height:8px; border-radius:50%; background:#fff; animation: pulse 1.8s infinite; flex:none; }
.emergency h2 { color:#fff; font-size: clamp(1.7rem,3.2vw,2.5rem); max-width: 17ch; }
.emergency p { color: rgba(255,255,255,.92); margin-top:.7rem; max-width: 46ch; }
.emergency-meta { display:flex; flex-wrap:wrap; column-gap: 1.6rem; row-gap:.6rem; margin-top: 1.6rem; }
.emergency-note {
  display:flex; align-items:flex-start; gap:.7rem;
  margin-top:1.5rem; padding:.9rem 1.1rem;
  background: rgba(0,0,0,.18); border:1px solid rgba(255,255,255,.28);
  border-radius: 14px; max-width: 54ch;
  font-size:.88rem; line-height:1.5; color:#fff;
}
.emergency-note svg { width:18px; height:18px; flex:none; margin-top:.15rem; opacity:.9; }
.emergency-note b { font-weight:700; }
.emergency-note a { text-decoration:underline; text-underline-offset:2px; font-weight:600; }
.emergency-note a:hover { opacity:.85; }
.emergency-meta span { display:flex; align-items:center; gap:.5rem; font-size:.86rem; font-weight:600; color:#fff; white-space:nowrap; }
.emergency-meta svg { width:17px; height:17px; opacity:.85; flex:none; }

.emergency .call-card {
  position:relative; z-index:1; justify-self:end; display:flex; align-items:center; gap:1.1rem;
  background:#fff; border-radius: var(--r-lg); padding: 1.15rem 1.4rem 1.15rem 1.15rem;
  box-shadow: 0 20px 45px -16px rgba(0,0,0,.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.emergency .call-card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px -14px rgba(0,0,0,.42); }
.emergency .call-ic {
  position:relative; width:50px; height:50px; border-radius:50%; background: var(--red-soft); color: var(--red);
  display:grid; place-items:center; flex:none;
}
.emergency .call-ic::before {
  content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--red);
  opacity:.45; animation: ringPulse 2.2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .emergency .call-ic::before { animation:none; } }
.emergency .call-ic svg { width:22px; height:22px; }
@keyframes ringPulse { 0% { transform:scale(.8); opacity:.5; } 100% { transform:scale(1.45); opacity:0; } }
.emergency .call-txt { display:flex; flex-direction:column; gap:.2rem; }
.emergency .call-txt .lbl { font-size:.76rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color: var(--slate); }
.emergency .call-txt .num { font-family:var(--font-disp); font-weight:700; font-size: clamp(1.25rem,2vw,1.55rem); color: var(--ink); letter-spacing:-.01em; white-space:nowrap; }
.emergency .call-arrow {
  width:36px; height:36px; border-radius:50%; background: var(--red-soft); color: var(--red); flex:none;
  display:grid; place-items:center; transition: transform .3s var(--ease), background .3s, color .3s;
}
.emergency .call-arrow svg { width:17px; height:17px; }
.emergency .call-card:hover .call-arrow { background: var(--red); color:#fff; transform: translateX(3px); }

/* =========================================================
   About / stats
   ========================================================= */
.about-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,5vw,4.5rem); align-items:center; }
.stat-row { display:grid; grid-template-columns: repeat(2,1fr); gap:1.25rem; margin-top:2rem; }
.stat { background: #fff; border:1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.stat .n { font-family:var(--font-disp); font-weight:700; font-size: 2rem; letter-spacing:-.02em; }
.stat .n span { color: var(--red); }
.stat .l { color: var(--slate); font-size:.92rem; margin-top:.15rem; }
.quote { border-left: 3px solid var(--red); padding: .3rem 0 .3rem 1.4rem; margin-top: 2rem; font-family: var(--font-disp); font-size: clamp(1.15rem,1.8vw,1.45rem); font-weight: 500; letter-spacing:-.01em; color: var(--ink); line-height:1.35; }
.quote cite { display:block; margin-top:.9rem; font-family: var(--font-sans); font-style: normal; font-weight:500; font-size:.9rem; color: var(--slate); }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem,5vw,4rem); }
.contact-info { display:grid; gap: 1rem; align-content:start; }
.ci-card { display:flex; gap:1rem; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.ci-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.ci-card .ic { width:46px; height:46px; border-radius:12px; background: var(--red-soft); color: var(--red); display:grid; place-items:center; flex:none; }
.ci-card .ic svg { width:22px; height:22px; }
.ci-card .k { font-family:var(--font-disp); font-weight:600; font-size:.95rem; }
.ci-card .v { color: var(--slate); font-size:.95rem; }
.ci-card a.v:hover { color: var(--red-ink); }

.form { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.7rem,3vw,2.4rem); box-shadow: var(--shadow); }
.form .row { display:grid; grid-template-columns: 1fr 1fr; gap:1rem; }
.field { display:flex; flex-direction:column; gap:.4rem; margin-bottom: 1.1rem; }
.field label { font-size:.85rem; font-weight:600; font-family:var(--font-disp); color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border:1px solid var(--line); border-radius: 12px; background: var(--paper-2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--red); background:#fff; box-shadow: 0 0 0 4px rgba(207,10,17,.12);
}
.form .consent { display:flex; gap:.6rem; align-items:flex-start; font-size:.85rem; color: var(--slate); margin-bottom: 1.2rem; }
.form .consent input { margin-top:3px; accent-color: var(--red); width:16px; height:16px; flex:none; }
.form .consent a { color: var(--red-ink); text-decoration: underline; }
.form button { width:100%; justify-content:center; }
.form-note { font-size:.8rem; color:var(--slate-2); text-align:center; margin-top:.9rem; }
.form-error {
  margin-top:.9rem; padding:.85rem 1rem; border-radius:12px;
  background: var(--red-soft); border:1px solid rgba(207,10,17,.25);
  color: var(--red-ink); font-size:.9rem; line-height:1.5;
}
.form-success {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.8rem,3vw,2.6rem); box-shadow: var(--shadow); text-align:center;
}
.form-success:focus { outline:2px solid var(--red); outline-offset:3px; }
.form-success .fs-ic {
  width:56px; height:56px; border-radius:50%; margin:0 auto 1.2rem;
  background: var(--red-soft); color: var(--red); display:grid; place-items:center;
}
.form-success .fs-ic svg { width:26px; height:26px; }
.form-success h3 { font-size:1.3rem; margin-bottom:.6rem; }
.form-success p { color: var(--slate); font-size:.98rem; max-width:44ch; margin-inline:auto; }
.form-success a { color: var(--red-ink); font-weight:600; text-decoration:underline; text-underline-offset:2px; }

/* =========================================================
   Footer (dark charcoal anchor)
   ========================================================= */
.footer { background: var(--ink); color:#c9c7c3; padding-block: clamp(3.5rem,6vw,5rem) 2rem; }
.footer h2 { color:#fff; font-size:1rem; margin-bottom:1.1rem; letter-spacing: .02em; }
.footer-top { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom:1px solid rgba(255,255,255,.1); }
/* Logo auf dunklem Grund: auf hellem Feld statt weiss eingefaerbt,
   sonst verschmelzen Schrift und Maskottchen zu einer Flaeche */
.footer .brand { display:inline-flex; background:#fff; padding:.55rem .8rem;
  border-radius:12px; margin-bottom:1.1rem; }
.footer .brand img { height: 44px; width:auto; }
.footer p.desc { font-size:.94rem; color:#a3a19d; max-width: 34ch; }
.footer ul { list-style:none; margin:0; padding:0; display:grid; gap:.7rem; }
.footer ul a { font-size:.94rem; color:#bdbbb7; transition:color .2s; }
.footer ul a:hover { color: var(--red-2); }
.footer .fcontact li { display:flex; gap:.6rem; font-size:.94rem; color:#bdbbb7; }
.footer .fcontact svg { width:17px; height:17px; color: var(--red-2); flex:none; margin-top:3px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-top: 1.8rem; font-size:.86rem; color:#96948f; }
.footer-bottom .fl { display:flex; gap:1.4rem; flex-wrap:wrap; }
.footer-bottom a:hover { color: var(--red-2); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* =========================================================
   Legal pages
   ========================================================= */
.legal { padding-top: 130px; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size:1.35rem; margin: 2.2rem 0 .8rem; }
.legal p, .legal address { color: var(--slate); font-style: normal; margin-bottom: 1rem; max-width: 70ch; }
.legal a { color: var(--red-ink); }
.legal h3 { font-size: 1.08rem; margin: 1.8rem 0 .5rem; color: var(--ink); }
.legal-intro { font-size: 1.05rem; color: var(--slate); max-width: 70ch; margin-bottom: 2.4rem; }
.legal-list { margin: 0 0 1.4rem; padding: 0; list-style: none; display: grid; gap: .6rem; max-width: 70ch; }
.legal-list li { position: relative; padding-left: 1.4rem; color: var(--slate); }
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.legal-list li b { color: var(--ink); font-weight: 600; }
.legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: .1em .35em;
}
/* Das Widerspruchsrecht nach Art. 21 DSGVO muss deutlich abgesetzt stehen */
.legal-box {
  margin: 2.2rem 0; padding: 1.5rem 1.7rem; max-width: 70ch;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--r);
}
.legal-box h3 { margin-top: 0; }
.legal-box p { margin-bottom: .9rem; }
.legal-box p:last-child { margin-bottom: 0; }
.back-home { display:inline-flex; align-items:center; gap:.5rem; margin-top:2.5rem; font-family:var(--font-disp); font-weight:600; color: var(--red-ink); }

/* =========================================================
   AGB-Seite
   ========================================================= */
.agb-meta {
  display:grid; grid-template-columns: repeat(3,1fr); gap:1rem;
  margin: 2rem 0 2.5rem; padding:1.4rem 1.6rem;
  background: var(--paper); border:1px solid var(--line); border-radius: var(--r);
}
.agb-meta-k { font-family:var(--font-disp); font-size:.74rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--slate); margin-bottom:.35rem; }
.agb-meta-v { font-size:.95rem; color:var(--ink); }
.agb-meta-v a { color:var(--red-ink); font-weight:600; text-decoration:underline; text-underline-offset:2px; }

.agb-body { max-width: 78ch; }
.agb-teil {
  font-size: clamp(1.35rem,2.4vw,1.7rem); margin: 3rem 0 1.4rem;
  padding-bottom:.7rem; border-bottom:2px solid var(--red);
}
.agb-rom { font-size:1.12rem; color:var(--red-ink); margin:2rem 0 1rem; }
.agb-para {
  font-size:1.08rem; margin:2rem 0 .9rem;
  display:flex; gap:.6rem; align-items:baseline;
}
.agb-para span { color: var(--red); flex:none; font-weight:700; }
.agb-abs { display:flex; gap:.85rem; margin-bottom:.9rem; color:var(--slate); font-size:.96rem; line-height:1.7; }
.agb-num { flex:none; width:2.9rem; font-family:var(--font-disp); font-weight:600; color:var(--ink); }
.agb-list { list-style:none; margin:.2rem 0 1.1rem 3.75rem; padding:0; display:grid; gap:.5rem; }
.agb-list li { display:flex; gap:.7rem; color:var(--slate); font-size:.96rem; }
.agb-mark { flex:none; font-weight:600; color:var(--red-ink); }

/* =========================================================
   Hinweisbalken (kein Consent-Banner, reine Information)
   ========================================================= */
.notice-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: 0 clamp(.8rem,3vw,1.5rem) clamp(.8rem,3vw,1.5rem);
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.notice-bar.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.notice-inner {
  width: 100%; max-width: 940px; margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-lg);
}
.notice-ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: var(--red-soft); color: var(--red);
  display: grid; place-items: center;
}
.notice-ic svg { width: 19px; height: 19px; }
.notice-txt { font-size: .89rem; line-height: 1.5; color: var(--slate); }
.notice-txt b { color: var(--ink); font-weight: 600; }
.notice-txt a { color: var(--red-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.notice-bar .btn { flex: none; }
@media (prefers-reduced-motion: reduce) {
  .notice-bar { transition: none; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; margin-inline: auto; }
  .hero-art .mascot { height: min(50vw, 300px); }
  .hero-art .float-chip { display: none; }
  .hero-trust { grid-template-columns: repeat(4,auto); }
  .svc-grid, .value-grid { grid-template-columns: repeat(2,1fr); }
  .fm-panel { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step::after { display:none; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 1150px) {
  .nav-links, .nav-phone { display:none; }
  .burger { display:block; }
  .nav-menu-mobile {
    position: fixed; inset: 78px 0 auto 0; background:#fff; border-bottom:1px solid var(--line);
    padding: 1rem 1.15rem 1.5rem; display:grid !important; gap:.3rem;
    transform: translateY(-12px); opacity:0; pointer-events:none; transition:.3s var(--ease);
    box-shadow: var(--shadow-lg); z-index:99;
  }
  body.menu-open .nav-menu-mobile { transform:none; opacity:1; pointer-events:auto; }
  .nav-menu-mobile a { padding:.85rem 1rem; border-radius:12px; font-weight:500; font-size:1.05rem; }
  .nav-menu-mobile a:hover { background: var(--red-soft); }
  .nav-menu-mobile .btn { margin-top:.6rem; justify-content:center; }
}
@media (max-width: 760px) {
  .emergency { grid-template-columns: 1fr; }
  .emergency .call-card { justify-self:stretch; }
}
@media (max-width: 560px) {
  .hero-trust { grid-template-columns: repeat(2,1fr); gap: 1.4rem 1rem; }
  .svc-grid, .value-grid, .steps { grid-template-columns: 1fr; }
  .fm-items { grid-template-columns: 1fr; }
  .fm-tabs { display:flex; width:100%; }
  .fm-tab { flex:1; padding:.7rem .6rem; font-size:.86rem; }
  .obj-types { flex-direction:column; gap:.9rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .notice-inner { flex-wrap: wrap; gap: .75rem; }
  .notice-txt { flex: 1 1 100%; order: 2; }
  .notice-bar .btn { order: 3; margin-left: auto; }
  .agb-meta { grid-template-columns: 1fr; }
  .agb-abs { flex-direction:column; gap:.2rem; }
  .agb-list { margin-left:0; }
  .split-media .badge-float { left: 12px; right: 12px; bottom: 12px; }
  .split-media .badge-float.tr { top: 12px; }
  .hero-art .chip-a { left: 0; } .hero-art .chip-b { right: 0; }
  .emergency .call-card { padding: 1rem; gap: .8rem; }
  .emergency .call-txt .lbl { font-size: .68rem; letter-spacing: .02em; white-space: nowrap; }
}

/* =========================================================
   Print / PDF (DIN A3)
   Ziel: 1:1-Abbild des Web-Designs auf Papier.
   Wichtig: .reveal wird im Druck nie per IntersectionObserver
   sichtbar geschaltet – ohne Override bleiben ganze Sektionen leer.
   ========================================================= */
@media print {
  @page { size: A3; margin: 10mm; }

  html, body {
    background: #fff !important;
    font-size: 18px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* Scroll-Reveals hart sichtbar schalten */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* Kein fixiertes Layout auf Papier */
  .site-header { position: static !important; box-shadow: none !important; background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid var(--line) !important; }
  .hero { padding-top: 0 !important; }
  .legal { padding-top: 1.5rem !important; }

  /* Immer die Desktop-Navigation zeigen, nie das Burger-Menü */
  .nav-links, .nav-phone { display: flex !important; }
  .burger, .nav-menu-mobile { display: none !important; }

  /* Volle Seitenbreite nutzen – der Rand kommt von @page */
  .wrap { max-width: none !important; padding-inline: 0 !important; }

  /* Sektionen etwas kompakter, damit weniger Seiten entstehen */
  .section { padding-block: 2.6rem !important; }

  /* Nichts mitten im Element umbrechen */
  .card, .value, .step, .ci-card, .stat, .quote, .emergency,
  .split-media, .form, .strip, .hero-trust, .footer-top, blockquote {
    break-inside: avoid; page-break-inside: avoid;
  }
  h1, h2, h3, h4 { break-after: avoid; page-break-after: avoid; }
  .svc-head, .center { break-after: avoid; page-break-after: avoid; }

  /* Animationen einfrieren */
  .hero-art .ring, .emergency-ring, .hero-badge .dot,
  .emergency .pill .dot, .emergency .call-ic::before,
  .step:not(:last-child)::after { animation: none !important; }

  /* Tabs auf Papier: alle drei Bereiche untereinander zeigen */
  .fm-tabs { display:none !important; }
  .fm-panel[hidden] { display:grid !important; }
  .fm-panel { break-inside: avoid; page-break-inside: avoid; margin-top:2rem !important; }

  /* Interaktives hat auf Papier keinen Nutzen */
  .form button, .form-note { display: none !important; }
}
