/*
 * ============================================================
 *  AKO Industriereinigung GmbH – Zentrales Stylesheet
 *  ako-styles.css
 * ============================================================
 *
 *  Einbindung in jede Seite:
 *  <link rel="stylesheet" href="ako-styles.css">
 *
 *  Seitenspezifische Akzentfarben werden per CSS-Variable
 *  im <style>-Block der jeweiligen Seite überschrieben:
 *
 *    :root {
 *      --accent:       #3a2a1a;   <- Titelstreifen-Farbe
 *      --accent-dot:   #7a4a1a;   <- Sidebar-Dot & Hover
 *      --pill-bg:      #fdf6ee;   <- Sidebar-Pill Hintergrund
 *      --info-border:  #7a4a1a;   <- Info-Box Rahmen
 *      --info-bg:      #fdf6ee;   <- Info-Box Hintergrund
 *      --info-label:   #7a4a1a;   <- Info-Box Label-Farbe
 *      --list-arrow:   #7a4a1a;   <- Pfeil in Aufzählungen
 *    }
 *
 *  Akzentfarben je Unterseite:
 *    Biogasanlagen:      #2a6a2a (Grün)
 *    Entsorgung:         #5a4a6a (Lila)
 *    Industriereinigung: #2c4a6a (Stahlblau)
 *    Kraftwerksservice:  #3a2a1a (Braun)
 *    Altbausanierung:    #7a4a1a (Rostbraun)
 *    24h Notdienst:      #c0392b (Rot)
 *
 * ============================================================
 *  ÄNDERUNGSHISTORIE
 *  2025-06  Initiale Version – 4 Unterseiten
 * ============================================================
 */

/* ============================================================
   1. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Comic+Neue:ital,wght@0,400;0,700;1,400&family=Oswald:wght@400;600;700&display=swap');


/* ============================================================
   2. DESIGN TOKENS (CSS-Variablen)
   ============================================================ */
:root {
  /* Markenfarben */
  --yellow:       #f5c518;
  --orange:       #e8730a;
  --red:          #c0392b;
  --ink:          #1a1a1a;
  --ink-deep:     #0d0d0d;
  --paper:        #e8e0d0;
  --paper-light:  #f8f5ee;
  --paper-mid:    #ede8dc;
  --white:        #ffffff;

  /* Schriften */
  --font-comic:   'Bangers', cursive;           /* Headlines, CTAs, Zahlen */
  --font-ui:      'Oswald', sans-serif;         /* Navigation, Labels, Listen */
  --font-body:    'Comic Neue', cursive;        /* Fließtext */

  /* !! TELEFONNUMMERN – bewusst Oswald statt Bangers !!
     Bangers unterscheidet 1 und 7 kaum.
     Oswald hat klare, eindeutige Ziffern. */
  --font-phone:   'Oswald', sans-serif;

  /* Seitenspezifische Akzentfarbe (wird pro Seite überschrieben) */
  --accent:       #2c4a6a;
  --accent-dot:   #2c4a6a;
  --pill-bg:      #f0f4f8;
  --info-border:  #2c4a6a;
  --info-bg:      #f0f4f8;
  --info-label:   #2c4a6a;
  --list-arrow:   #2c4a6a;
  --accent-dark:  #173752;   /* dunklere Akzentschattierung, pro Seite überschrieben */
  --seo-label:    '';        /* Label im .seo-intro::before, pro Service-Seite gesetzt */
  --hero-pos:     center;    /* object-position im Service-Hero */

  /* Abstände */
  --gap:          1.5rem;
  --border:       3px solid var(--ink);
  --border-thick: 4px solid var(--ink);
  --shadow:       4px 4px 0 var(--ink);
  --shadow-sm:    3px 3px 0 var(--ink);
}


/* ============================================================
   3. RESET & BASIS
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:  var(--paper);
  color:       var(--ink);
  overflow-x:  hidden;
}


/* ============================================================
   4. TYPOGRAFIE
   ============================================================ */

/* Comic-Headline (Bangers) */
.t-headline {
  font-family: var(--font-comic);
  letter-spacing: 2px;
  line-height: 1;
}

/* UI-Text (Oswald) */
.t-ui {
  font-family: var(--font-ui);
  letter-spacing: 1px;
}

/* Fließtext */
.t-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

/* ── TELEFONNUMMERN ──────────────────────────────────────────
   Alle Elemente mit class="phone" oder data-phone
   verwenden Oswald für eindeutige Zifferndarstellung.
   Gilt auch für alle <a href="tel:..."> Links.
   ─────────────────────────────────────────────────────────── */
.phone,
[data-phone],
a[href^="tel"] {
  font-family:    var(--font-phone) !important;
  font-weight:    700;
  letter-spacing: 2px;
  font-style:     normal;
}

/* Telefon groß (Notdienst-CTA) */
.phone-lg {
  font-size:      1.5rem;
  letter-spacing: 3px;
}

/* Telefon mittel (Sidebar, Inline) */
.phone-md {
  font-size:      1.1rem;
  letter-spacing: 2px;
}


/* ============================================================
   5. NAVIGATION
   ============================================================ */
.ako-nav {
  background:    var(--ink);
  border-bottom: 4px solid var(--yellow);
  position:      sticky;
  top:           0;
  z-index:       900;
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gap); height: 56px;
}

/* ── SVG LOGO ────────────────────────────────────────────
   Alle Logo-Varianten nutzen inline <symbol> via <use>.
   Niemals Bangers-Text als Logo verwenden.
   ─────────────────────────────────────────────────────── */

/* Wrapper-Link in der Nav */
.logo-nav {
  display:         flex;
  align-items:     center;
  gap:             .7rem;
  text-decoration: none;
  flex-shrink:     0;
}

/* Der weiße Außenrahmen ist bereits im SVG-Symbol eingearbeitet –
   kein CSS outline nötig. Größen als einzige Property.           */
.ako-logo-nav { width: 80px;  height: 48px;  display: block; }
.ako-logo-md  { width: 110px; height: 65px;  display: block; }

/* Große Variante (Hero-Panel Startseite) */
.ako-logo-lg {
  width:   160px;
  height:  95px;
  display: block;
}

/* Vertikales Logo für die linke Header-Spalte:
   Aufrecht stehend, nicht gedreht – passt besser
   in die schmale Spalte                              */
