
  /* ===== Tokens & Typo ===== */
  :root{
    --primary: var(--clr-orange);
    --fc-bg: #ffffff;
    --fc-fg: #0f1114;
    --fc-fg-muted: #535861;
    --fc-line: rgba(0,0,0,.08);
    --fc-maxw: 1240px;
    --fc-lh: 1.65;
    --fc-rad: 12px;

    /* fluid sizes */
    --fc-s1: clamp(.82rem, .7rem + .4vw, .92rem);
    --fc-s2: clamp(.98rem, .9rem + .5vw, 1.08rem);
    --fc-s3: clamp(1.06rem, 1rem + .6vw, 1.22rem);
    --fc-s4: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --fc-s5: clamp(2rem, 1.6rem + 2.2vw, 3rem);

    /* focus color: fallback + dashed outline */
    --fc-focus-color: #ff7a1a; /* Fallback ohne color-mix */
    --fc-focus: 2px dashed var(--fc-focus-color);

    --fc-btn-fg: var(--btn-text);
    --fc-btn-bg: var(--clr-orange);
    --fc-btn-bg-hover: #000;

    --fc-social-bg: #f5f5f5;
    --fc-social-bg-hover: #ececec;
    --fc-social-inset: rgba(0,0,0,.06);

    --fc-udt: 1.5px;
    --fc-udoff: 2px;

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  /* Modern focus color nur wenn color-mix unterstützt wird */
  @supports (color: color-mix(in oklab, #000 50%, #fff 50%)) {
    :root{
      --fc-focus-color: color-mix(in oklab, var(--primary) 92%, #000 8%);
    }
  }

  /* dark / auto */
  :root[data-theme="dark"]{
    --fc-bg:#0a0a0b; --fc-fg:#f5f7fa; --fc-fg-muted:#a8b0bb; --fc-line:rgba(255,255,255,.10);
    --fc-btn-fg:#fff; --fc-btn-bg:#111; --fc-btn-bg-hover:#000;
    --fc-social-bg:#17191d; --fc-social-bg-hover:#1e2127; --fc-social-inset:rgba(255,255,255,.08);
    /* behalte die obige Fallback/Supports-Logik für --fc-focus-color bei */
  }
  @media (prefers-color-scheme: dark){
    :root[data-theme="auto"]{ color-scheme: dark; }
  }

  /* rendering */
  .footer-clean, .footer-clean *{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  .footer-clean{
    background: var(--fc-bg);
    color: var(--fc-fg);

    /* Fallback spacing für ältere Parser */
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: calc(clamp(1.5rem, 3vw, 2.5rem) + env(safe-area-inset-bottom));

    /* Modern enhancement */
    padding-block: clamp(2rem, 4vw, 3.5rem) calc(clamp(1.5rem, 3vw, 2.5rem) + env(safe-area-inset-bottom));

    border-top: 1px solid var(--fc-line);
    line-height: var(--fc-lh);
    font-family: var(--font-sans) !important;
    letter-spacing: -0.003em;
    text-wrap: pretty;
  }

  .fc-container{
    max-width: min(var(--fc-maxw), 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
  }

  /* ===== Head: responsive via grid-areas ===== */
  .fc-head{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand cta";
    gap: clamp(.9rem, 2vw, var(--fc-s3));
    align-items: end;
    padding-bottom: clamp(1rem, 2vw, var(--fc-s3));
    border-bottom: 1px solid var(--fc-line);
  }
  .fc-brand{ grid-area: brand; }
  .fc-cta{ grid-area: cta; }

  /* mobile: Button nach LINKS & unter dem Claim */
  @media (max-width: 700px){
    .fc-head{
      grid-template-columns: 1fr;
      grid-template-areas:
        "brand"
        "cta";
      align-items: start;
    }
    .fc-cta{ justify-self: start; text-align: left; }
  }

  /* Brand / Claim */
  .fc-logo{
    margin: 0 !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    font-size: var(--fc-s5) !important;
    line-height: 1.12 !important;
    text-wrap: balance !important;
    color: var(--fc-fg) !important;
  }
  .fc-claim{
    margin: .6rem 0 0 !important;
    font-size: var(--fc-s3) !important;
    font-weight: 600 !important;
    letter-spacing: .004em !important;
    line-height: 1.78 !important;
    color: var(--fc-fg-muted) !important;
    max-width: 65ch !important;
  }

  /* CTA */
  .fc-btn{
    display: inline-flex; gap: .6rem; align-items: center; justify-content: center;
    padding: .9rem 1.05rem;
    border-radius: var(--fc-rad);
    background: var(--fc-btn-bg);
    color: var(--fc-btn-fg);
    text-decoration: none;
    font-size: var(--fc-s2);
    font-weight: 800;
    letter-spacing: .01em;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    will-change: transform;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
  }
  .fc-btn:hover{ transform: translateY(-1px); background: var(--fc-btn-bg-hover); }
  .fc-btn:focus-visible{ outline: var(--fc-focus); outline-offset: 4px; }

  /* sehr kleine screens: volle breite optional */
  @media (max-width: 360px){
    .fc-btn{ width: 100%; justify-content: center; }
  }

  /* ===== Grid ===== */
  .fc-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 3vw, var(--fc-s4));
    padding-top: clamp(1.2rem, 3vw, var(--fc-s4));
  }
  .fc-col{ min-width: 0; }

  .fc-col-title{
    margin: 0 0 .7rem 0 !important;
    font-size: .92rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    color: var(--fc-fg) !important;
    text-wrap: balance !important;
  }

  .fc-links{
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: .55rem;
  }
  .fc-links a{
    display: inline-block;
    color: var(--fc-fg);
    font-size: var(--fc-s2) !important;
    font-weight: 600 !important;
    letter-spacing: -0.002em !important;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease, text-underline-offset .18s ease;
    word-break: break-word;
    text-underline-offset: var(--fc-udoff);
    text-decoration-thickness: var(--fc-udt);
    text-wrap: pretty;
  }
  .fc-links a:hover{ color: var(--fc-fg-muted); transform: translateX(2px); text-decoration: underline; }
  .fc-links a:focus-visible{ outline: var(--fc-focus); outline-offset: 3px; }

  /* ===== Socials ===== */
  .fc-socials{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: .65rem;
    margin-top: 1rem;
    align-items: center;
  }
  @media (max-width: 420px){ .fc-socials{ gap: .55rem; } }

  .fc-social{
    position: relative;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 999px;
    background: var(--fc-social-bg);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--fc-social-inset);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  }

  .fc-social:hover{
    transform: translateY(-1px);
    /* Fallback */
    background-color: var(--fc-social-bg-hover);
    /* Fallback shadow bleibt gesetzt, siehe Basisregel */
  }

  /* Nur wenn color-mix unterstützt wird: feinere Schattenmischung */
  @supports (color: color-mix(in oklab, #000 50%, #fff 50%)) {
    .fc-social:hover{
      box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--fc-social-inset) 80%, transparent);
    }
  }

  .fc-social:focus-visible{ outline: var(--fc-focus); outline-offset: 3px; }
  .fc-social img{
    width: 20px; height: 20px; display: block;
    pointer-events: none; -webkit-user-drag: none; user-select: none;
  }

  /* Brand-spezifische Hoverfarben: Fallback + moderne Variante */
  .fc-li:hover { background-color: #0a66c2; }
  .fc-wa:hover { background-color: #25D366; }
  .fc-ig:hover { background-color: #d62976; }

  @supports (background-color: color-mix(in oklab, #000 50%, #fff 50%)) {
    .fc-li:hover {
      background-color: color-mix(in oklab, #0a66c2 20%, var(--fc-social-bg-hover));
    }
    .fc-wa:hover {
      background-color: color-mix(in oklab, #25D366 20%, var(--fc-social-bg-hover));
    }
    .fc-ig:hover {
      background-color: color-mix(in oklab, #d62976 18%, var(--fc-social-bg-hover));
    }
  }

  /* ===== Legal ===== */
  .fc-legal{
    margin-top: clamp(1.25rem, 3vw, var(--fc-s4));
    padding-top: clamp(.95rem, 2vw, var(--fc-s3));
    border-top: 1px solid var(--fc-line);
    color: var(--fc-fg-muted);
    font-size: var(--fc-s2) !important;
    text-align: center;
    word-break: break-word;
    letter-spacing: .005em !important;
  }
  .nowrap{ white-space: nowrap; }

  /* ===== Motion ===== */
  @media (prefers-reduced-motion: reduce){
    .fc-btn, .fc-links a, .fc-social{ transition: none !important; }
    .fc-btn:hover, .fc-links a:hover, .fc-social:hover{ transform: none !important; }
  }

  /* Visually hidden für zugängliche Namen neben Icons */
  .sr-only{
    position:absolute!important; width:1px!important; height:1px!important;
    padding:0!important; margin:-1px!important; overflow:hidden!important;
    clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important;
  }

  .fc-socials {
  list-style: none;     /* entfernt die Punkte */
  margin: 0;
  padding: 0;
  display: flex;        /* Icons nebeneinander */
  gap: 0.75rem;         /* Abstand zwischen Icons */
}

.fc-socials li {
  margin: 0;
  padding: 0;
}
/* === Fix: Footer-Button immer orange & sichtbar === */
.fc-btn {
  background: #ff6600 !important;          /* dein Orange */
  color: #fff !important;                  /* weiße Schrift */
  border: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  -webkit-text-fill-color: #fff !important; /* iOS fix */
}

.fc-btn:hover {
  background: #e65c00 !important;          /* dunkler beim Hover */
  transform: translateY(-1px);
}

.fc-btn:focus-visible {
  outline: 2px dashed #ff6600 !important;
  outline-offset: 4px;
}
@media (max-width: 700px){
  .fc-head{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;                  /* gleichmäßiger Abstand */
  }

  .fc-brand, .fc-claim, .fc-cta{
    width: 100% !important;
    text-align: left !important;
  }

  .fc-cta{
    margin-top: 0.5rem !important;
  }

  .fc-btn{
    width: 100% !important;                /* voller Button auf kleinen Screens */
    justify-content: center !important;
  }
}
/* ===== Socials ===== */
  .fc-socials{
    list-style: none;     /* entfernt die Punkte */
    margin: 0;
    padding: 0;
    display: flex;        /* Icons nebeneinander */
    gap: 0.75rem;         /* Abstand zwischen Icons */
    margin-top: 2rem;     /* <--- Hier angepasst: Mehr Abstand nach oben (vorher 1rem) */
    align-items: center;
  }
  @media (max-width: 420px){ .fc-socials{ gap: .55rem; } }

  .fc-socials li {
    margin: 0;
    padding: 0;
  }

  .fc-social{
    position: relative;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 999px;
    background: var(--fc-social-bg);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--fc-social-inset);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  }

































/* Nur Hilfsklassen – das Layout bleibt unangetastet */
.hero-section .hero-line {
  display: block;
  overflow: hidden;          /* wird nach der Animation aufgehoben */
}

.hero-section .hero-line > span {
  display: inline-block;
  will-change: transform;
}

.hero-image-background {
  will-change: transform, clip-path;
}

/* Pfeil im zweiten Button bewegt sich beim Hover mit */
.btn-secondary .icon-arrow {
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover .icon-arrow { transform: translate(3px, -3px); }
}

/* Lichtstreifen über dem primären Button */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: 0;
  width: 35%;
  height: 220%;
  z-index: 1;
  background: linear-gradient(90deg,
    transparent, rgba(255, 255, 255, .35) 50%, transparent);
  transform: translate3d(-220%, 0, 0) rotate(14deg);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover::after {
    transition: transform .85s cubic-bezier(.4, 0, .2, 1);
    transform: translate3d(420%, 0, 0) rotate(14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section .hero-line { overflow: visible; }
  .btn-primary::after { display: none; }
  .btn-secondary .icon-arrow { transition: none; }
}
