/*
 * Kaiser EDV Konzept - gemeinsames Stylesheet der Unterseiten
 * (Theme: Inter + Outfit, .page-content-Layout).
 * Eingebunden via <link rel="stylesheet" href="assets/css/main.css">.
 * Seitenspezifische Regeln verbleiben inline pro Seite.
 */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blau: #2070C0;
    --blau-dunkel: #1558A0;
    --blau-hell: #EAF2FB;
    --rot: #C01C1D;
    --rot-hell: #FAE8E8;
    --grau: #F5F7FA;
    --grau-mittel: #E2E6EC;
    --text: #1A2433;
    --text-soft: #4A5568;
    --weiss: #ffffff;
    --nav-h: 88px;
    --banner-h: 176px;
    /* Einheitliche Inhaltsbreite für ALLE Unterseiten – zentrierte Spalte für
       Navigation, Hero, Inhalt und Footer (bündige Kanten wie auf der Startseite) */
    --page-max: 1200px;
  }

  html { scroll-behavior: smooth; }

  /* Sichtbarer Tastaturfokus für alle interaktiven Elemente (nur bei Tastaturbedienung) */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [tabindex]:focus-visible,
  [role="button"]:focus-visible {
    outline: 3px solid var(--blau);
    outline-offset: 2px;
    border-radius: 2px;
  }

  /* Nur für Screenreader sichtbar (visuell ausgeblendet, aber im Barrierefreiheitsbaum) */
  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Skip-Link: nur bei Tastaturfokus sichtbar, springt zum Hauptinhalt */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--blau-dunkel);
    color: var(--weiss);
    padding: 12px 18px;
    border-radius: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .skip-link:focus {
    left: 0;
    outline: 3px solid var(--rot);
    outline-offset: 2px;
  }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--weiss);
    font-size: 16px;
    line-height: 1.7;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: var(--weiss);
    border-bottom: 1px solid var(--grau-mittel);
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Logo und Menü auf die gleiche zentrierte Spalte begrenzen wie den Inhalt */
    padding: 0 max(5%, calc((100% - var(--page-max)) / 2));
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }


  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--blau); }

  .nav-links .dropdown { position: relative; }
  .nav-links .dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
  }
  .nav-links .dropdown > a::after {
    content: "▾";
    font-size: 10px;
    transition: transform 0.2s;
  }
  .nav-links .dropdown.open > a::after { transform: rotate(180deg); }
  /* Auf Geräten mit Maus/Trackpad öffnet das Menü direkt beim Überfahren */
  @media (hover: hover) {
    .nav-links .dropdown:hover > a::after { transform: rotate(180deg); }
  }
  .nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: -16px;
    background: var(--weiss);
    border: 1px solid var(--grau-mittel);
    border-radius: 10px;
    min-width: 230px;
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(21,79,142,0.14);
    z-index: 50;
  }
  /* Unsichtbare Brücke schließt die Lücke zwischen Trigger und Menü, damit das Menü beim Hinüberfahren nicht zuklappt */
  .nav-links .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
  }
  .nav-links .dropdown.open .dropdown-menu { display: block; }
  @media (hover: hover) {
    .nav-links .dropdown:hover .dropdown-menu { display: block; }
  }
  .nav-links .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text);
  }
  .nav-links .dropdown-menu a:hover { background: var(--blau-hell); color: var(--blau); }

  .nav-cta {
    background: var(--rot) !important;
    color: var(--weiss) !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: #a01618 !important; }

  /* ── HERO ── */
  #hero {
    background: linear-gradient(135deg, var(--blau-dunkel) 0%, var(--blau) 60%, #2a82d0 100%);
    display: flex;
    flex-direction: column;
  }

  .hero-bg { display: none; }

  .hero-text-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    padding: 76px 5% 68px;
    min-height: calc(100vh - var(--nav-h) - 220px);
  }

  .hero-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    line-height: 0;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
  }

  .hero-eyebrow {
    display: inline-block;
    background: rgba(192,28,29,0.25);
    border: 1px solid rgba(192,28,29,0.55);
    color: #ffb3b3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
  }

  .hero-h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--weiss);
  }
  .hero-h1 em { font-style: normal; color: #FFD580; }

  .hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    max-width: 460px;
    margin-bottom: 36px;
    line-height: 1.7;
  }

  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

  .btn-primary {
    background: var(--rot);
    color: var(--weiss);
    padding: 14px 28px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
  }
  .btn-primary:hover { background: #a01618; transform: translateY(-1px); }

  .btn-outline {
    background: rgba(255,255,255,0.12);
    color: var(--weiss);
    border: 1px solid rgba(255,255,255,0.40);
    padding: 14px 28px;
    border-radius: 9px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-outline:hover { background: rgba(255,255,255,0.22); }

  .hero-neu {
    margin-top: 38px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 460px;
  }
  .neu-badge {
    background: var(--rot);
    color: var(--weiss);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 9px;
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .hero-neu p { font-size: 14px; color: rgba(255,255,255,0.88); line-height: 1.55; }
  .hero-neu a { color: #FFD580; text-decoration: none; font-weight: 600; }
  .hero-neu a:hover { text-decoration: underline; }

  /* Screenshot-Streifen: weißer Bereich direkt unter dem Foto */
  .hero-screens-strip {
    position: relative;
    z-index: 2;
    background: var(--weiss);
    padding: 32px 5% 40px;
    border-top: 3px solid var(--blau);
  }
  .hero-screens-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 16px;
    text-align: center;
  }

  /* Hero Screenshots – diskret, zentriert, begrenzte Breite */
  .hero-screenshots { max-width: 720px; margin: 0 auto; }
  .hs-frame {
    background: var(--grau);
    border: 1px solid var(--grau-mittel);
    border-radius: 12px;
    overflow: hidden;
    padding: 8px;
  }
  .hs-bar {
    background: var(--grau-mittel);
    border-radius: 6px 6px 0 0;
    padding: 8px 14px;
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
  }
  .hs-bar span { font-size: 12px; color: var(--text-soft); margin-left: 8px; font-family: monospace; }
  .hs-img-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #e8edf2;
    aspect-ratio: 16/9;
  }
  .hs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .hs-slide.active { opacity: 1; }
  .hs-nav {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
  }
  .hs-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--grau-mittel);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .hs-dot.active { background: var(--blau); transform: scale(1.3); }

  .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
  .dot.r { background: var(--rot); }
  .dot.y { background: #f59e0b; }
  .dot.g { background: #10b981; }

  /* ── STATS ── */
  #stats {
    background: var(--blau);
    padding: 42px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
  }
  .stat-item {
    padding: 20px 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
    color: var(--weiss);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-num em { color: #FFD580; font-style: normal; }
  .stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

  /* ── SEKTIONEN ── */
  section { padding: 80px 5%; }

  .section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rot);
    margin-bottom: 10px;
  }
  .section-h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--blau-dunkel);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .section-sub {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 580px;
    line-height: 1.7;
  }
  .section-header { margin-bottom: 52px; }

  /* ── FEATURES (Module) ── */
  #features { background: var(--weiss); }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
  .feature-card {
    background: var(--weiss);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--grau-mittel);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .feature-card:hover { box-shadow: 0 8px 28px rgba(21,79,142,0.1); transform: translateY(-2px); }
  .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blau-hell);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
  }
  .feature-icon svg { width: 24px; height: 24px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
  .feature-card h3 { font-size: 17px; font-weight: 700; color: var(--blau-dunkel); margin-bottom: 10px; }
  .feature-card p { font-size: 14px; color: var(--text-soft); line-height: 1.65; }

  /* ── PRODUKTE ── */
  #produkte { background: var(--weiss); }

  .produkt-gruppe { margin-bottom: 56px; }
  .produkt-gruppe:last-child { margin-bottom: 0; }
  .produkt-gruppe-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
  }
  .produkt-gruppe-head img { height: 34px; width: auto; }
  .produkt-gruppe-head h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--blau-dunkel);
  }
  .produkt-gruppe-head span {
    font-size: 13px;
    color: var(--text-soft);
    border-left: 1px solid var(--grau-mittel);
    padding-left: 14px;
  }

  .produkt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
  }

  .produkt-tile {
    background: var(--weiss);
    border: 1px solid var(--grau-mittel);
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  }
  .produkt-tile:hover {
    box-shadow: 0 10px 28px rgba(32,112,192,0.10);
    transform: translateY(-2px);
    border-color: rgba(32,112,192,0.3);
  }
  .produkt-tile.featured {
    border: 1.5px solid var(--blau);
    background: var(--blau-hell);
  }
  .produkt-tile.featured-rot {
    border: 1.5px solid var(--rot);
    background: var(--rot-hell);
  }

  .produkt-tile-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--blau-hell);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
  }
  .produkt-tile.featured .produkt-tile-icon,
  .produkt-tile.featured-rot .produkt-tile-icon { background: rgba(255,255,255,0.6); }
  .produkt-tile-icon img { width: 100%; height: 100%; object-fit: contain; }
  .produkt-tile-icon svg { width: 26px; height: 26px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
  .produkt-tile.featured-rot .produkt-tile-icon svg,
  .produkt-tile.featured-rot .produkt-tile-icon { color: var(--rot); }

  .produkt-tile-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 10px;
    margin-bottom: 12px;
    width: fit-content;
  }
  .badge-blau { background: var(--blau); color: var(--weiss); }
  .badge-rot { background: var(--rot); color: var(--weiss); }
  .badge-grau { background: var(--grau-mittel); color: var(--text-soft); }

  .produkt-tile h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--blau-dunkel);
    margin-bottom: 8px;
  }
  .produkt-tile p {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
  }
  .produkt-tile a.tile-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--rot);
    text-decoration: none;
  }
  .produkt-tile a.tile-link:hover { text-decoration: underline; }
  .preis-zahl { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 800; color: var(--blau-dunkel); }
  .preis-einheit { font-size: 13px; color: var(--text-soft); }
  .btn-blau {
    display: inline-block;
    margin-top: 16px;
    background: var(--blau);
    color: var(--weiss);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-blau:hover { background: var(--blau-dunkel); }
  .btn-rot {
    display: inline-block;
    margin-top: 16px;
    background: var(--rot);
    color: var(--weiss);
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .btn-rot:hover { background: #a01618; }

  /* ── AKTUELLES / NEU ── */
  #aktuelles { background: var(--weiss); }
  .news-card {
    background: var(--blau-hell);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid rgba(32,112,192,0.18);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: flex-start;
    max-width: 800px;
  }
  .news-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--rot-hell);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .news-icon-wrap svg { width: 28px; height: 28px; stroke: var(--rot); fill: none; stroke-width: 1.8; }
  .news-card h3 { font-size: 20px; font-weight: 700; color: var(--blau-dunkel); margin-bottom: 10px; }
  .news-card p { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 18px; }
  .news-produkte {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
  }
  .np-tag {
    background: var(--blau-hell);
    color: var(--blau);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(21,79,142,0.2);
  }

  /* ── SERVICE ── */
  #service { background: var(--grau); }
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .service-card {
    border: 1px solid var(--grau-mittel);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .service-card:hover {
    border-color: var(--blau);
    box-shadow: 0 4px 16px rgba(21,79,142,0.1);
  }
  .service-card svg { width: 28px; height: 28px; stroke: var(--blau); fill: none; stroke-width: 1.8; margin-bottom: 14px; }
  .service-card h3 { font-size: 15px; font-weight: 700; color: var(--blau-dunkel); margin-bottom: 6px; }
  .service-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; }
  .service-card .arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rot);
    margin-top: 12px;
  }

  /* ── PARTNER ── */
  #partner { background: var(--grau); }
  .partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
  }
  .partner-logo {
    background: var(--weiss);
    border: 1px solid var(--grau-mittel);
    border-radius: 10px;
    padding: 14px 22px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .partner-logo img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: filter 0.2s, opacity 0.2s;
  }
  .partner-logo:hover img { filter: none; opacity: 1; }

  /* Engagement */
  #engagement { background: var(--blau-dunkel); padding: 60px 5%; }
  .engage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .engage-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    color: var(--weiss);
    text-decoration: none;
    display: block;
    transition: background 0.2s;
  }
  .engage-card:hover { background: rgba(255,255,255,0.1); }
  .engage-card img { max-height: 60px; max-width: 140px; object-fit: contain; margin: 0 auto 18px; display: block; filter: brightness(0) invert(1) opacity(0.9); }
  .engage-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }

  /* ── KONTAKT ── */
  #kontakt { background: var(--weiss); }
  .kontakt-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .kontakt-info h2 { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; color: var(--blau-dunkel); margin-bottom: 16px; }
  .kontakt-info p { font-size: 15px; color: var(--text-soft); margin-bottom: 28px; line-height: 1.7; }
  .kontakt-detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .kd-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
  }
  .kd-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blau-hell);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .kd-icon svg { width: 20px; height: 20px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
  .kd-row strong { font-weight: 600; color: var(--text); }
  .kd-row span { color: var(--text-soft); font-size: 14px; }

  .kontakt-form {
    background: var(--grau);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--grau-mittel);
  }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
  .form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--grau-mittel);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--weiss);
    color: var(--text);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--blau);
  }
  .form-group textarea { resize: vertical; min-height: 110px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-submit {
    width: 100%;
    background: var(--rot);
    color: var(--weiss);
    border: none;
    padding: 13px 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
  }
  .form-submit:hover { background: #a01618; }

  /* ── BÜROZEITEN ── */
  .buero-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--rot-hell);
    border: 1px solid rgba(192,28,29,0.2);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--rot);
    font-weight: 600;
    margin-top: 24px;
  }
  .buero-box svg { width: 18px; height: 18px; stroke: var(--rot); fill: none; stroke-width: 1.8; }

  /* ── FOOTER ── */
  footer {
    background: var(--blau-dunkel);
    color: var(--weiss);
    /* Footer-Inhalt auf die gleiche zentrierte Spalte begrenzen; Hintergrund bleibt vollflächig */
    padding: 52px max(5%, calc((100% - var(--page-max)) / 2)) 28px;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  /* Deckkraft auf ≥ 0.8 angehoben, damit der Kontrast auf dem --blau-dunkel-Footer AA (≥ 4.5:1) erreicht */
  .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.8); margin-top: 14px; line-height: 1.7; }
  /* Footer-Spaltentitel: bewusst kein Heading (Navigationslabel, kein Inhaltsabschnitt) */
  .footer-col .footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 14px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--weiss); }
  .footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
  }
  .footer-bottom a { color: rgba(255,255,255,0.8); text-decoration: none; }
  .footer-bottom a:hover { color: var(--weiss); }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .footer-logo .logo-text { color: var(--weiss); }
  .footer-logo .logo-text span { color: rgba(255,255,255,0.55); }

  /* Telefon-CTA in Footer */
  .footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD580 !important;
    font-weight: 600;
    font-size: 15px !important;
    margin-top: 6px;
  }
  .footer-tel svg { width: 16px; height: 16px; stroke: #FFD580; fill: none; stroke-width: 2; }

  /* Mobile */
  @media (max-width: 768px) {
    .hero-text-row { grid-template-columns: 1fr; padding: 50px 5% 50px; min-height: auto; }
    .hero-text-row > div:last-child { display: none; }
    #stats { grid-template-columns: 1fr 1fr; }
    .produkt-grid { grid-template-columns: 1fr; }
    .kontakt-wrap { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .engage-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero-screens-strip { padding: 28px 4% 36px; }
  }

  @media (max-width: 480px) {
    #stats { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .footer-top { grid-template-columns: 1fr; }
  }

  /* ── UNTERSEITEN-LAYOUT ── */
  .page-hero {
    background: linear-gradient(135deg, var(--blau-dunkel) 0%, var(--blau) 60%, #2a82d0 100%);
    height: var(--banner-h);
    /* Inhalt mittig auf die Seitenspalte begrenzen; Hintergrund bleibt vollflächig */
    padding: 0 max(5%, calc((100% - var(--page-max)) / 2));
    color: var(--weiss);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  /* Rote Linie an der Oberkante – identisch zum Banner der Startseite */
  .page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rot);
  }
  .page-hero .section-eyebrow { color: #ffb3b3; }
  .page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 800;
    margin-bottom: 12px;
  }
  .page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    line-height: 1.7;
  }

  /* Inhalt auf die gleiche zentrierte Spalte wie Navigation und Hero begrenzen.
     Breite wird über --page-max gesteuert (Standard 1100, .wide 1200 via body:has). */
  .page-content {
    padding: 56px max(5%, calc((100% - var(--page-max)) / 2)) 80px;
  }

  .page-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--blau-dunkel);
    margin: 40px 0 16px;
  }
  .page-content h2:first-child { margin-top: 0; }
  .page-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--blau-dunkel);
    margin: 28px 0 12px;
  }
  .page-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 20px 0 8px;
  }
  .page-content p { font-size: 15px; color: var(--text-soft); line-height: 1.75; margin-bottom: 14px; }
  .page-content ul, .page-content ol { margin: 0 0 14px 0; padding-left: 22px; }
  .page-content li { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin-bottom: 6px; }
  .page-content a.inline-link { color: var(--blau); font-weight: 600; text-decoration: none; }
  .page-content a.inline-link:hover { text-decoration: underline; }
  .page-content strong { color: var(--text); }

  .info-box {
    background: var(--blau-hell);
    border: 1px solid rgba(32,112,192,0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 14.5px;
    color: var(--text-soft);
  }
  .info-box.rot { background: var(--rot-hell); border-color: rgba(192,28,29,0.2); }
  .info-box strong { color: var(--text); }

  /* Redaktionelle Platzhalter [bitte prüfen: …] – gedämpft hervorgehoben */
  .note {
    color: var(--rot);
    background: var(--rot-hell);
    padding: 1px 6px;
    border-radius: 4px;
    font-style: italic;
    font-size: 0.95em;
  }

  /* Download-Kacheln */
  .download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 20px 0 32px;
  }
  .download-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--weiss);
    border: 1px solid var(--grau-mittel);
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .download-card:hover { border-color: var(--blau); box-shadow: 0 6px 18px rgba(32,112,192,0.10); }
  .download-card .dl-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: var(--blau-hell);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .download-card .dl-icon svg { width: 18px; height: 18px; stroke: var(--blau); fill: none; stroke-width: 1.8; }
  .download-card h3 { margin: 0 0 4px; font-size: 14px; color: var(--blau-dunkel); }
  .download-card p { margin: 0; font-size: 12.5px; color: var(--text-soft); line-height: 1.5; }

  /* Schritt-Liste */
  .step-list { list-style: none; padding: 0; margin: 20px 0; counter-reset: step; }
  .step-list li {
    position: relative;
    padding: 0 0 20px 44px;
    font-size: 15px;
    color: var(--text-soft);
    border-left: 2px solid var(--grau-mittel);
    margin-left: 17px;
  }
  .step-list li:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
  .step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -17px;
    top: 0;
    width: 34px; height: 34px;
    background: var(--blau);
    color: var(--weiss);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
  }

  /* Team-Karten */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 28px 0;
  }
  .team-card {
    text-align: center;
    background: var(--weiss);
    border: 1px solid var(--grau-mittel);
    border-radius: 14px;
    padding: 24px 18px;
  }
  .team-card img {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    border: 3px solid var(--blau-hell);
  }
  .team-card h3 { font-size: 15px; color: var(--blau-dunkel); margin-bottom: 4px; }
  .team-card .role { font-size: 12px; color: var(--rot); font-weight: 600; margin-bottom: 10px; }
  .team-card p { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin: 0; }

  .founder-box {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 28px;
    align-items: center;
    background: var(--grau);
    border-radius: 16px;
    padding: 28px;
    margin: 24px 0;
  }
  .founder-box img { width: 100%; height: auto; border-radius: 12px; }
  .founder-box h3 { margin-top: 0; }

  /* Akkordeon (für FAQ-artige Anleitungen) */
  .accordion-item {
    border: 1px solid var(--grau-mittel);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .accordion-head {
    padding: 14px 18px;
    background: var(--grau);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--blau-dunkel);
    cursor: pointer;
  }

  /* Kontaktformular auf Kontaktseite (Wiederverwendung von kontakt-form Klassen) */
  .page-content .kontakt-form { max-width: 100%; }

  @media (max-width: 768px) {
    .founder-box { grid-template-columns: 1fr; text-align: center; }
    .founder-box img { max-width: 160px; margin: 0 auto; }
  }