.ako-logo-col {
  width:      120px;   /* füllt die 180px Spalte gut aus */
  height:     71px;
  display:    block;
  /* Weißer Rahmen damit Logo auf schwarzem Bg sichtbar */
  outline:    3px solid rgba(255,255,255,0.2);
  outline-offset: 3px;
}

/* Kleiner Schriftzug neben Nav-Logo */
.logo-nav-sub {
  font-family:    var(--font-ui);
  font-weight:    400;
  font-size:      .58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:          #d6d6d6;
  line-height:    1.5;
}

/* ── LINKE HEADER-SPALTE – Adress-Block ──────────────
   Logo + Adresse, Breite = Logo-Breite (120px)      */
.col-address {
  position:   relative;
  z-index:    1;
  display:    flex;
  flex-direction: column;
  align-items: center;
  gap:         .6rem;
  width:       120px;   /* gleiche Breite wie .ako-logo-col */
}
.col-address-text {
  font-family:    var(--font-ui);
  font-size:      .55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          #d6d6d6;
  text-align:     center;
  line-height:    1.6;
  width:          120px;  /* exakt Logo-Breite */
}
.col-address-text strong {
  display: block;
  color:   #f5c518;
  font-size: .6rem;
  letter-spacing: 2px;
  margin-bottom: .15rem;
}
.col-divider {
  width:      120px;
  height:     2px;
  background: var(--orange);
  position:   relative;
  z-index:    1;
}

.nav-links { list-style: none; display: flex; gap: 0; }
.nav-links a {
  font-family:    var(--font-ui);
  font-weight:    600;
  font-size:      .75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          #f0f0f0;
  text-decoration:none;
  padding:        .4rem .85rem;
  border:         1.5px solid transparent;
  transition:     all .15s;
  display:        block;
}
.nav-links a:hover       { color: var(--yellow); border-color: var(--yellow); }
.nav-links a.active-nav  { color: var(--yellow); border-bottom: 2px solid var(--yellow); }

.nav-notdienst {
  background:    var(--red)  !important;
  color:         var(--white)!important;
  border-color:  var(--red)  !important;
  /* Telefonnummer in Nav – Oswald */
  font-family:   var(--font-phone) !important;
  animation:     pulse-nav 2.5s infinite;
}
@keyframes pulse-nav {
  0%,100% { box-shadow: 0 0 0 0   rgba(192,57,43,.7); }
  50%     { box-shadow: 0 0 0 5px rgba(192,57,43,0);  }
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none;
  border: 2px solid var(--yellow); padding: 7px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--yellow); }

