/* ═══════════════════════════════════════════════════════════════════════════
   Rahmen der Website: Kopfzeile, Fußzeile, Layoutbreite (seit 19.09.2026)

   Aufbau und Verhalten kommen vom Theme (Zephyr, Header 23093, Seitenbaustein
   „Standard Fußzeile"), das Aussehen komplett von hier - nach dem Vorbild der
   Conseil-Demo „Digital Agency": ein schwebender weißer Kopfkasten mit 20 px
   Abstand zum Rand, die Fußzeile als heller abgerundeter Kasten, und eine
   einzige Layoutbreite (1300 px) für Kopf, Inhalt und Fuß.

   Selektoren mit „.l-…" und „.w-…" sind Zephyr, „.ld-fuss-…" sind unsere aus
   dem Fußzeilen-Baustein, „.ld-kopf-…" kommt aus class-rahmen.php.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Schrift: Manrope, selbst gehostet, dieselbe wie auf der Startseite ────── */
@font-face {
  font-family: "Manrope LD";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Farben und Maße ──────────────────────────────────────────────────────── */
:root {
  --ld-tinte: #012f47;          /* Dunkelblau der Marke: Text, Knöpfe */
  --ld-akzent: #0077b6;         /* Aktion, Hover */
  --ld-akzent-hell: #1fb1fb;    /* Hellblau des Logos */
  --ld-grau-1: #f4f4f5;
  --ld-grau-2: #e4e4e7;
  --ld-grau-5: #71717a;
  --ld-grau-6: #52525b;
  --ld-grau-9: #18181b;
  --ld-kurve: cubic-bezier(.32, .72, 0, 1);   /* schweres Ausrollen, kein Federn */
  --ld-schatten: 0 18px 40px -24px rgba(1, 47, 71, .35);

  /* Eine Breite für alles. Zephyr liest diese Variable für .l-section-h und den
     Kopf, die Conseil-Bausteine der Startseite rechnen ohnehin mit 1300 px. */
  --ld-breite: 1320px;          /* DIE Layoutbreite. Kopf, Inhalt, Fuß lesen nur diese Zahl. */
  --site-content-width: var(--ld-breite) !important;
  --ld-rand: 24px;              /* Seitenrand; Kopf, Inhalt und Fuß benutzen denselben */
  /* Der Kopf schwebt: 20 px Luft oben, 68 px Kasten, 12 px unten = 100. Zephyr
     schiebt den Inhalt um diese Höhe nach unten, deshalb müssen die Zahlen stimmen. */
  --header-height: 100px !important;
  --header-sticky-height: 80px !important;
}

/* Große Bildschirme: die Breite wächst mit, sonst steht auf 2560 px eine
   schmale Spalte in viel Weiß (Marcels Bildschirm, 20.09.2026). */
@media (min-width: 1800px) { :root { --ld-breite: 1480px; } }
@media (min-width: 2300px) { :root { --ld-breite: 1640px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   KOPFZEILE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Kopf, dritte Fassung (20.09.2026, Marcel: „komplettes Header-Design nochmal
   ändern"). Oben gibt es KEINEN Kasten mehr: Logo und Knopf stehen exakt auf den
   Kanten des Inhalts, die Navigation dazwischen. Beim Scrollen entsteht um den
   Inhalt herum ein weißer Kasten (Pseudo-Element, 20 px über die Kanten hinaus),
   dadurch springt nichts und die Kanten bleiben dieselben wie im Inhalt. */
.l-header .l-subheader,
.l-header.shadow_thin .l-subheader,
.l-header.sticky .l-subheader,
.l-header.shadow .l-subheader { box-shadow: none !important; }
.l-header .l-subheader.at_middle {
  background: transparent !important;
  height: auto !important;
  line-height: normal !important;
  padding: 16px var(--ld-rand) 16px;   /* 16 + 68 + 16 = 100, siehe --header-height */
  overflow: visible;
  transition: padding .45s var(--ld-kurve);
}
.l-header.sticky .l-subheader.at_middle { padding-top: 10px; padding-bottom: 6px; }   /* 10 + 64 + 6 = 80 */

.l-header .l-subheader.at_middle .l-subheader-h {
  position: relative;
  height: 68px;
  max-width: var(--ld-breite) !important;
  padding: 0;
  background: none;
  /* beim Scrollen rücken Logo und Knopf in den Kasten hinein */
  font-family: "Manrope LD", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ld-tinte);
  transition: height .45s var(--ld-kurve), padding .45s var(--ld-kurve);
}
.l-header .l-subheader.at_middle .l-subheader-h::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;   /* exakt auf den Inhaltskanten, nicht darüber hinaus */
  border-radius: 22px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(10, 23, 32, 0);
  transition: background .45s var(--ld-kurve), box-shadow .45s var(--ld-kurve), border-color .45s var(--ld-kurve);
}
.l-header .l-subheader-cell { position: relative; z-index: 1; }
.l-header.sticky .l-subheader.at_middle .l-subheader-h { height: 64px; padding: 0 8px 0 22px; }
.l-header.sticky .l-subheader.at_middle .l-subheader-h::before {
  /* fast deckend: über dem dunkelblauen Block war die Navigation mit 90 % Weiß schlecht lesbar (20.09.2026) */
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
          backdrop-filter: blur(18px) saturate(170%);
  border-color: rgba(10, 23, 32, .07);
  box-shadow: 0 22px 44px -26px rgba(10, 132, 201, .55), 0 2px 6px -2px rgba(10, 23, 32, .08);
}

/* Zweite Leiste, Suche und Klick-Welle: auf jeder Seite weg (siehe Customizer-Stand 12.09.2026) */
.l-header .l-subheader.at_bottom,
.l-header .l-subheader.at_top,
.l-header .w-search.ush_search_1,
.ripple, .ripple-on { display: none !important; }

/* ── Logo: dunkle Fassung für den weißen Kasten ────────────────────────────
   Das Bild-Element des Themes zeigt für neu hochgeladene Anhänge nur einen
   Platzhalter (geprüft 12.09.2026), deshalb kommt das Logo als Hintergrund.
   Das alte SVG bleibt im Markup und wird verdeckt. */
.l-header .ush_image_1 .w-image-h {
  display: block;
  width: 172px;
  height: 36px;
  background: url("marke/logo-dunkel.png") no-repeat left center;
  background-size: contain;
  transition: transform .45s var(--ld-kurve);
}
.l-header .ush_image_1 .w-image-h img { visibility: hidden; width: 172px; height: 36px; }
.l-header.sticky .ush_image_1 .w-image-h { transform: scale(.92); transform-origin: left center; }

/* ── Hauptnavigation ──────────────────────────────────────────────────────── */
.l-header .l-subheader-cell { display: flex; align-items: center; height: 100%; }
.l-header .l-subheader-cell.at_right { justify-content: flex-end; }
/* Den Hamburger zeigt nur das Handymenü; am Desktop stand er sonst über der Liste */
.l-header .w-nav.type_desktop .w-nav-control { display: none !important; }
.l-header .w-nav.type_desktop .w-nav-list.level_1 { display: flex; align-items: center; gap: 2px; }
.l-header .w-nav.type_desktop .w-nav-anchor.level_1 {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1;
  color: var(--ld-tinte) !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background .3s var(--ld-kurve), color .3s var(--ld-kurve);
}
.l-header .w-nav.type_desktop .w-nav-anchor.level_1::after { content: none !important; }
.l-header .w-nav.type_desktop .w-nav-title { padding: 0; }
.l-header .w-nav.type_desktop .w-nav-anchor.level_1 { position: relative; }
.l-header .w-nav.type_desktop .w-nav-anchor.level_1::before {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--ld-akzent-hell);
  transform: scale(0); transition: transform .4s var(--ld-kurve);
}
.no-touch .l-header .w-nav.type_desktop .w-nav-anchor.level_1:hover { background: transparent !important; color: var(--ld-tinte) !important; }
.no-touch .l-header .w-nav.type_desktop .w-nav-anchor.level_1:hover::before,
.l-header .w-nav.type_desktop .menu-item.current-menu-item > .w-nav-anchor.level_1::before,
.l-header .w-nav.type_desktop .menu-item.current-menu-ancestor > .w-nav-anchor.level_1::before { transform: scale(1); }
.l-header .w-nav.type_desktop .ld-kopf-cta .w-nav-anchor.level_1::before { content: none; }
.l-header .w-nav.type_desktop .menu-item.current-menu-item > .w-nav-anchor.level_1,
.l-header .w-nav.type_desktop .menu-item.current-menu-ancestor > .w-nav-anchor.level_1 { color: var(--ld-tinte) !important; }
.l-header a:focus-visible { outline: 2px solid var(--ld-akzent); outline-offset: 2px; border-radius: 10px; }
.l-header a:focus:not(:focus-visible) { outline: none !important; }
.l-header a { -webkit-tap-highlight-color: transparent; }

/* ── Anfrage-Knopf am Ende des Menüs (class-rahmen.php) ───────────────────── */
.l-header .w-nav.type_desktop .ld-kopf-cta { margin-left: 10px; }
.l-header .w-nav .ld-kopf-cta .w-nav-anchor.level_1 {
  height: 48px;
  padding: 0 8px 0 22px;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(100deg, #0a84c9 0%, #1fb1fb 50%, #5fd0ff 100%) !important;
  background-size: 180% 100% !important;
  background-position: 0 0 !important;
  color: #fff !important;
  box-shadow: 0 12px 26px -14px rgba(10, 132, 201, .8);
  transition: background-position .6s var(--ld-kurve), transform .35s var(--ld-kurve), box-shadow .35s var(--ld-kurve);
}
.no-touch .l-header .w-nav .ld-kopf-cta .w-nav-anchor.level_1:hover {
  /* die Hover-Regel der Navigation setzt background: transparent - hier ausdrücklich zurück (20.09.2026: der Knopf verschwand beim Überfahren) */
  background: linear-gradient(100deg, #0a84c9 0%, #1fb1fb 50%, #5fd0ff 100%) !important;
  background-size: 180% 100% !important;
  background-position: 100% 0 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -16px rgba(10, 132, 201, .95);
}
.l-header .w-nav .ld-kopf-cta .w-nav-anchor.level_1:active { transform: scale(.97); }
.ld-kopf-cta-pfeil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  transition: transform .45s var(--ld-kurve), background .35s var(--ld-kurve), color .35s var(--ld-kurve);
}
.ld-kopf-cta-pfeil svg { display: block; }
.no-touch .l-header .ld-kopf-cta .w-nav-anchor:hover .ld-kopf-cta-pfeil {
  background: #fff;
  color: #0a84c9;
  transform: translate(2px, -2px);
}

/* ── Handy und Tablet (Zephyr schaltet unter 900 px auf type_mobile) ──────── */
.l-header .w-nav.type_mobile .w-nav-control {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  color: var(--ld-tinte) !important;
  transition: background .3s var(--ld-kurve);
}
.l-header .w-nav-control.active,
.no-touch .l-header .w-nav-control:hover { background: rgba(1, 47, 71, .06); }
.l-header .w-nav-icon { --icon-thickness: 2px !important; width: 22px; }

/* Das Menü klappt als eigener Kasten unter dem Kopf auf */
.l-header .w-nav.type_mobile.m_layout_dropdown .w-nav-list.level_1 {
  position: fixed !important;
  top: calc(var(--header-height) - 2px) !important;
  left: var(--ld-rand) !important;
  right: var(--ld-rand) !important;
  bottom: auto !important;
  padding: 10px !important;
  background: #fff !important;
  border: 1px solid rgba(1, 47, 71, .08);
  border-radius: 18px;
  box-shadow: 0 30px 70px -28px rgba(1, 47, 71, .45) !important;
  max-height: calc(100vh - var(--header-height) - 20px);
  overflow: auto;
}
.l-header .w-nav.type_mobile .w-nav-item.level_1 {
  animation: ldMenueEin .55s var(--ld-kurve) both;
  animation-delay: calc(var(--ld-i, 0) * 45ms);
}
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(1) { --ld-i: 0; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(2) { --ld-i: 1; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(3) { --ld-i: 2; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(4) { --ld-i: 3; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(5) { --ld-i: 4; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(6) { --ld-i: 5; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(7) { --ld-i: 6; }
.l-header .w-nav.type_mobile .w-nav-item.level_1:nth-child(8) { --ld-i: 7; }
@keyframes ldMenueEin {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.l-header .w-nav.type_mobile .w-nav-anchor.level_1 {
  display: flex;
  align-items: center;
  padding: 14px 16px !important;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2 !important;
  color: var(--ld-tinte) !important;
  background: transparent !important;
  border: 0 !important;
}
.no-touch .l-header .w-nav.type_mobile .w-nav-anchor.level_1:hover { background: rgba(1, 47, 71, .05) !important; }
.l-header .w-nav.type_mobile .ld-kopf-cta { margin-top: 6px; }
.l-header .w-nav.type_mobile .ld-kopf-cta .w-nav-anchor.level_1 {
  justify-content: space-between;
  height: auto;
  padding: 12px 10px 12px 18px !important;
  border-radius: 999px;
  font-size: 17px;
}
.l-header .w-nav.type_mobile .w-nav-close { display: none !important; }

@media (max-width: 901px) {
  :root { --header-height: 78px !important; --header-sticky-height: 78px !important; }
  :root { --ld-rand: 20px; }
  .l-header .l-subheader.at_middle,
  .l-header.sticky .l-subheader.at_middle { padding: 12px var(--ld-rand) 6px; }
  .l-header .l-subheader.at_middle .l-subheader-h,
  .l-header.sticky .l-subheader.at_middle .l-subheader-h { height: 60px; padding: 0 6px 0 14px; }
  /* am Handy steht der Kasten immer, sonst hängt der Hamburger nackt über dem Inhalt */
  .l-header .l-subheader.at_middle .l-subheader-h::before { border-radius: 16px; background: rgba(255, 255, 255, .92); border-color: rgba(10, 23, 32, .07); box-shadow: 0 14px 30px -20px rgba(10, 132, 201, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .l-header .ush_image_1 .w-image-h,
  .l-header .ush_image_1 .w-image-h img { width: 150px; height: 32px; }
  .l-header.sticky .ush_image_1 .w-image-h { transform: none; }
}

/* ── Nach-oben-Knopf des Themes ────────────────────────────────────────────── */
.w-toplink {
  background: linear-gradient(135deg, #0a84c9, #1fb1fb) !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 12px 28px -12px rgba(1, 47, 71, .5) !important;
}
.no-touch .w-toplink:hover { background: var(--ld-akzent) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   BANNER DER UNTERSEITEN (Stand 12.09.2026, unverändert übernommen)
   Das immer gleiche Hintergrundbild von 2019 raus, die blaue Fläche bleibt,
   der Titel steht mittig. Greift nur auf der ersten Sektion einer Seite.
   ═══════════════════════════════════════════════════════════════════════════ */
.l-main > .l-section.with_img:first-of-type .l-section-img,
.l-main > .l-section.with_img:first-of-type .l-section-overlay { display: none !important; }
/* hell statt dunkel: der Kopf hat oben keinen Kasten mehr, das dunkle Logo muss lesbar bleiben */
.l-main > .l-section:first-of-type.color_primary { background: linear-gradient(160deg, #e3f4fe 0%, #f5fbff 60%, #fff 100%) !important; }
.l-main > .l-section:first-of-type.color_primary h1,
.l-main > .l-section:first-of-type.color_primary .w-post-elm { color: #0a1720 !important; font-family: "Manrope LD", system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: -.035em !important; }
.l-main > .l-section:first-of-type.color_primary .l-section-h,
.l-main > .l-section:first-of-type.color_primary .wpb_column,
.l-main > .l-section:first-of-type.color_primary .wpb_wrapper { text-align: center !important; }
.l-main > .l-section:first-of-type.color_primary h1 { text-align: center !important; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   FUSSZEILE: vollflächig hellgrau (Marcel, 19.09.2026: „nicht weiß, einfach
   vollflächig grau"), Inhalt in der Layoutbreite, darunter eine ruhige Zeile
   ═══════════════════════════════════════════════════════════════════════════ */
.l-footer,
.l-footer .l-section,
.l-footer .l-section.color_footer-bottom {
  background: var(--ld-grau-1) !important;
  color: var(--ld-grau-9);
  font-family: "Manrope LD", system-ui, -apple-system, "Segoe UI", sans-serif;
  border: 0 !important;
  box-shadow: none !important;
}
.l-footer { padding: 0 var(--ld-rand); margin-top: 0; }
/* Unterseiten: Zephyr gibt den Sektionen 2,5 rem Rand; damit stünde der Inhalt
   weiter innen als der Kopfkasten. Gleicher Rand wie überall. */
.l-main > .l-section { padding-left: var(--ld-rand) !important; padding-right: var(--ld-rand) !important; }
.ld-core-startseite .l-main > .l-section { padding-left: 0 !important; padding-right: 0 !important; }
.l-footer .l-section { padding: 0 !important; }
.l-footer .l-section-h { border: 0 !important; box-shadow: none !important; }
.ld-fuss.l-section { padding-top: 72px !important; }
.ld-fuss > .l-section-h { padding: 0 0 48px !important; border-bottom: 1px solid rgba(1, 47, 71, .1) !important; }
.ld-fuss .g-cols { gap: 40px 48px; align-items: flex-start; }
.ld-fuss .wpb_text_column { margin-bottom: 0; }
.ld-fuss .wpb_wrapper > *:last-child { margin-bottom: 0; }
.ld-fuss .vc_column-inner, .ld-fuss .wpb_column { padding-bottom: 0 !important; }

/* Marke: Logo dunkel (die hochgeladene Fassung hat „design" in Weiß) */
.ld-fuss-logo {
  width: 186px;
  height: 38px;
  margin-bottom: 22px;
  background: url("marke/logo-dunkel.png") no-repeat left center;
  background-size: contain;
}
.ld-fuss-logo img { visibility: hidden; display: block; height: 38px; width: auto; }
.ld-fuss-claim {
  max-width: 36ch;
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ld-grau-6);
}
.ld-fuss-social { display: flex; gap: 10px; }
.ld-fuss-social br { display: none; }
.ld-fuss-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(1, 47, 71, .12);
  background: #fff;
  color: var(--ld-tinte);
  transition: background .3s var(--ld-kurve), color .3s var(--ld-kurve), transform .35s var(--ld-kurve), border-color .3s var(--ld-kurve);
}
.no-touch .ld-fuss-social a:hover {
  background: var(--ld-tinte);
  border-color: var(--ld-tinte);
  color: #fff;
  transform: translateY(-3px);
}
.ld-fuss-social svg { width: 18px; height: 18px; }

/* Spaltenüberschriften */
.ld-fuss-titel {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ld-grau-5);
}

/* Menüs (WordPress-Menüs 36 und 37) */
.ld-fuss .menu, .ld-fuss .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; }
.ld-fuss .menu li { margin: 0 0 10px; padding: 0; }
.ld-fuss .menu li:last-child { margin-bottom: 0; }
.ld-fuss .menu li a {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ld-grau-9);
  text-decoration: none;
  transition: color .25s var(--ld-kurve);
}
.ld-fuss .menu li a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ld-akzent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ld-kurve);
}
.no-touch .ld-fuss .menu li a:hover { color: var(--ld-akzent); }
.no-touch .ld-fuss .menu li a:hover::after { transform: scaleX(1); }
.ld-fuss .widgettitle, .ld-fuss .widget-title { display: none; }

/* Kontakt */
.ld-fuss-liste { list-style: none; margin: 0; padding: 0; }
.ld-fuss-liste li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ld-grau-6);
}
.ld-fuss-liste li:last-child { margin-bottom: 0; }
.ld-fuss-liste svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--ld-akzent); }
.ld-fuss-liste a { color: var(--ld-grau-9); text-decoration: none; transition: color .25s var(--ld-kurve); }
.no-touch .ld-fuss-liste a:hover { color: var(--ld-akzent); }
.ld-fuss-liste li.ld-fuss-tel a { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ld-tinte); }

/* Unterste Zeile: außerhalb des Kastens, ohne Linie */
.ld-fuss-unten > .l-section-h { padding: 24px 0 36px !important; }
.ld-fuss-unten .wpb_text_column { margin-bottom: 0; }
.ld-fuss-unten .vc_column-inner, .ld-fuss-unten .wpb_column { padding-bottom: 0 !important; }
.ld-fuss-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  border: 0;
  font-size: 13.5px;
  color: var(--ld-grau-5);
}
.ld-fuss-copy br { display: none; }
.ld-fuss-recht { display: flex; gap: 22px; }
.ld-fuss-copy a { color: var(--ld-grau-5); text-decoration: none; transition: color .25s var(--ld-kurve); }
.no-touch .ld-fuss-copy a:hover { color: var(--ld-tinte); }

@media (max-width: 900px) {
  .ld-fuss.l-section { padding-top: 48px !important; }
  .ld-fuss > .l-section-h { padding: 0 0 36px !important; }
  .ld-fuss .g-cols { gap: 34px; }
  .ld-fuss-claim { max-width: none; }
}
@media (max-width: 600px) {
  .ld-fuss-copy { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ld-fuss-recht { gap: 18px; }
}

/* ── Weniger Bewegung ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .l-header .w-nav.type_mobile .w-nav-item.level_1 { animation: none; }
  .l-header .l-subheader-h, .ld-kopf-cta-pfeil, .ld-fuss-social a { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Runde 5 (20.09.2026 nachts, Marcel)
   1. Menüpunkte: beim Überfahren wieder die weiche graue Fläche (der blaue
      Punkt war „schlechter geworden")
   2. Sticky-Kopf komplett neu: aus der vollen Breite wird eine kompakte dunkle
      Insel in der Mitte, helles Logo, weiße Schrift. Nur am Desktop; am Handy
      bleibt der weiße Kasten, dort gibt es keine Breite zu verschenken.
   3. Eingang: beim ersten Aufruf der Sitzung kommt der Kopf Stück für Stück
      herein (html.ld-erstbesuch setzt class-rahmen.php)
   4. Seitenübergang (View Transitions, Chrome und Safari; andere Browser
      wechseln wie bisher): die neue Seite zieht in einem weichen Verlauf von
      unten herein, der Kopf bleibt dabei stehen
   5. Fußzeile: kein Hellgrau auf Grau mehr
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1 ── Menüpunkte ────────────────────────────────────────────────────────── */
.l-header .w-nav.type_desktop .w-nav-anchor.level_1::before { content: none; }
.no-touch .l-header .w-nav.type_desktop .menu-item:not(.ld-kopf-cta) > .w-nav-anchor.level_1:hover { background: rgba(1, 47, 71, .07) !important; }
.l-header .w-nav.type_desktop .menu-item.current-menu-item:not(.ld-kopf-cta) > .w-nav-anchor.level_1,
.l-header .w-nav.type_desktop .menu-item.current-menu-ancestor > .w-nav-anchor.level_1 { background: rgba(1, 47, 71, .07) !important; }

/* 2 ── (dunkle Sticky-Insel: am 20.09.2026 spät wieder entfernt, siehe Runde 6) */

/* 3 ── Eingang beim ersten Aufruf ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* Logo: seit Runde 33 in assets/kopf-logo.js (Buchstaben steigen, i-Punkt fliegt ein). Die frühere
     Wisch-Animation hier hinterließ clip-path auf dem Bildrahmen und schnitt das g unten an. */
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item { animation: ldKopfPunkt .8s var(--ld-kurve) both; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(1) { animation-delay: .30s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(2) { animation-delay: .37s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(3) { animation-delay: .44s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(4) { animation-delay: .51s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(5) { animation-delay: .58s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:nth-child(6) { animation-delay: .65s; }
  html.ld-erstbesuch .l-header .w-nav.type_desktop .w-nav-list.level_1 > .ld-kopf-cta { animation: ldKopfKnopf .9s var(--ld-kurve) .78s both; }
  html.ld-erstbesuch .l-header .ld-kopf-cta-pfeil { animation: ldKopfPfeil .8s var(--ld-kurve) 1.25s both; }
  html.ld-erstbesuch .l-header .w-nav.type_mobile .w-nav-control { animation: ldKopfPunkt .8s var(--ld-kurve) .4s both; }
}
@keyframes ldKopfPunkt { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes ldKopfKnopf { from { opacity: 0; transform: translateX(22px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes ldKopfPfeil { from { transform: rotate(-90deg) scale(.4); } to { transform: none; } }

/* 4 ── Seitenübergang ────────────────────────────────────────────────────── */
@view-transition { navigation: auto; }
/* .l-header hatte hier view-transition-name: das hat die Unschärfe des Kopfes abgeschaltet (backdrop root), am 20.09.2026 entfernt */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
  ::view-transition-group(ld-kopf) { z-index: 2; animation-duration: .5s; }
  ::view-transition-old(root) { animation: ldSeiteRaus .7s cubic-bezier(.32, .72, 0, 1) both; }
  ::view-transition-new(root) {
    /* Maske, dreimal so hoch wie das Bild: oben durchsichtig, unten deckend, dazwischen ein
       weicher Verlauf. Sie fährt nach oben durch, dadurch erscheint die neue Seite von unten. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 33.3%, #000 66.6%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0, transparent 33.3%, #000 66.6%, #000 100%);
    -webkit-mask-size: 100% 300%; mask-size: 100% 300%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    animation: ldSeiteRein .95s cubic-bezier(.45, .05, .2, 1) both;
  }
}
@keyframes ldSeiteRaus { to { transform: translateY(-40px) scale(.985); filter: brightness(.82); } }
@keyframes ldSeiteRein { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 0 100%; mask-position: 0 100%; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* 5 ── Fußzeile: lesbar ──────────────────────────────────────────────────── */
.ld-fuss-titel { color: var(--ld-tinte); }
.ld-fuss-claim, .ld-fuss-liste li { color: #3f3f46; }
.ld-fuss-copy, .ld-fuss-copy a { color: #3f3f46; }
.ld-fuss-copy a { font-weight: 600; color: var(--ld-tinte); text-decoration: underline; text-decoration-color: rgba(1, 47, 71, .3); text-underline-offset: 3px; }
.no-touch .ld-fuss-copy a:hover { text-decoration-color: currentColor; }
.no-touch .ld-fuss .menu li a:hover, .no-touch .ld-fuss-liste a:hover { color: var(--ld-tinte); }
.ld-fuss .menu li a::after { background: var(--ld-tinte); }
.ld-fuss-liste svg { color: var(--ld-tinte); }
/* Nach-oben-Knopf: dunkelblau statt Verlauf (Blau sparsam) */
.w-toplink, .no-touch .w-toplink:hover { background: var(--ld-tinte) !important; box-shadow: 0 14px 30px -14px rgba(1, 25, 38, .6) !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   Runde 6 (20.09.2026 spät, Marcel)
   · Sticky: „kein großes Ding draus machen": derselbe Kopf, nur mit halb
     durchsichtigem Weiß und Unschärfe über die volle Breite. Die dunkle Insel
     aus Runde 5 ist entfernt.
   · Der Anfrage-Knopf bleibt weiß beschriftet, auch wenn Zephyr ihn am Seitenende
     als „aktuellen Menüpunkt" markiert (#anfrage im Bild -> Schrift wurde dunkel)
   · Dropdown unter „Leistungen" (class-rahmen.php)
   · Seitenübergang: kurz und direkt
   ═══════════════════════════════════════════════════════════════════════════ */
.l-header .l-subheader.at_middle { transition: padding .45s var(--ld-kurve), background .35s ease, box-shadow .35s ease; }
.l-header.sticky .l-subheader.at_middle {
  padding-top: 8px; padding-bottom: 8px;   /* 8 + 64 + 8 = 80 */
  background: rgba(255, 255, 255, .86) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%);
          backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 1px 0 rgba(10, 23, 32, .07) !important;
}
.l-header.sticky .l-subheader.at_middle .l-subheader-h { height: 64px; padding: 0; }
.l-header.sticky .l-subheader.at_middle .l-subheader-h::before { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.l-header .w-nav .menu-item.ld-kopf-cta > .w-nav-anchor.level_1,
.l-header .w-nav .menu-item.ld-kopf-cta.current-menu-item > .w-nav-anchor.level_1,
.l-header .w-nav .menu-item.ld-kopf-cta > .w-nav-anchor.level_1 .w-nav-title { color: #fff !important; }

/* ── Dropdown ──────────────────────────────────────────────────────────── */
.l-header .w-nav.type_desktop .ld-hat-drop { position: relative; }
.ld-kopf-winkel { margin-left: 6px; transition: transform .4s var(--ld-kurve); }
.l-header .w-nav.type_desktop .ld-hat-drop:hover .ld-kopf-winkel,
.l-header .w-nav.type_desktop .ld-hat-drop:focus-within .ld-kopf-winkel { transform: rotate(180deg); }
.ld-kopf-drop { position: absolute; z-index: 20; top: 100%; left: 50%; width: 560px; padding-top: 14px; margin-left: -280px; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .3s; }
.ld-kopf-drop-h { padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(10, 23, 32, .07), 0 40px 80px -36px rgba(1, 25, 38, .45); transform: translateY(-10px) scale(.97); transform-origin: 50% 0; transition: transform .45s var(--ld-kurve); }
.l-header .w-nav.type_desktop .ld-hat-drop:hover .ld-kopf-drop,
.l-header .w-nav.type_desktop .ld-hat-drop:focus-within .ld-kopf-drop { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.l-header .w-nav.type_desktop .ld-hat-drop:hover .ld-kopf-drop-h,
.l-header .w-nav.type_desktop .ld-hat-drop:focus-within .ld-kopf-drop-h { transform: none; }
.ld-kopf-drop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ld-kopf-drop li { margin: 0; padding: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .5s var(--ld-kurve); }
.ld-hat-drop:hover .ld-kopf-drop li, .ld-hat-drop:focus-within .ld-kopf-drop li { opacity: 1; transform: none; }
.ld-kopf-drop li:nth-child(1) { transition-delay: .04s; } .ld-kopf-drop li:nth-child(2) { transition-delay: .07s; }
.ld-kopf-drop li:nth-child(3) { transition-delay: .10s; } .ld-kopf-drop li:nth-child(4) { transition-delay: .13s; }
.ld-kopf-drop li:nth-child(5) { transition-delay: .16s; } .ld-kopf-drop li:nth-child(6) { transition-delay: .19s; }
.l-header .ld-kopf-drop li a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-family: "Manrope LD", system-ui, sans-serif; line-height: 1.3; color: var(--ld-tinte) !important; transition: background .25s ease; }
.no-touch .l-header .ld-kopf-drop li a:hover { background: var(--ld-grau-1); }
.ld-kopf-drop li b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.012em; }
.ld-kopf-drop li span { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 500; color: #52525b; }
.l-header a.ld-kopf-drop-alle { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 16px; line-height: 1.2; height: auto; border-radius: 14px; background: var(--ld-grau-1); font-family: "Manrope LD", system-ui, sans-serif; font-size: 14.5px; font-weight: 700; color: var(--ld-tinte) !important; text-decoration: none; transition: background .25s ease; }
.no-touch .l-header a.ld-kopf-drop-alle:hover { background: var(--ld-grau-2); }
.ld-kopf-drop-alle svg { transition: transform .4s var(--ld-kurve); }
.no-touch .ld-kopf-drop-alle:hover svg { transform: translateX(4px); }
/* Handymenü: kein Dropdown, „Leistungen" führt auf die Seite */
.l-header .w-nav.type_mobile .ld-kopf-drop, .l-header .w-nav.type_mobile .ld-kopf-winkel { display: none; }

/* ── Seitenübergang: schnell und schlicht ──────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: ldSeiteWeg .16s ease-out both; -webkit-mask-image: none; mask-image: none; }
  ::view-transition-new(root) { animation: ldSeiteDa .32s cubic-bezier(.32, .72, 0, 1) both; -webkit-mask-image: none; mask-image: none; }
  ::view-transition-group(ld-kopf) { animation-duration: .25s; }
}
@keyframes ldSeiteWeg { to { opacity: 0; } }
@keyframes ldSeiteDa { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }


/* ═══════════════════════════════════════════════════════════════════════════
   Runde 7 (20.09.2026 abends, Marcel)
   · Menü mittig zwischen Logo und Knopf, feine Linie unter dem Kopf
   · Sticky: deutlich durchscheinend mit Unschärfe (86 % Weiß ließ davon nichts sehen)
   · Dropdown schöner: Symbol je Punkt, mehr Luft, Pfeil beim Überfahren
   ═══════════════════════════════════════════════════════════════════════════ */
.l-header .l-subheader.at_middle { box-shadow: 0 1px 0 rgba(10, 23, 32, .08) !important; }
.l-header.sticky .l-subheader.at_middle {
  background: rgba(255, 255, 255, .62) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
          backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 1px 0 rgba(10, 23, 32, .08) !important;
}
@media (min-width: 901px) {
  .l-header .l-subheader-cell.at_left { flex: 0 0 auto; }
  .l-header .l-subheader-cell.at_center { display: none; }
  .l-header .l-subheader-cell.at_right { flex: 1 1 auto; justify-content: stretch; }
  .l-header .l-subheader-cell.at_right > .w-nav { width: 100%; flex: 1 1 auto; }
  .l-header .w-nav.type_desktop .w-nav-list.level_1 { width: 100%; justify-content: center; }
  .l-header .w-nav.type_desktop .w-nav-list.level_1 > .menu-item:first-child { margin-left: auto; }
  .l-header .w-nav.type_desktop .w-nav-list.level_1 > .ld-kopf-cta { margin-left: auto; }
}

/* Dropdown */
.ld-kopf-drop { width: 620px; margin-left: -310px; }
.ld-kopf-drop-h { padding: 12px; border-radius: 24px; }
.ld-kopf-drop ul { gap: 4px; }
.l-header .ld-kopf-drop li a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 40px 14px 14px; border-radius: 16px; }
.l-header .ld-kopf-drop li a::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px; background: var(--ld-grau-1) center / 20px 20px no-repeat; transition: background-color .3s ease; }
.no-touch .l-header .ld-kopf-drop li a:hover::before { background-color: #fff; }
.l-header .ld-kopf-drop li a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .4s var(--ld-kurve); background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.no-touch .l-header .ld-kopf-drop li a:hover::after { opacity: 1; transform: none; }
.ld-kopf-drop li b, .ld-kopf-drop li span { grid-column: 2; }
.ld-kopf-drop li span { margin-top: 2px; }
/* Symbole (Linien, Dunkelblau), in der Reihenfolge der Punkte in class-rahmen.php */
/* Symbole des Megamenüs, fest je Leistung (seit 1.32.5; vorher nach Position, verrutschte beim Umsortieren) */
.ld-kopf-drop li.ld-drop-webdesign a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='3.5' width='19' height='17' rx='2.5'/%3E%3Cpath d='M2.5 8.5h19'/%3E%3Cpath d='M6 6h.01M8.6 6h.01'/%3E%3Cpath d='M10.6 12.2l6.4 2.6-2.8 1.1-1.1 2.8z'/%3E%3C/svg%3E"); }
.ld-kopf-drop li.ld-drop-onlineshop a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9.2' cy='19.9' r='1.35'/%3E%3Ccircle cx='17.6' cy='19.9' r='1.35'/%3E%3Cpath d='M2.6 3.6h2.5l2.3 11a1.9 1.9 0 0 0 1.9 1.5h8.2a1.9 1.9 0 0 0 1.8-1.4l1.6-6.9H6.1'/%3E%3C/svg%3E"); }
.ld-kopf-drop li.ld-drop-ki a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.6 3.6l1.55 4.3a2.2 2.2 0 0 0 1.35 1.35l4.3 1.55-4.3 1.55a2.2 2.2 0 0 0-1.35 1.35l-1.55 4.3-1.55-4.3a2.2 2.2 0 0 0-1.35-1.35L3.4 10.8l4.3-1.55a2.2 2.2 0 0 0 1.35-1.35z'/%3E%3Cpath d='M18.4 14.6v5.6M15.6 17.4h5.6'/%3E%3Cpath d='M18.6 2.8v3M17.1 4.3h3'/%3E%3C/svg%3E"); }
.ld-kopf-drop li.ld-drop-seo a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.4' cy='10.4' r='7'/%3E%3Cpath d='m20.6 20.6-5.2-5.2'/%3E%3Cpath d='M6.9 12.6l2.3-2.4 1.9 1.6 3-3.4'/%3E%3C/svg%3E"); }
.ld-kopf-drop li.ld-drop-grafik a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.7 21.3a1 1 0 0 1-1.4 0l-1.6-1.6a1 1 0 0 1 0-1.4l5.6-5.6a1 1 0 0 1 1.4 0l1.6 1.6a1 1 0 0 1 0 1.4z'/%3E%3Cpath d='m18 13-1.4-6.9a1 1 0 0 0-.7-.8L3.2 2a1 1 0 0 0-1.2 1.2l3.3 12.7a1 1 0 0 0 .8.7L13 18'/%3E%3Cpath d='m2.3 2.3 7.3 7.3'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
.ld-kopf-drop li.ld-drop-hosting a::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23012f47' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3.4' width='18' height='7.2' rx='2'/%3E%3Crect x='3' y='13.4' width='18' height='7.2' rx='2'/%3E%3Cpath d='M7 7h.01M7 17h.01'/%3E%3Cpath d='m13.4 17 1.6 1.6 3.2-3.3'/%3E%3C/svg%3E"); }
.l-header a.ld-kopf-drop-alle { margin-top: 10px; padding: 16px 18px; border-radius: 16px; background: var(--ld-tinte); color: #fff !important; }
.no-touch .l-header a.ld-kopf-drop-alle:hover { background: #02415f; }

/* ═══ Runde 9 (20.09.2026 nachts) ═══════════════════════════════════════════
   · Kopf: durchscheinend mit Unschärfe, IMMER (nicht erst beim Scrollen). Ursache, warum
     es bisher nie zu sehen war, steht oben beim Seitenübergang (view-transition-name).
   · Dropdown: linksbündig unter „Leistungen" statt mittig darunter – der Punkt steht jetzt
     links im Menü, mittig ragte das Feld Richtung Logo hinaus.
   ═══════════════════════════════════════════════════════════════════════════ */
.l-header .l-subheader.at_middle,
.l-header.sticky .l-subheader.at_middle {
  background: rgba(255, 255, 255, .58) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%);
          backdrop-filter: blur(24px) saturate(180%);
}
.ld-kopf-drop { left: 0; margin-left: -14px; }
.ld-kopf-drop-h { transform-origin: 60px 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   Runde 13 (21.09.2026): Fußzeile neu (templates/teile/fusszeile.php).
   Grauer Grund über die volle Fläche und die Layoutbreite bleiben; alles andere
   ist neu: große Anfragezeile, Kontaktwege als Zeilen, vier Spalten, die
   Wortmarke über die ganze Breite, darunter die Rechtszeile.
   Die alten .ld-fuss-Regeln stehen weiter oben und greifen nicht mehr.
   ═══════════════════════════════════════════════════════════════════════════ */
.ld-fuss > .l-section-h { padding: 0 !important; border: 0 !important; max-width: none !important; }
.ld-fuss.l-section { padding: 0 !important; }
.ld-fussneu {
  --fn-tinte: #012f47;
  --fn-grau: #6b7280;
  --fn-linie: rgba(1, 47, 71, .14);
  padding: clamp(64px, 7vw, 104px) var(--ld-rand) 0;
  font-family: "Manrope LD", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--fn-tinte);
  text-align: left;
}
.ld-fussneu-h { max-width: var(--ld-breite); margin: 0 auto; }
.ld-fussneu p { margin: 0; }

/* 1 · Anfragezeile */
.ld-fn-oben { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; padding-bottom: clamp(48px, 5vw, 72px); }
.ld-fussneu .ld-fn-mini { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--fn-grau); }
.ld-fussneu .ld-fn-gross { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.ld-fussneu a.ld-fn-knopf { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 6px 6px 6px 26px; border-radius: 999px; background: var(--fn-tinte); color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none; transition: background .35s var(--ld-kurve), transform .35s var(--ld-kurve); }
.ld-fn-knopf i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .45s var(--ld-kurve), background .35s ease; }
.ld-fn-knopf svg { width: 17px; height: 17px; }
.no-touch .ld-fussneu a.ld-fn-knopf:hover { background: #02415f; transform: translateY(-2px); }
.no-touch .ld-fussneu a.ld-fn-knopf:hover i { background: #fff; color: var(--fn-tinte); transform: translate(2px, -2px); }

.ld-fussneu ul.ld-fn-wege { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fn-linie); }
.ld-fn-wege li { margin: 0; border-bottom: 1px solid var(--fn-linie); }
.ld-fussneu .ld-fn-wege a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 20px 4px; color: var(--fn-tinte); text-decoration: none; transition: padding .45s var(--ld-kurve); }
.ld-fn-wege small { grid-column: 1; font-size: 13px; font-weight: 600; color: var(--fn-grau); }
.ld-fn-wege b { grid-column: 1; font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.ld-fn-wege i { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(1, 47, 71, .06); transition: transform .45s var(--ld-kurve), background .3s ease; }
.ld-fn-wege i svg { width: 15px; height: 15px; }
.no-touch .ld-fussneu .ld-fn-wege a:hover { padding-left: 14px; }
.no-touch .ld-fussneu .ld-fn-wege a:hover i { background: var(--fn-tinte); color: #fff; transform: translate(2px, -2px); }

/* 2 · Spalten */
.ld-fn-spalten { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding: clamp(40px, 4vw, 56px) 0; border-top: 1px solid var(--fn-linie); }
.ld-fussneu .ld-fn-marke p { max-width: 38ch; font-size: 15.5px; line-height: 1.65; color: #3f3f46; }
.ld-fn-sozial { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ld-fussneu .ld-fn-sozial a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 999px; background: #fff; color: var(--fn-tinte); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background .3s ease, color .3s ease, transform .35s var(--ld-kurve); }
.ld-fn-sozial svg { width: 18px; height: 18px; }
.no-touch .ld-fussneu .ld-fn-sozial a:hover { background: var(--fn-tinte); color: #fff; transform: translateY(-2px); }
.ld-fussneu .ld-fn-titel { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--fn-grau); }
.ld-fussneu ul.ld-fn-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ld-fn-liste li { margin: 0; font-size: 15.5px; line-height: 1.5; color: #3f3f46; }
.ld-fussneu .ld-fn-liste a { position: relative; display: inline-block; color: var(--fn-tinte); font-weight: 600; text-decoration: none; background: linear-gradient(var(--fn-tinte), var(--fn-tinte)) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ld-kurve); }
.no-touch .ld-fussneu .ld-fn-liste a:hover { background-size: 100% 1.5px; }
.ld-fn-buero li { color: #3f3f46; }

/* 3 · Wortmarke: das Logo über die ganze Breite, unten angeschnitten */
.ld-fn-wortmarke { overflow: hidden; height: clamp(72px, 11vw, 168px); margin-top: 8px; }
.ld-fn-wortmarke span { display: block; width: 100%; height: clamp(104px, 15.5vw, 240px); background: url("marke/logo-dunkel.png") no-repeat center top / 100% auto; opacity: .1; }

/* 4 · Rechtszeile */
.ld-fn-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding: 24px 0 34px; border-top: 1px solid var(--fn-linie); font-size: 14px; font-weight: 600; color: #3f3f46; }
.ld-fn-recht { display: flex; flex-wrap: wrap; gap: 22px; }
.ld-fussneu .ld-fn-recht a { color: var(--fn-tinte); text-decoration: underline; text-decoration-color: rgba(1, 47, 71, .3); text-underline-offset: 3px; transition: text-decoration-color .3s ease; }
.no-touch .ld-fussneu .ld-fn-recht a:hover { text-decoration-color: currentColor; }

@media (max-width: 1100px) {
  .ld-fn-oben { grid-template-columns: 1fr; gap: 36px; }
  .ld-fn-spalten { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
  .ld-fussneu .ld-fn-marke { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ld-fn-spalten { grid-template-columns: 1fr; gap: 30px; }
  .ld-fn-wortmarke { height: 56px; } .ld-fn-wortmarke span { height: 84px; }
  .ld-fn-unten { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ld-fussneu a, .ld-fn-wege i, .ld-fn-knopf i { transition: none !important; } }


/* ═══ Runde 15 (22.09.2026): Wortmarke der Fußzeile ═══════════════════════
   Vorher blass (10 %) und unten angeschnitten, das wirkte wie ein Fehler. Jetzt
   vollständig und satt: das Logo als Maske, gefüllt in den Logofarben (hellblau
   „life", dunkelblau „design"). Fährt beim Hinscrollen von unten herein (szenen.js
   setzt ist-bereit/ist-sichtbar; ohne Skript steht sie einfach da). */
.ld-fn-wortmarke { height: auto !important; margin: clamp(8px, 2vw, 24px) 0 0; padding-bottom: clamp(20px, 2.4vw, 34px); overflow: hidden; }
.ld-fn-wortmarke span {
  display: block; width: 100%; height: auto !important; aspect-ratio: 2078 / 424; opacity: 1 !important;
  background: linear-gradient(90deg, #1fb1fb 0%, #0a84c9 29.6%, #012f47 29.8%, #012f47 100%) !important;
  -webkit-mask: url("marke/logo-maske.png") no-repeat center / 100% 100%;
          mask: url("marke/logo-maske.png") no-repeat center / 100% 100%;
}
.ld-fn-wortmarke.ist-bereit span { transform: translateY(105%); transition: transform 1.3s cubic-bezier(.22, 1, .36, 1); }
.ld-fn-wortmarke.ist-sichtbar span { transform: none; }
@media (prefers-reduced-motion: reduce) { .ld-fn-wortmarke.ist-bereit span { transform: none; transition: none; } }


/* ═══════════════════════════════════════════════════════════════════════════
   Runde 20 (22.09.2026, spät): Fußzeile wieder im Spalten-Aufbau (die Kacheln aus Runde 18
   sind entfernt), Logo links über dem Satz statt der großen Wortmarke; dazu die Belege
   (Bewertungen, Auszeichnungen). Kopf-Knopf und Nach-oben-Knopf ohne Schlagschatten.
   ═══════════════════════════════════════════════════════════════════════════ */
.ld-fussneu a.ld-fn-logo { display: inline-block; margin-bottom: 18px; line-height: 0; }
.ld-fn-logo img { display: block; width: 170px; height: auto; }
.ld-fussneu ul.ld-fn-belege { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; padding: 0; }
.ld-fn-belege li { margin: 0; }
.ld-fussneu .ld-fn-belege a { display: inline-flex; align-items: center; gap: 10px; color: #3f3f46; font-size: 14.5px; text-decoration: none; }
.ld-fn-belege b { color: var(--fn-tinte); font-weight: 800; }
.no-touch .ld-fussneu .ld-fn-belege a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ld-fn-sterne { display: inline-flex; gap: 1px; color: #f5a623; }
.ld-fn-sterne svg { width: 14px; height: 14px; }
.ld-fn-symbol { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #fff; color: #0a6fb0; }
.ld-fn-symbol svg { width: 14px; height: 14px; }
.ld-fussneu .ld-fn-recht { gap: 22px; }

.l-header .w-nav .ld-kopf-cta .w-nav-anchor.level_1,
.no-touch .l-header .w-nav .ld-kopf-cta .w-nav-anchor.level_1:hover { box-shadow: none !important; }
.w-toplink, .no-touch .w-toplink:hover { box-shadow: none !important; }

/* Slogan in der Fußzeile (seit 1.33.0) */
.ld-fussneu .ld-fn-slogan { margin: -6px 0 14px; font-family: "Manrope LD", system-ui, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; background: linear-gradient(90deg, #0a84c9, #1fb1fb); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═══════════════════════════════════════════════════════════════════════════
   Runde 33 (25.09.2026): Kopf ohne Sprung, Logo als SVG mit Bewegung
   (Marcel: „Übergang vom Sticky-Header zum Header flüssiger, das Logo ist
   manchmal abgeschnitten" und „Logo animiert, wie im Video, beim Hover")

   Gemessen mit angehaltenen Übergängen, Bild für Bild (Notizen: r33/kopf):
   1. Der Balken sprang beim Wechsel sofort um 16 px, Logo und Menü um 8 px.
      Zephyr setzt „.l-header.pos_fixed:not(.notransition) .l-subheader" eine
      eigene Übergangsliste ohne padding, spezifischer als unsere Regel – der
      Innenabstand wechselte deshalb nie weich.
   2. transform-origin stand nur im Sticky-Zustand: beim Hochscrollen sprang
      das Logo 6,9 px nach rechts und rutschte zurück.
   3. Zephyrs Bildhöhe (35 px oben, 40 px sticky, eigener Übergang 0,3 s):
      das Logo saß im Sticky-Kopf 2,5 px zu hoch und lief mit anderer Kurve.
   4. Abgeschnitten: Die Einflug-Animation hinterließ clip-path: inset(0 -10%
      0 0) auf dem 35 px hohen Bildrahmen, das Logo ist 36 px hoch. Unten
      fehlte dem g ein halber Pixel – nur beim ersten Aufruf einer Sitzung,
      daher „manchmal".
   5. Handy/Tablet: die Sticky-Regeln aus Runde 6 galten auch dort, das Logo
      rutschte 14 px nach links, der Kasten verschwand, Balken und Inhalt
      sprangen um 4 px.
   6. Neuladen mitten auf der Seite: der Kopf kam groß herein und schrumpfte
      sichtbar auf die Sticky-Form.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --ld-kopf-zeit: .5s;
  --ld-kopf-kurve: cubic-bezier(.32, .72, 0, 1);
}

/* 1 ── Balken: eine Zeit, eine Kurve, und der Innenabstand wechselt wirklich weich.
   Die zweite Zeile gilt bewusst auch während Zephyrs .notransition: das setzt Zephyr bei jeder
   Größenänderung für 50 ms, auf dem iPad also auch beim Scrollen, wenn die Adressleiste einklappt. */
.l-header.pos_fixed:not(.notransition) .l-subheader.at_middle,
.l-header .l-subheader.at_middle {
  transition: padding var(--ld-kopf-zeit) var(--ld-kopf-kurve), background-color .35s ease, box-shadow .35s ease;
}
.l-header .l-subheader.at_middle .l-subheader-h {
  transition: height var(--ld-kopf-zeit) var(--ld-kopf-kurve), padding var(--ld-kopf-zeit) var(--ld-kopf-kurve);
}
.l-header .l-subheader.at_middle .l-subheader-h::before {
  transition: background-color var(--ld-kopf-zeit) var(--ld-kopf-kurve), border-color var(--ld-kopf-zeit) var(--ld-kopf-kurve), box-shadow var(--ld-kopf-zeit) var(--ld-kopf-kurve);
}

/* Desktop: nur der Innenabstand ändert sich (18 + 64 + 18 = 100, sticky 8 + 64 + 8 = 80).
   Die Zeile bleibt 64 px hoch, Logo, Menü und Knopf bleiben darin mittig. */
@media (min-width: 902px) {
  .l-header .l-subheader.at_middle { padding-top: 18px; padding-bottom: 18px; }
  .l-header.sticky .l-subheader.at_middle { padding-top: 8px; padding-bottom: 8px; }
  .l-header .l-subheader.at_middle .l-subheader-h,
  .l-header.sticky .l-subheader.at_middle .l-subheader-h { height: 64px; padding: 0; }
}

/* Handy und Tablet: der Kopf bleibt beim Scrollen, wie er ist (12 + 60 + 6 = 78).
   Der Kasten steht immer – so war es in Runde 3 gemeint, Runde 6 hatte ihn im
   Sticky-Zustand versehentlich auch hier entfernt. */
@media (max-width: 901px) {
  .l-header .l-subheader.at_middle,
  .l-header.sticky .l-subheader.at_middle { padding-top: 12px; padding-bottom: 6px; }
  .l-header .l-subheader.at_middle .l-subheader-h,
  .l-header.sticky .l-subheader.at_middle .l-subheader-h { height: 60px; padding: 0 6px 0 14px; }
  .l-header.sticky .l-subheader.at_middle .l-subheader-h::before {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(10, 23, 32, .07);
    box-shadow: 0 14px 30px -20px rgba(10, 132, 201, .5);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
  }
}

/* 2 ── Logo: Rahmen so hoch wie das Logo (Zephyrs 35/40 px aus dem Header-Baukasten
   überstimmt), Mittelpunkt bleibt der Zeile, Verkleinerung immer von links */
.l-header .l-subheader-cell .ush_image_1,
.l-header.sticky .l-subheader-cell .ush_image_1 { height: auto !important; transition: none; }
.l-header .ush_image_1 .w-image-h {
  transform-origin: 0 50%;
  transition: transform var(--ld-kopf-zeit) var(--ld-kopf-kurve);
}

/* 3 ── Beim Neuladen mitten auf der Seite: bis zur ersten Eingabe keine Übergänge im Kopf,
   der Kopf steht sofort in der richtigen Form. html.ld-kopf-ruhig und das frühe Setzen von
   .sticky bis zum Laden stehen im Kopf-Skript von class-rahmen.php (schriften_vorladen). */
html.ld-kopf-ruhig .l-header .l-subheader.at_middle,
html.ld-kopf-ruhig .l-header .l-subheader-h,
html.ld-kopf-ruhig .l-header .l-subheader-h::before,
html.ld-kopf-ruhig .l-header .ush_image_1,
html.ld-kopf-ruhig .l-header .ush_image_1 .w-image-h { transition: none !important; }

/* 4 ── Logo als SVG (assets/kopf-logo.js). Bis das Skript läuft – oder ohne Skript –
   steht das PNG da; beide sind deckungsgleich, der Tausch ist nicht zu sehen. */
.l-header .ush_image_1.ld-logo-svg .w-image-h { background: none; }
.l-header .ush_image_1.ld-logo-svg .w-image-h img { display: none; }
.l-header .ush_image_1 .ld-logo {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: visible;           /* der i-Punkt fliegt über den Rahmen hinaus */
  pointer-events: none;        /* Maus und Finger treffen den Link, nicht das Bild */
}
/* Erster Aufruf: das Logo wartet unsichtbar auf seinen Einflug. Kommt das Skript
   nicht, erscheint das PNG nach gut einer Sekunde von selbst. */
@media (prefers-reduced-motion: no-preference) {
  html.ld-erstbesuch .l-header .ush_image_1:not(.ld-logo-svg) .w-image-h { animation: ldLogoWarten 1.4s linear both; }
}
@keyframes ldLogoWarten { 0%, 82% { opacity: 0; } 100% { opacity: 1; } }

/* 5 ── Handymenü: „Projekt anfragen" war unsichtbar – weiße Schrift auf weißem Grund. Die Regel
   für alle Handymenü-Punkte (background: transparent !important) stand später in der Datei als
   der Verlauf des Knopfs und hat ihn überschrieben (gefunden beim Prüfen am 25.09.2026). */
.l-header .w-nav.type_mobile .menu-item.ld-kopf-cta > .w-nav-anchor.level_1 {
  background: linear-gradient(100deg, #0a84c9 0%, #1fb1fb 50%, #5fd0ff 100%) !important;
  background-size: 180% 100% !important;
}