/* Mobile Menu */
.mobile-menu {
  display: none; background: var(--ink);
  border-top: 2px solid var(--yellow);
  position: absolute; top: 56px; left: 0; right: 0; z-index: 800;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-family: var(--font-ui); font-size: .9rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: #ccc; text-decoration: none;
  padding: .8rem var(--gap);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu a:hover          { color: var(--yellow); }
.mobile-menu a.mobile-notdienst { color: var(--red); font-weight: 700; }
/* Telefonnummer im Mobile-Menü */
.mobile-menu a[href^="tel"]   { font-family: var(--font-phone) !important; }


/* ============================================================
   6. BREADCRUMB
   ============================================================ */
.breadcrumb {
  background:    var(--ink);
  padding:       .35rem 0;
  border-bottom: 2px solid #2a2a2a;
  position:      relative;
  z-index:       1;
}
.bc-inner {
  max-width:   1100px; margin: 0 auto; padding: 0 var(--gap);
  display:     flex; align-items: center; gap: .4rem;
  font-family: var(--font-ui);
  font-size:   .6rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.bc-inner a           { color: #d6d6d6; text-decoration: none; }
.bc-inner a:hover     { color: var(--yellow); }
.bc-inner span        { color: var(--yellow); }
.bc-sep               { color: #444; }


/* ============================================================
   7. PAGE WRAPPER
   ============================================================ */
.page { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; padding: 0 1rem; }


/* ============================================================
   8. HERO HEADER
   ============================================================ */
.page-header {
  display:       grid;
  grid-template-columns: 180px 1fr;
  border:        var(--border);
  box-shadow:    6px 6px 0 var(--ink);
  margin-top:    1.25rem;
  min-height:    300px;
}

/* Linke Logo-Spalte */
.header-logo-col {
  background: var(--ink);
  display:    flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .7rem; padding: 1.5rem 1rem;
  border-right: 4px solid var(--yellow);
  position: relative; overflow: hidden;
}
.header-logo-col::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 7px 7px;
}
/* Linke Header-Spalte: Logo + Adress-Block */
.vert-logo-wrap {
  position:        relative;
  z-index:         1;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             .8rem;
  width:           100%;
}
.vert-logo { display: none; }
.vert-sub {
  font-family: var(--font-ui); font-size: .52rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: #d6d6d6; text-align: center;
  position: relative; z-index: 1; line-height: 1.4;
}
.vert-divider { width: 38px; height: 3px; background: var(--orange); position: relative; z-index: 1; }
.vert-location {
  font-family: var(--font-ui); font-size: .65rem;
  letter-spacing: 2px; color: var(--yellow); text-align: center;
  border: 1.5px solid var(--yellow); padding: 3px 7px;
  position: relative; z-index: 1;
}

/* Rechte Panels */
.header-panels  { display: grid; grid-template-rows: auto 1fr; }
.header-lower   { display: grid; grid-template-columns: 1fr 1fr; }

/* Titelstreifen (Akzentfarbe via --accent) */
.title-strip {
  background: var(--accent);
  padding: .9rem 2rem; border-bottom: var(--border);
  position: relative; overflow: hidden;
}
.title-strip::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 8px,
    rgba(0,0,0,.08) 8px, rgba(0,0,0,.08) 10px
  );
}
.title-kat {
  font-family: var(--font-ui); font-size: .58rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .2rem; position: relative; z-index: 1;
}
.title-h1 {
  font-family: var(--font-comic);
  font-size:   clamp(2.6rem, 4.8vw, 4rem);
  letter-spacing: 3px; line-height: .95;
  color: var(--white);
  text-shadow: 4px 4px 0 rgba(0,0,0,.45);
  position: relative; z-index: 1;
}
.title-badges  { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; position: relative; z-index: 1; }
.title-badge {
  border: 2px solid rgba(255,255,255,.55); color: var(--white);
  font-family: var(--font-ui); font-size: .6rem; font-weight: 700;
  letter-spacing: 2px; padding: 3px 10px;
  text-transform: uppercase; background: rgba(0,0,0,.28);
}

/* Header-Bild */
.header-img {
  position: relative; border-right: var(--border); overflow: hidden;
  background: linear-gradient(155deg,#2a1a0a,#1a1005); min-height: 200px;
}
.header-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.65);
  font-family: var(--font-ui); font-size: .52rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: #fff; padding: 5px 8px;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Sprechblase */
.speech {
  position: absolute; z-index: 20;
  background: var(--white); border: 2.5px solid var(--ink);
  border-radius: 14px;
  font-family: var(--font-body); font-weight: 700;
  font-size: .75rem; line-height: 1.3;
  padding: 7px 11px; text-align: center; max-width: 165px;
}
.speech::after  { content: ''; position: absolute; bottom: -13px; left: 18px; border: 7px solid transparent; border-top-color: var(--ink); }
.speech::before { content: ''; position: absolute; bottom:  -9px; left: 20px; border: 6px solid transparent; border-top-color: var(--white); z-index: 1; }

/* Highlights-Panel */
.header-highlights { background: var(--ink); padding: 1.2rem 1.5rem; }
.hl-title {
  font-family: var(--font-ui); font-size: .6rem;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--yellow); margin-bottom: .9rem; font-weight: 700;
  padding-bottom: .4rem; border-bottom: 1px solid #333;
}
.hl-item {
  display: flex; align-items: flex-start; gap: .8rem;
  margin-bottom: .85rem; padding-bottom: .85rem;
  border-bottom: 1px dashed #2a2a2a;
}
.hl-item:last-child { border-bottom: none; margin-bottom: 0; }
.hl-num {
  font-family: var(--font-comic); font-size: 2rem; line-height: 1;
  color: var(--orange); flex-shrink: 0; width: 30px;
  text-shadow: 2px 2px 0 rgba(0,0,0,.4);
}
.hl-text strong {
  display: block; font-family: var(--font-ui);
  font-size: .75rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 1px;
}
.hl-text span { font-size: .75rem; color: #e0e0e0; line-height: 1.4; }


/* ============================================================
   9. HAUPT-LAYOUT (Content + Sidebar) – COMIC PANEL MODUS
   Sektionen sind einzelne Panels mit Tintenrand + Schatten,
   dazwischen sichtbare Papier-Rinnen (Gutter) wie im Comic.
   ============================================================ */
.main-wrap {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 1.25rem;
  border: none;
  background: transparent;
  padding: 1.5rem 0 0.5rem;
}
.main-content { background: transparent; padding: 0; border-right: none; }
.sidebar      { background: transparent; padding: 0; }


/* ============================================================
   10. CONTENT-ELEMENTE
   ============================================================ */

/* Jede Sektion = eigenes Comic-Panel */
.section-block {
  background: var(--white);
  border: 3px solid var(--ink);
  !-box-shadow: 6px 6px 0 var(--ink);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}
/* Panel-Ecke oben rechts – kleines Comic-Dreieck */
.section-block::after {
  content: '';
  position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 22px 22px 0;
  border-color: transparent var(--yellow) transparent transparent;
}

.content-h2 {
  font-family: var(--font-comic); font-size: 1.75rem;
  letter-spacing: 1.5px; color: var(--ink);
  margin-bottom: .8rem; padding-bottom: 0;
  border-bottom: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
/* Schräger gelber Marker hinter der Überschrift */
.content-h2::before {
  content: '';
  position: absolute;
  left: -6px; right: -10px; bottom: 2px;
  height: 45%;
  background: var(--yellow);
  transform: skewX(-12deg) rotate(-1deg);
  z-index: -1;
}

.content-p { font-size: 1rem; line-height: 1.7; color: #242424; margin-bottom: .9rem; }

/* Listen */
.content-ul { list-style: none; margin: .5rem 0 .8rem; }
.content-ul li {
  font-family: var(--font-ui); font-size: .9rem;
  letter-spacing: .5px; color: #303030;
  padding: 5px 0; border-bottom: 1px dashed #d8d0c0;
  display: flex; align-items: flex-start; gap: .5rem; line-height: 1.4;
}
.content-ul li::before {
  content: '▸'; color: var(--list-arrow);
  font-size: .7rem; flex-shrink: 0; margin-top: 2px;
}
.content-ul li:last-child { border-bottom: none; }

/* Zweispaltige Liste */
.list-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: .5rem 0 .8rem; }

/* Anlagen-/Segment-Karten */
.segment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 2.5px solid var(--ink); margin: 1rem 0; }
.seg-card { border-right: 2px solid var(--ink); overflow: hidden; }
.seg-card:last-child { border-right: none; }
.seg-card-hd {
  background: var(--accent); padding: .7rem .9rem;
  border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.seg-icon  { font-size: 1.3rem; line-height: 1; }
.seg-title { font-family: var(--font-comic); font-size: 1.1rem; letter-spacing: 1px; color: var(--white); line-height: 1.1; }
.seg-body  { padding: .8rem .9rem; background: var(--white); }
.seg-ul    { list-style: none; }
.seg-ul li {
  font-family: var(--font-ui); font-size: .72rem;
  letter-spacing: .5px; color: #444;
  padding: 3px 0; border-bottom: 1px dashed #e8e0d0;
  display: flex; align-items: flex-start; gap: .4rem; line-height: 1.35;
}
.seg-ul li::before { content: '▸'; color: var(--orange); font-size: .6rem; flex-shrink: 0; margin-top: 2px; }
.seg-ul li:last-child { border-bottom: none; }

/* Prozess-Schritte */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 2.5px solid var(--ink); margin: 1rem 0; }
.step { padding: 1rem .85rem; border-right: 2px solid var(--ink); position: relative; background: var(--white); transition: background .15s; }
.step:last-child { border-right: none; }
.step:hover { background: #faf8f2; }
.step-num   { font-family: var(--font-comic); font-size: 2rem; line-height: 1; color: var(--orange); margin-bottom: .25rem; }
.step-title { font-family: var(--font-ui); font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: .25rem; }
.step-text  { font-size: .8rem; line-height: 1.45; color: #3a3a3a; }
.step::after { content: '▶'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--accent-dot); font-size: .75rem; z-index: 1; }
.step:last-child::after { display: none; }

/* Technische Daten Tabelle */
.tech-table { width: 100%; border-collapse: collapse; border: 2.5px solid var(--ink); margin: 1rem 0; }
.tech-table th {
  background: var(--accent); color: var(--yellow);
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: .5rem .8rem; text-align: left; border: 1px solid rgba(0,0,0,.3);
}
.tech-table td { font-family: var(--font-ui); font-size: .78rem; color: #333; padding: .45rem .8rem; border: 1px solid #d0c8b8; letter-spacing: .3px; }
.tech-table tr:nth-child(even) td { background: #faf8f2; }
.tech-table tr:hover td { background: #f5f0e8; }
.tech-val { font-weight: 700; color: var(--accent-dot); }
/* Telefonnummern in Tabellen */
.tech-table td a[href^="tel"],
.tech-table .tech-val[data-phone] {
  font-family: var(--font-phone) !important;
}

/* Info-Box */
.info-box {
  border: 2.5px solid var(--info-border); background: var(--info-bg);
  padding: 1rem; margin: 1rem 0; display: flex; gap: .8rem; align-items: flex-start;
}
.info-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.info-text strong { display: block; font-family: var(--font-ui); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--info-label); margin-bottom: .2rem; }
.info-text p { font-size: .9rem; color: #333; line-height: 1.6; }

/* Warn-Box */
.warn-box {
  border: 2.5px solid var(--red); background: #fff5f5;
  padding: 1rem; margin: 1rem 0; display: flex; gap: .8rem; align-items: flex-start;
}
.warn-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.warn-text strong { display: block; font-family: var(--font-ui); font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: .2rem; }
.warn-text p { font-size: .8rem; color: #555; line-height: 1.5; }

/* Compliance-Strip */
.compliance-strip {
  background: var(--ink); border: 2.5px solid var(--ink);
  padding: 1rem 1.2rem; margin: 1rem 0;
  display: flex; align-items: flex-start; gap: 1rem;
}
.cs-title { font-family: var(--font-comic); font-size: 1.1rem; letter-spacing: 2px; color: var(--yellow); white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.cs-text  { font-size: .78rem; color: #aaa; line-height: 1.5; }
.cs-text strong { color: var(--yellow); }

/* Material-Karten-Grid */
.material-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 2.5px solid var(--ink); margin: 1rem 0; }
.mat-card { padding: .9rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white); }
.mat-card:nth-child(3n)       { border-right: none; }
.mat-card:nth-last-child(-n+3){ border-bottom: none; }
.mat-icon  { font-size: 1.5rem; margin-bottom: .3rem; display: block; }
.mat-title { font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); margin-bottom: .2rem; }
.mat-text  { font-size: .72rem; color: #666; line-height: 1.4; }

/* Bilder-Grid */
.img-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 2.5px solid var(--ink); margin: 1rem 0; }
.img-cell { border-right: 2px solid var(--ink); position: relative; overflow: hidden; }
.img-cell:last-child { border-right: none; }
.img-cell img { width: 100%; height: 130px; object-fit: cover; display: block; transition: transform .2s; }
.img-cell img:hover { transform: scale(1.02); }
.img-ph-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  font-family: var(--font-ui); font-size: .5rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: #fff;
  padding: 4px; text-align: center; border-top: 1px solid rgba(255,255,255,.15);
}

/* 3-Spalten Bild-Grid */
.img-grid-3 { grid-template-columns: repeat(3,1fr); }


/* ============================================================
   11. NOTDIENST-STRIP
   ============================================================ */
.nd-strip {
  background: var(--red); border: 2.5px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; gap: 1rem; flex-wrap: wrap;
  box-shadow: var(--shadow); margin: 1.5rem 0;
  position: relative; overflow: hidden;
}
.nd-strip::before {
  content: '!!! NOTFALL !!! NOTFALL !!! NOTFALL !!! NOTFALL !!!';
  position: absolute; top: 0; left: 0;
  font-family: var(--font-ui); font-size: .55rem; font-weight: 700;
  letter-spacing: 2px; color: rgba(0,0,0,.15); white-space: nowrap; padding: 2px 0;
}
.nd-text  { color: var(--white); }
.nd-badge {
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-comic); font-size: .8rem;
  letter-spacing: 3px; padding: 2px 8px;
  display: inline-block; margin-bottom: .25rem;
}
.nd-title {
  font-family: var(--font-comic); font-size: 1.9rem;
  letter-spacing: 2px; line-height: 1;
  text-shadow: 2px 2px 0 rgba(0,0,0,.3);
}
.nd-sub { font-family: var(--font-ui); font-size: .78rem; letter-spacing: 1px; opacity: .9; margin-top: .15rem; }
.nd-btns  { display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; }
.nd-btn {
  /* Telefonnummer-Button: Oswald für klare Ziffern */
  font-family:    var(--font-phone) !important;
  font-weight:    700;
  font-size:      1.2rem;
  letter-spacing: 3px;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink);
  padding: .45rem 1.4rem; text-decoration: none;
  box-shadow: var(--shadow); display: inline-block; white-space: nowrap; transition: all .1s;
}
.nd-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.nd-btn.secondary { background: transparent; color: var(--white); border-color: var(--white); box-shadow: 4px 4px 0 rgba(255,255,255,.3); }


/* ============================================================
   12. FAQ
   ============================================================ */
.faq-intro { font-size: .9rem; color: #444; font-family: var(--font-ui); letter-spacing: .5px; margin-bottom: 1rem; line-height: 1.55; }
.faq-item  { border: 2.5px solid var(--ink); margin-bottom: .5rem; background: var(--white); overflow: hidden; box-shadow: 3px 3px 0 var(--ink); }
.faq-item:last-child { margin-bottom: 0; }

.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1rem; cursor: pointer; user-select: none; transition: background .12s;
}
.faq-q:hover  { background: var(--paper-light); }
.faq-q.open   { background: var(--ink); }

.faq-q-text   { font-family: var(--font-ui); font-weight: 700; font-size: .95rem; letter-spacing: .5px; color: var(--ink); line-height: 1.35; flex: 1; }
.faq-q.open .faq-q-text { color: var(--yellow); }

.faq-q-icon   { font-family: var(--font-comic); font-size: 1.3rem; color: var(--orange); flex-shrink: 0; line-height: 1; transition: transform .2s; }
.faq-q.open .faq-q-icon { transform: rotate(45deg); color: var(--yellow); }

.faq-num      { font-family: var(--font-comic); font-size: 1rem; color: var(--accent-dot); flex-shrink: 0; width: 22px; text-align: right; }
.faq-q.open .faq-num { color: var(--orange); }

.faq-a        { display: none; padding: .9rem 1rem 1.05rem; border-top: 2px solid var(--ink); background: #fafaf6; font-size: .95rem; line-height: 1.65; color: #333; }
.faq-a.open   { display: block; }

.seo-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-ui); font-size: .6rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border: 1.5px solid var(--yellow); margin-bottom: .8rem;
}


/* ============================================================
   13. SIDEBAR
   ============================================================ */

/* Notdienst-CTA */
.s-cta {
  background: var(--red); padding: 1.1rem; text-align: center;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  margin-bottom: 1.25rem;
  transform: rotate(-1deg);
}
.s-cta:hover { transform: rotate(0deg); transition: transform .15s; }
.s-cta p { font-family: var(--font-ui); font-size: .6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--white); opacity: .8; margin-bottom: .15rem; }
/* Telefonnummer im Sidebar-CTA: immer Oswald */
.s-cta a {
  font-family:    var(--font-phone) !important;
  font-weight:    700;
  font-size:      1.35rem;
  letter-spacing: 3px;
  color:          var(--yellow);
  text-decoration:none;
  display:        block;
  line-height:    1.3;
}
.s-cta-note { font-family: var(--font-ui); font-size: .58rem; letter-spacing: 1px; color: rgba(255,255,255,.6); margin-top: .3rem; display: block; }

/* Widget */
.s-widget { border: 3px solid var(--ink); background: var(--white); margin-bottom: 1.25rem; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.s-widget-hd { background: var(--ink); padding: .45rem .85rem; font-family: var(--font-comic); font-size: .95rem; letter-spacing: 1.5px; color: var(--yellow); }
.s-widget-body { padding: .85rem; }

/* Sidebar-Navigation */
.s-nav { list-style: none; }
.s-nav li { border-bottom: 1px solid #eee; }
.s-nav li:last-child { border-bottom: none; }
.s-nav a { display: block; font-family: var(--font-ui); font-size: .76rem; letter-spacing: .8px; color: #444; text-decoration: none; padding: .45rem .3rem; transition: all .12s; }
.s-nav a:hover   { color: var(--accent-dot); padding-left: .7rem; }
.s-nav a.current { color: var(--accent-dot); font-weight: 700; border-left: 3px solid var(--accent-dot); padding-left: .5rem; }

/* Genehmigungen Pills */
.s-pill {
  display: flex; align-items: center; gap: .5rem;
  border: 2px solid var(--ink); background: var(--pill-bg);
  font-family: var(--font-ui); font-size: .68rem;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 10px; margin-bottom: .4rem; font-weight: 600;
}
.s-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dot); flex-shrink: 0; }

/* Schnellanfrage Formular */
.s-input {
  width: 100%; border: 2px solid var(--ink);
  padding: .4rem .6rem;
  font-family: var(--font-body); font-size: .8rem;
  background: var(--paper-light); color: var(--ink);
  outline: none; margin-bottom: .45rem; transition: border-color .15s;
}
.s-input:focus { border-color: var(--accent-dot); background: var(--white); box-shadow: 2px 2px 0 var(--accent-dot); }
.s-btn {
  width: 100%; font-family: var(--font-comic); font-size: 1.1rem;
  letter-spacing: 1.5px; background: var(--orange); color: var(--white);
  border: 2.5px solid var(--ink); padding: .4rem;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: all .1s;
}
.s-btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }


/* ============================================================
   14. FOOTER
   ============================================================ */
footer { background: var(--ink); border-top: 4px solid var(--yellow); margin-top: 0; }
.footer-bar {
  max-width: 1100px; margin: 0 auto; padding: .9rem var(--gap);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem;
}
/* Footer-Logo: SVG statt Bangers-Text */
.f-logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.f-info { font-family: var(--font-ui); font-size: .65rem; color: #555; letter-spacing: .5px; }
.f-info a { color: #777; text-decoration: none; }
.f-info a:hover { color: var(--yellow); }
/* Telefonnummer im Footer */
.f-info a[href^="tel"] { font-family: var(--font-phone) !important; font-weight: 700; }


/* ============================================================
   15. ANIMATIONEN
   ============================================================ */
@keyframes pulse-nav {
  0%,100% { box-shadow: 0 0 0 0   rgba(192,57,43,.7); }
  50%     { box-shadow: 0 0 0 5px rgba(192,57,43,0);  }
}
@keyframes shake {
  0%,88%,100% { transform: translate(0,0); }
  90%         { transform: translate(-3px,0); }
  92%         { transform: translate( 3px,0); }
  94%         { transform: translate(-2px,0); }
  96%         { transform: translate( 2px,0); }
}


/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .page-header        { grid-template-columns: 1fr; }
  .header-logo-col    { flex-direction: row; min-height: auto; border-right: none; border-bottom: 3px solid var(--yellow); padding: 1rem var(--gap); }
  .vert-logo          { writing-mode: horizontal-tb; font-size: 2.5rem; letter-spacing: 3px; }
  .header-lower       { grid-template-columns: 1fr; }
  .header-img         { min-height: 220px; border-right: none; border-bottom: var(--border); }
  .main-wrap          { grid-template-columns: 1fr; }
  .segment-grid       { grid-template-columns: 1fr; }
  .seg-card           { border-right: none; border-bottom: 2px solid var(--ink); }
  .seg-card:last-child{ border-bottom: none; }
  .process-steps      { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)  { border-right: none; }
  .step:nth-child(3)  { border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); }
  .step:nth-child(4)  { border-top: 2px solid var(--ink); border-right: none; }
  .step::after        { display: none; }
  .material-grid      { grid-template-columns: 1fr 1fr; }
  .mat-card:nth-child(2n)          { border-right: none; }
  .mat-card:nth-child(3n)          { border-right: 2px solid var(--ink); }
  .img-grid           { grid-template-columns: 1fr 1fr; }
  .img-cell:nth-child(2) { border-right: none; }
  .img-cell:nth-child(3) { border-right: 2px solid var(--ink); border-top: 2px solid var(--ink); }
  .img-cell:nth-child(4) { border-right: none; border-top: 2px solid var(--ink); }
  .list-2col          { grid-template-columns: 1fr; }
  .nd-btns            { align-items: flex-start; }
  .nav-links          { display: none; }
  .hamburger          { display: flex; }
  .footer-bar         { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .title-h1           { font-size: 2.4rem; }
  .process-steps      { grid-template-columns: 1fr; }
  .step               { border-right: none; border-bottom: 2px solid var(--ink); }
  .step:last-child    { border-bottom: none; }
  .material-grid      { grid-template-columns: 1fr; }
  .mat-card:nth-child(n) { border-right: none; border-bottom: 2px solid var(--ink); }
  .img-grid           { grid-template-columns: 1fr 1fr; }
  .img-cell:nth-child(even) { border-right: none; }
  .speech             { display: none; }
}


/* ============================================================
   17. COMIC-STRIPS (Unterseiten) – Figuren-Panels + Infokästen
   Layout-Muster: Figuren-Reihe → Infokasten → Figuren-Reihe …
   ============================================================ */

/* Reihe aus Comic-Panels – Panels berühren sich wie im Heft */
.comic-strip {
  display: grid;
  gap: 0;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  margin: 1.25rem 0;
  background: var(--ink);
}
.comic-strip.cols-2 { grid-template-columns: 1fr 1fr; }
.comic-strip.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Einzelnes Figuren-Panel */
.strip-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem .8rem 0;
  border-right: 3px solid var(--ink);
  min-height: 250px;
  overflow: hidden;
  /* Szene: Akzentfarbe abgedunkelt, mit Halftone */
  background:
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(160deg, var(--accent), #1a1a1a 130%);
  background-size: 6px 6px, 100% 100%;
}
.strip-panel:last-child { border-right: none; }

/* Bild-Variante: Motiv füllt das Panel, Sprechblase und Caption bleiben darüber */
.strip-panel.has-image {
  min-height: 300px;
}
.strip-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.strip-panel.has-image .strip-bubble,
.strip-panel.has-image .strip-caption {
  position: relative;
  z-index: 3;
}
.strip-panel.has-image .strip-caption {
  margin-top: auto;
}

/* Sprechblase – passt sich automatisch dem Textvolumen an:
   inline-block + max-width = Blase wächst mit dem Inhalt   */
.strip-bubble {
  display: inline-block;
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--ink);
  padding: .5rem .85rem;
  max-width: 92%;
  text-align: center;
  position: relative;
  z-index: 3;
  margin-bottom: 14px;
}
/* Sprechblasen-Schwanz zeigt zur Figur */
.strip-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--ink);
}
.strip-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #fff;
  z-index: 1;
}

/* Die Comic-Figur */
.strip-figure {
  width: 110px;
  height: 147px;
  flex-shrink: 0;
  margin-top: auto;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,.3));
}

/* Beschriftungsleiste unten im Panel */
.strip-caption {
  width: calc(100% + 1.6rem);
  margin: 0 -.8rem;
  background: rgba(0,0,0,.72);
  border-top: 2px solid var(--yellow);
  font-family: var(--font-ui);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  text-align: center;
  padding: 5px 8px;
}

/* KI-Bild-Hinweis (Platzhalter-Badge) */
.strip-ai-note {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.3);
  font-family: var(--font-ui);
  font-size: .5rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  padding: 2px 7px;
  z-index: 2;
}

/* Kontaktseite: ruhige, flache Container ohne Comic-Schlagschatten */
.contact-page .title-banner,
.contact-page .comic-strip,
.contact-page .section-block,
.contact-page .nd-strip {
  box-shadow: none;
}

/* Responsive: Strips stapeln */
@media (max-width: 900px) {
  .comic-strip.cols-3 { grid-template-columns: 1fr; }
  .comic-strip.cols-2 { grid-template-columns: 1fr; }
  .strip-panel { border-right: none; border-bottom: 3px solid var(--ink); }
  .strip-panel:last-child { border-bottom: none; }
}

/* ── Titel-Banner (volle Breite, kein Logo-Rand) ─────────── */
.title-banner {
  background: var(--accent);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  margin-top: 1.25rem;
  padding: 1.4rem 2rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.title-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(0,0,0,.08) 8px, rgba(0,0,0,.08) 10px);
  background-size: 6px 6px, auto;
}

/* Die früheren Kapitel-/Erzählerzeilen gehören nicht mehr zum Seitenkonzept. */
.comic-narration { display: none !important; }

/* ============================================================
   SEITEN-KOMPONENTEN  (zentralisiert – vormals inline dupliziert)
   Farbwelt kommt ausschliesslich ueber :root-Variablen pro Seite.
   ============================================================ */

/* ---- Service-Seiten: Industriereinigung / Kraftwerksservice / Biogasanlagen ---- */
.seo-intro {
  background: var(--pill-bg);
  border: 3px solid var(--ink);
  padding: 1.35rem 1.6rem;
  margin: 1.25rem 0;
  position: relative;
}
.seo-intro::before {
  content: var(--seo-label, '');
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 2px;
  color: #fff;
  background: var(--accent);
  padding: 3px 9px;
  margin-bottom: .65rem;
}
.seo-intro p { font-size: 1rem; line-height: 1.7; color: #202020; max-width: 920px; }
.seo-intro strong { color: var(--accent-dark, var(--accent)); }

.service-hero {
  position: relative;
  height: 440px;
  margin-top: 1.25rem;
  border: 3px solid var(--ink);
  overflow: hidden;
  background: var(--accent-dark, var(--ink));
}
.service-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, center);
  display: block;
}
.service-hero-copy {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  max-width: 560px;
  background: #fff;
  border: 3px solid var(--ink);
  padding: 1rem 1.2rem;
  box-shadow: 4px 4px 0 var(--ink);
}
.service-hero-copy .eyebrow {
  font-family: var(--font-ui);
  font-size: .75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-dot);
  margin-bottom: .25rem;
}
.service-hero-copy h1 {
  font-family: var(--font-comic);
  font-size: 3rem; line-height: 1; letter-spacing: 3px;
  color: var(--ink);
}
.service-hero-copy p {
  font-size: 1rem; line-height: 1.45;
  margin-top: .4rem; color: #222; font-weight: 700;
}

.scene-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 3px solid var(--ink);
  margin: 1.25rem 0;
}



.scene-grid-2 { grid-template-columns: repeat(2, 1fr); }
.scene-card {
  position: relative; min-height: 270px; overflow: hidden;
  border-right: 3px solid var(--ink);
  background: var(--ink);
}
.scene-card:last-child { border-right: 0; }
.scene-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-card-grid-1 img { object-fit: contain; }
.scene-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(18,18,18,.92);
  border-top: 3px solid var(--yellow);
  color: #fff; padding: .65rem .8rem;
  font-size: .92rem; line-height: 1.35;
}
.scene-card strong {
  font-family: var(--font-ui);
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--yellow); display: block;
  font-size: .8rem; margin-bottom: .15rem;
}

/* ---- Scenes-Streifen: Entsorgung / Notdienst (vereinheitlicht) ---- */
.scene-seo {
  margin: 1.5rem 0;
  background: var(--pill-bg);
  border: 3px solid var(--ink);
  padding: 1.5rem 1.6rem;
}
.scene-seo h2 { font-family: var(--font-comic); font-size: 2.15rem; letter-spacing: .5px; margin: 0 0 .5rem; color: var(--ink); }
.scene-seo p  { font-size: 1.04rem; line-height: 1.65; margin: .45rem 0; max-width: 980px; }
.scene-strip {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem; margin: 1.6rem 0;
}
.scene-tile {
  position: relative; min-height: 300px; margin: 0;
  border: 3px solid var(--ink);
  overflow: hidden; background: #182633;
  
}
.scene-tile img { width: 100%; height: 100%; min-height: 300px; display: block; object-fit: cover; }
.scene-tile .scene-label {
  position: absolute; left: .85rem; bottom: .85rem; max-width: 78%;
  background: #fff; border: 2px solid var(--ink);
  padding: .45rem .65rem;
  font-family: var(--font-ui); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .3px;
}

/* ---- Ueber uns: seitenspezifische Komponenten ---- */
.about-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 1.5rem 0; }
.about-link {
  display: block; background: #fff;
  border: 3px solid var(--ink); 
  box-shadow: 4px 4px 0 var(--ink);
  padding: 1rem; text-decoration: none; color: var(--ink); min-height: 116px;
}
.about-link strong { display: block; font-family: var(--font-comic); font-size: 1.55rem; margin-bottom: .25rem; }
.about-link span { font-size: .88rem; line-height: 1.35; }
.tech-visual { position: relative; margin: 1.25rem 0; border: 3px solid var(--ink); overflow: hidden; }
.tech-visual img { display: block; width: 100%; max-height: 510px; object-fit: cover; }
.tech-livery { position: absolute; top: 34%; left: 61%; width: 25%; display: flex; align-items: center; gap: .55rem; background: #fff; border: 2px solid #111; padding: .3rem .45rem; text-align: left; font-family: Arial, sans-serif; line-height: 1.1; box-shadow: 2px 2px 0 #111; }
.tech-livery svg { width: 50px; height: 31px; flex: none; }
.tech-livery b { display: block; font-size: .74rem; letter-spacing: .2px; }
.tech-livery span { display: block; font-size: .48rem; font-weight: 700; margin-top: .15rem; }
.approval-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 1.2rem; }
.approval-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 1rem; color: var(--ink); text-decoration: none; }
.approval-card img { width: 102px; height: 64px; object-fit: contain; background: #f5f5f5; padding: .35rem; }
.approval-card strong { display: block; font-family: var(--font-ui); font-size: 1.1rem; }
.approval-card span { font-size: .85rem; line-height: 1.35; display: block; margin-top: .2rem; }

/* ---- Responsive fuer die zentralisierten Komponenten ---- */
@media (max-width: 900px) {
  .scene-grid, .scene-grid-2 { grid-template-columns: 1fr; }
  .scene-card { min-height: 250px; border-right: 0; border-bottom: 3px solid var(--ink); }
  .scene-card:last-child { border-bottom: 0; }
  .service-hero { height: 380px; }
  .service-hero-copy { right: 1rem; }
  .service-hero-copy h1 { font-size: 2.5rem; }
}
@media (max-width: 720px) {
  .scene-strip { grid-template-columns: 1fr; }
  .scene-tile, .scene-tile img { min-height: 240px; }
  .scene-seo { padding: 1.15rem; }
  .scene-seo h2 { font-size: 1.85rem; }
  .about-links, .approval-grid { grid-template-columns: 1fr; }
  .approval-card img { width: 82px; }
  .tech-livery { top: 29%; left: 54%; width: 36%; gap: .25rem; }
  .tech-livery svg { width: 34px; height: 23px; }
  .tech-livery b { font-size: .49rem; }
  .tech-livery span { font-size: .34rem; }
}
@media (max-width: 600px) {
  .service-hero { height: 360px; }
  .service-hero-copy { left: .75rem; right: .75rem; bottom: .75rem; }
  .service-hero-copy p { font-size: .9rem; }
  .service-hero-copy h1 { font-size: 2.2rem; }
}


/* Einheitliche, lesbare Überlagerung im Hero: Das Bild bleibt sichtbar. */
.page > section[style*="height:440px"] > div {
  background: rgba(255,255,255,.80) !important;
  backdrop-filter: blur(2px);
}

/* Service-Seiten verwenden einen eigenen Hero-Kasten. */
.service-hero-copy {
  background: rgba(255,255,255,.60) !important;
  backdrop-filter: blur(2px);
}

/* Einheitliche Segmentierung: Comic-Panels schließen direkt aneinander an. */
.page > .section-block,
.page > .seo-intro,
.page > .scene-seo,
.page > .scene-grid,
.page > .scene-strip,
.page > .about-links { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Erkennbare Text-Handlung für verlinkte Navigationskacheln. */
.about-link { position: relative; padding-bottom: 2.8rem !important; }
.about-link::after { content: 'Mehr erfahren ›'; position: absolute; right: .8rem; bottom: .75rem; background: var(--ink); color: #fff; padding: .35rem .5rem; font: 700 .68rem/1 var(--font-ui); letter-spacing: .8px; text-transform: uppercase; }


  /* Spezifische Klasse, um die Comic-Grafik über die gesamte Block-Breite zu strecken */
  .full-width-comic {
    display: block !important;
    width: 100% !important;
    margin: 1.5rem 0;
  }
  .full-width-comic .scene-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .full-width-comic .scene-card img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

/* Kontaktformular: Statusmeldungen und unsichtbares Spam-Schutzfeld */
.form-status {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border: 2px solid var(--ink);
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.success {
  border-color: #2f6f36;
  background: #edf8ef;
  color: #1f5426;
}

.form-status.error {
  border-color: var(--red);
  background: #fff0ee;
  color: #7f1f18;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Ueber-uns-Kacheln: Hover und Download-Schaltflaechen */
.about-link,
.approval-card {
  transition: transform .12s, box-shadow .12s, background-color .12s;
}

.about-link:hover,
.about-link:focus-visible,
.approval-card:hover,
.approval-card:focus-visible {
  z-index: 10;
  transform: scale(1.03);
  background: #fff8d6;
  box-shadow: 6px 6px 0 var(--ink);
  outline: none;
}

.about-link:hover::after,
.about-link:focus-visible::after {
  background: var(--yellow);
  color: var(--ink);
}

.approval-card {
  position: relative;
  padding-bottom: 3.5rem;
}

.approval-card::after {
  content: 'Download ↓';
  position: absolute;
  right: .8rem;
  bottom: .75rem;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  padding: .42rem .65rem;
  font: 700 .72rem/1 var(--font-ui);
  letter-spacing: .9px;
  text-transform: uppercase;
  transition: background-color .12s, color .12s;
}

.approval-card:hover::after,
.approval-card:focus-visible::after {
  background: var(--yellow);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .about-link,
  .approval-card {
    transition: none;
  }

  .about-link:hover,
  .about-link:focus-visible,
  .approval-card:hover,
  .approval-card:focus-visible {
    transform: none;
  }
}

/* Mobile Breitenkorrektur fuer lange Leistungsseiten */
@media (max-width: 600px) {
  .breadcrumb {
    overflow-x: clip;
  }

  .bc-inner {
    min-width: 0;
    flex-wrap: wrap;
    row-gap: .2rem;
    padding-right: 1rem;
    padding-left: 1rem;
    line-height: 1.45;
  }

  .bc-inner > span:last-child {
    flex: 1 1 180px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .page,
  .page > *,
  .section-block,
  .seo-intro,
  .scene-grid,
  .faq-item,
  .faq-q-text {
    min-width: 0;
    max-width: 100%;
  }

  .content-h2,
  .service-hero-copy h1,
  .faq-q-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .service-hero-copy {
    max-width: calc(100% - 1.5rem);
  }

  .tech-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  .tech-table th,
  .tech-table td {
    padding-right: .35rem;
    padding-left: .35rem;
    overflow-wrap: anywhere;
  }
}

/* Mobile: volle Flaechenbreite bei gepolsterten Texten */
@media (max-width: 600px) {
  /*
   * Der Seitenrahmen nutzt die ganze Displaybreite.
   * Den lesefreundlichen Abstand liefern die jeweiligen Text-Panels.
   */
  .page {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .section-block,
  .seo-intro,
  .scene-seo {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  /*
   * Comics innerhalb eines Text-Panels durchbrechen nur dessen Innenabstand.
   * Überschriften, Absätze und Listen behalten weiterhin 1rem Luft zum Rand.
   */
  .section-block > .full-width-comic {
    width: calc(100% + 2rem) !important;
    max-width: calc(100% + 2rem) !important;
    margin-right: -1rem !important;
    margin-left: -1rem !important;
  }
}

/* Kontaktseite: kombinierter Hero mit drei Kontaktwegen */
.contact-hero {
  margin-top: 1.25rem;
  overflow: hidden;
  background: var(--accent);
  border: 3px solid var(--ink);
}

.contact-hero__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  color: #fff;
  border-bottom: 3px solid var(--ink);
}

.contact-hero__text {
  max-width: 700px;
}

.contact-hero__kicker {
  margin-bottom: .2rem;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--yellow);
}

.contact-hero h1 {
  margin: 0;
  font-family: var(--font-comic);
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 2px;
}

.contact-hero__text p {
  max-width: 650px;
  margin: .35rem 0 0;
  font-size: .96rem;
  line-height: 1.5;
}

.contact-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
}

.contact-hero__badges span {
  padding: .3rem .55rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.contact-hero__scenes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ink);
}

.contact-hero__scene {
  position: relative;
  min-width: 0;
  height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-right: 3px solid var(--ink);
}

.contact-hero__scene:last-child {
  border-right: 0;
}

.contact-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-hero__bubble {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  max-width: calc(100% - 1.7rem);
  padding: .5rem .7rem;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  border: 2.5px solid var(--ink);
  border-radius: 13px;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-hero__bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 28px;
  border: 7px solid transparent;
  border-top-color: var(--ink);
}

.contact-hero__scene figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: .55rem .75rem;
  color: var(--yellow);
  background: rgba(0,0,0,.78);
  border-top: 2px solid var(--yellow);
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .contact-hero__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hero__badges {
    justify-content: flex-start;
  }

  .contact-hero__scenes {
    grid-template-columns: 1fr;
  }

  .contact-hero__scene {
    height: clamp(300px, 72vw, 430px);
    border-right: 0;
    border-bottom: 3px solid var(--ink);
  }

  .contact-hero__scene:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    margin-top: .75rem;
  }

  .contact-hero__heading {
    padding: 1rem;
  }

  .contact-hero h1 {
    font-size: 2.8rem;
  }

  .contact-hero__text p {
    font-size: .9rem;
  }

  .contact-hero__bubble {
    font-size: .78rem;
  }
}

