  :root {
    /* Golf-lernen.at brand colours */
    --green-deep:    #1A3C2E;
    --green-mid:     #2E6B4A;
    --green-accent:  #5C8A3C;
    --green-light:   #a8c98a;
    --green-lightest:#dceedd;
    --green-ultra:   #f0f7f0;

    /* Neutrals */
    --white:         #ffffff;
    --off-white:     #f8fafb;
    --cream:         #F7F5F0;
    --sand:          #E8E2D5;
    --sand-dark:     #C9BFA8;

    /* Text */
    --text-dark:     #1a2426;
    --text-mid:      #3d5258;
    --text-light:    #5d737e;
    --text-muted:    #8fa8af;

    /* Borders */
    --border:        #d0e0d4;
    --border-light:  #e8f0ea;

    /* Fonts (from guideline) */
    /* Überschriften-Schrift (Variablenname historisch "--serif"; jetzt Schibsted Grotesk) */
    --serif: 'Schibsted Grotesk', system-ui, sans-serif;
    --sans:  'DM Sans', system-ui, sans-serif;
    --mono:  'DM Mono', monospace;

    --radius: 8px;

    /* Maximale Inhaltsbreite (seit v2026.11.15): Hintergruende laufen ueber die volle Breite,
       Inhalt und Navigation bleiben innerhalb von --page-max (zentriert). --g-wide ist der seitliche
       Innenabstand: mindestens 80px, auf breiten Bildschirmen so viel, dass der Inhalt --page-max breit bleibt. */
    --page-max: 1280px;
    --g-wide: max(80px, calc((100% - var(--page-max)) / 2));


    /* Startseiten-Design (Entwurf 2, 30.10.2026), eigene Namen, damit bestehende Variablen unberührt bleiben */
    --v2-ink:         #1C2B24;
    --v2-ink-soft:    #3E4C45;
    --v2-muted:       #5D6B63;
    --v2-green:       #3F6E35;
    --v2-green-dark:  #2F5A3A;
    --v2-sky:         #F6F8F3;
    --v2-line:        #ECEFE8;
    --v2-card-border: #E3E8DD;
    --font-hero: 'DM Sans Hero', 'DM Sans', system-ui, sans-serif;
    --font-logo: 'Fraunces', Georgia, serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* Focus ring (guideline: 3px solid primary, offset 3px) */
  :focus-visible {
    outline: 3px solid var(--green-accent);
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* ── NAV (guideline: fixed, frosted glass, border-bottom) ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--v2-line);
    padding: 0 max(clamp(16px, 4vw, 56px), calc((100% - var(--page-max)) / 2));
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    gap: 10px;
  }
  .nav-logo svg { height: 36px; width: 36px; display: block; flex-shrink: 0; }
  .logo-word {
    font-family: var(--font-logo);
    font-size: 23px;
    font-weight: 600;
    line-height: 1;
    color: var(--v2-ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .logo-word em { font-style: italic; font-weight: 500; color: var(--v2-green); }
  .logo-word small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--v2-muted); margin-left: 2px; }
  .nav-links {
    display: flex;
    gap: 4px 32px;
    list-style: none;
  }
  .nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--v2-ink-soft);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }
  .nav-links a:hover { color: var(--v2-green); }
  .nav-links a[aria-current="page"] { color: var(--v2-green); border-bottom-color: var(--v2-green); }
  /* Mobile-Nav-Umschalter (Hamburger) – auf Desktop ausgeblendet, ab 900px sichtbar */
  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
  }
  .nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── HERO (Entwurf 2: heller Hintergrund, Hügel, Zitate im Hero) ── */
  .hero {
    position: relative;
    overflow: hidden;
    background: var(--v2-sky);
    padding: calc(60px + clamp(56px, 8vw, 112px)) max(clamp(16px, 6vw, 90px), calc((100% - var(--page-max)) / 2)) 0; /* 60px = Höhe der Navigation */
  }
  .hero-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 420px; pointer-events: none; }
  .hero-flag { position: absolute; right: max(clamp(24px, 14vw, 240px), calc((100% - var(--page-max)) / 2 + 24px)); bottom: 210px; width: 200px; height: 140px; pointer-events: none; }
  .hero-content { position: relative; max-width: 720px; }
  .hero-tag {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v2-green);
  }
  .hero-title {
    margin: 0;
    font-family: var(--font-hero);
    font-weight: 700;
    font-size: clamp(48px, 6.2vw, 88px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--v2-ink);
  }
  .hero-title em { font-style: italic; font-weight: 700; color: var(--v2-green); }
  .hero-sub {
    margin: 26px 0 0;
    max-width: 540px;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--v2-ink-soft);
  }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-accent);
    color: var(--white);
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--green-deep);
    border: 1.5px solid var(--green-deep);
    padding: 12px 26px;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-secondary:hover { background: var(--green-ultra); transform: translateY(-1px); }
  /* Hero-Buttons (nur im Hero, übrige Seiten behalten ihre Buttons) */
  .hero .btn-primary,
  .hero .btn-secondary {
    min-height: 52px;
    padding: 0 26px;
    border-radius: 10px;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
  }
  .hero .btn-primary { background: var(--v2-green); color: var(--white); border: none; }
  .hero .btn-primary:hover { background: var(--v2-green-dark); transform: none; }
  .hero .btn-secondary { border: 1.5px solid var(--v2-ink); background: rgba(255,255,255,0.6); color: var(--v2-ink); }
  .hero .btn-secondary:hover { background: var(--white); transform: none; }

  /* Zitate im Hero (Texte pflegbar in Tina: Globale Einstellungen > Homepage) */
  .hero-quotes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: clamp(96px, 12vw, 160px);
    padding-bottom: 56px;
  }
  .quote-card {
    margin: 0;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid var(--v2-card-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(40,70,40,0.08);
  }
  .quote-card blockquote {
    margin: 0;
    font-family: var(--font-hero);
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    color: var(--v2-ink);
  }
  .quote-card figcaption {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v2-green);
  }

  /* Hero-Karten: Alternative zu den Zitaten. Liegen unter dem Hero und ueberlappen seinen unteren Rand zur Haelfte. */
  .hero--cards { padding-bottom: clamp(200px, 22vw, 280px); }
  .hero-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: -110px max(clamp(16px, 6vw, 90px), calc((100% - var(--page-max)) / 2)) 0;
  }
  .hero-card {
    display: flex;
    flex-direction: column;
    padding: 26px 28px;
    background: var(--white);
    border: 1px solid var(--v2-card-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(40,70,40,0.08);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .hero-card:hover { box-shadow: 0 12px 34px rgba(40,70,40,0.14); transform: translateY(-2px); }
  .hero-card-label {
    margin: 0 0 12px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-green);
  }
  .hero-card-title {
    margin: 0 0 8px;
    font-family: var(--font-hero);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--v2-ink);
  }
  .hero-card-text {
    margin: 0;
    flex: 1;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--v2-ink-soft);
  }
  .hero-card-link {
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v2-green);
  }

  /* ── SECTION SHELL (guideline: 100px padding, section-label, serif title) ── */
  main section { padding: 100px var(--g-wide); }
  main section:nth-child(even) { background: var(--off-white); }

  .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-title {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 16px;
    max-width: 640px;
  }
  .section-intro {
    font-size: 17px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 56px;
    font-weight: 300;
  }

  /* ── GRUNDLAGEN CARDS (guideline card style) ── */
  .grundlagen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  .g-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .g-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--green-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .g-card:hover { box-shadow: 0 8px 32px rgba(26,60,46,0.12); transform: translateY(-2px); }
  .g-card:hover::before { transform: scaleX(1); }
  .g-card-icon {
    width: 44px; height: 44px;
    background: var(--green-lightest);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--green-deep);
  }
  .g-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
  }
  .g-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
  }
  .g-card .card-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--green-accent);
    text-transform: uppercase;
  }

  /* ── BELIEBTE ARTIKEL ── */
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  .article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .article-card:hover {
    box-shadow: 0 8px 32px rgba(26,60,46,0.12);
    transform: translateY(-2px);
  }
  .article-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    background: var(--green-lightest);
    color: var(--green-mid);
    margin-bottom: 12px;
  }
  .article-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .article-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
  }

  /* ── LOCATIONS (dark panel, guideline inspiration-bar aesthetic) ── */
  .locations-section {
    background: var(--green-deep) !important;
  }
  .locations-section .section-label { color: var(--green-light); }
  .locations-section .section-title { color: var(--white); }
  .locations-section .section-intro { color: rgba(255,255,255,0.6); }

  /* Regionen-Karten (partials/bl-cards.html), dunkle Variante auf der Startseite */
  .bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 44px; }
  @media (max-width: 900px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .bl-grid { grid-template-columns: 1fr; } }
  .bl-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
  .bl-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
  .bl-card-name { font-family: var(--font-hero); font-weight: 700; font-size: 17px; color: var(--white); letter-spacing: -0.01em; }
  .bl-card-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-light); }
  .bl-card-sub { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.6); font-weight: 300; }
  /* helle Variante (Übersicht und Ratgeber) */
  .bl-grid--light .bl-card { background: var(--white); border-color: var(--border-light); }
  .bl-grid--light .bl-card:hover { background: var(--white); border-color: var(--green-accent); }
  .bl-grid--light .bl-card-name { color: var(--text-dark); }
  .bl-grid--light .bl-card-meta { color: var(--green-accent); }
  .bl-grid--light .bl-card-sub { color: var(--text-muted); }

  /* Themen-Karten unter den Regionen (Startseite) */
  .loc-topics-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
  .loc-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .loc-topic { display: flex; flex-direction: column; padding: 22px 24px; border-radius: 14px; background: var(--white); text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(0,0,0,0.18); transition: transform .2s; }
  .loc-topic:hover { transform: translateY(-2px); }
  .loc-topic-label { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-green); }
  .loc-topic-title { margin: 0 0 8px; font-family: var(--font-hero); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--v2-ink); }
  .loc-topic-text { margin: 0; flex: 1; font-size: 15px; font-weight: 300; line-height: 1.55; color: var(--v2-ink-soft); }
  .loc-topic-link { margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-green); }
  .loc-all { display: inline-block; margin-top: 28px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-light); text-decoration: none; border-bottom: 1px solid rgba(168,201,138,.5); padding-bottom: 3px; }
  .loc-all:hover { color: var(--white); border-color: var(--white); }

  /* ── MAGAZIN ── */
  .magazin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .mag-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .mag-card:hover {
    box-shadow: 0 8px 32px rgba(26,60,46,0.12);
    transform: translateY(-2px);
  }
  .mag-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .mag-card-body { padding: 20px; }
  .mag-date {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
  }
  .mag-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .mag-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
  }
  .mag-card .card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--green-accent);
    text-transform: uppercase;
  }

  /* ── CTA BANNER entfernt ── */

  /* ── FOOTER ── */
  footer {
    background: var(--text-dark);
    padding: 72px var(--g-wide) 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    color: rgba(255,255,255,0.5);
  }
  .footer-brand .nav-logo { display: inline-flex; margin-bottom: 16px; }
  footer .logo-word { color: var(--white); }
  footer .logo-word em { color: var(--green-light); }
  footer .logo-word small { color: rgba(255,255,255,0.55); }
  .footer-brand p { font-size: 14px; line-height: 1.7; }
  .footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col ul a:hover { color: var(--white); }
  .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ── FOOTER: LAENDER-LEISTE (seit v2026.11.23, partials/footer-laender.html) ── */
  .footer-laender {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .footer-laender__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
  .footer-laender__kopf h4 {
    margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.3);
  }
  .footer-laender__kopf span { font-size: 13px; color: rgba(255,255,255,0.45); }
  .footer-laender__liste {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
  }
  .footer-land {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    min-height: 44px; box-sizing: border-box; padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
    text-decoration: none; transition: border-color 0.2s, background 0.2s;
  }
  a.footer-land:hover, a.footer-land:focus-visible { border-color: var(--green-light); background: rgba(255,255,255,0.04); }
  a.footer-land:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
  .footer-land__name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); }
  .footer-land__marke.logo-word { font-size: 14px; color: rgba(255,255,255,0.85); }
  .footer-land__marke.logo-word small { font-size: 10px; }
  .footer-land--hier { border-color: var(--green-accent); background: rgba(92,138,60,0.14); }
  .footer-land--hier .footer-land__name { color: var(--white); }
  .footer-land__hier { font-family: var(--mono); font-size: 11px; color: var(--green-light); }
  @media (max-width: 900px) {
    .footer-laender__kopf { flex-direction: column; gap: 6px; }
    .footer-laender__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.6s cubic-bezier(.16,1,.3,1);
  }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: 60ms; }
  .reveal-delay-2 { transition-delay: 120ms; }
  .reveal-delay-3 { transition-delay: 180ms; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-toggle { display: flex; }
    .nav-links {
      z-index: 200;
      display: flex;
      position: absolute;
      top: 60px; left: 0; right: 0;
      flex-direction: column;
      gap: 0;
      /* deckender Hintergrund: kein Durchscheinen der Seite, kein verschachtelter backdrop-filter */
      background: var(--white);
      border-bottom: 1px solid var(--border-light);
      box-shadow: 0 8px 24px rgba(0,0,0,0.06);
      padding: 4px 24px 12px;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transition: max-height 0.3s ease, opacity 0.25s, visibility 0.25s;
    }
    .nav-links.open { max-height: 360px; opacity: 1; visibility: visible; }
    body:has(.nav-links.open) .filter-bar { visibility: hidden; }
    .nav-links li { width: 100%; }
    .nav-links a {
      display: block;
      padding: 15px 4px;
      font-size: 15px;
      border-bottom: 1px solid var(--border-light);
    }
    .nav-links li:last-child a { border-bottom: none; }
    .hero-quotes { margin-top: 96px; }
    .hero--cards { padding-bottom: 170px; }
    .hero-cards { margin-top: -90px; }
    main section { padding: 64px 24px !important; }
    footer { grid-template-columns: 1fr; padding: 48px 24px 32px; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  }

  @media (max-width: 600px) {
    .hero-flag { display: none; }
  }

  /* --- Einheitliche Tabellen-Formatierung (Render Hook: table-scroll) --- */
.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.table-scroll th {
  background: var(--green-ultra);
  color: var(--text-dark);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}
.table-scroll td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-mid);
  vertical-align: top;
}
.table-scroll tr:last-child td { border-bottom: none; }

/* Alte (deutsche) Sprungmarken neben lokalisierten Ankern (seit v2026.11.15): unsichtbar, nur Ziel fuer bestehende Links */
.anchor-alias { display: block; height: 0; overflow: hidden; }

/* ── KI-Kennzeichnung (seit v2026.11.9): Etikett auf Teaserbildern, Hinweis am Inhaltsanfang ── */
.featured-thumb, .art-card-thumb, .related-thumb, .mag-card-thumb, .pillar-thumb, .sub-card-thumb { position: relative; }
.ai-badge {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px 3px 6px; border-radius: 999px;
  background: rgba(234, 241, 228, 0.94); color: #2F5A3A; border: 1px solid #C9DCBA;
  box-shadow: 0 2px 8px rgba(40, 70, 40, 0.12);
  font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0;
  pointer-events: none;
}
.ai-badge-ico { width: 11px; height: 11px; flex: none; fill: #3F6E35; }
.ai-notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 28px; padding: 14px 18px;
  background: #F6F8F3; border: 1px solid #E3E8DD; border-radius: 12px;
  color: var(--text-mid); font-family: var(--sans); font-size: 15px; line-height: 1.55;
}
.ai-notice p, .article-body .ai-notice p { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--text-mid); }
.ai-notice-ico { flex: none; margin-top: 1px; color: #3F6E35; }
.ai-notice a, .article-body .ai-notice a { color: #2F5A3A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; border-bottom: 0; }
.ai-notice a:hover, .article-body .ai-notice a:hover { color: #3F6E35; }

/* Download-Kasten (Variante A), Interactivity Package 2026-11. Quelle: Paket download-pdfs-paket-2026-11-23 (Chat „Infografiken“).
   Gilt für den Shortcode {{< download >}} in Grundlagen und Magazin. Überschrift gegen .article-body h3 abgeschirmt. */
/* Download-Kasten (Variante A: Karte mit Vorschau)
   Farben und Schriften wie der KI-Hinweiskasten in main.css.
   Keine externen Ressourcen, kein JavaScript. */
.dl-box, .dl-box * { box-sizing: border-box; }
.dl-box {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  margin: 2rem 0;
  padding: 22px 26px 22px 22px;
  background: #F6F8F3;
  border: 1px solid #E3E8DD;
  border-radius: 14px;
}
.dl-box__thumb {
  flex-shrink: 0;
  display: block;
  width: 128px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E3E8DD;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(40, 70, 40, 0.14);
}
.dl-box__thumb img {
  display: block;
  width: 128px;
  height: auto;
  aspect-ratio: 1240 / 1754;
}
.dl-box__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex-grow: 1;
}
/* Abstandsregeln von .article-body p überschreiben (Lehre aus dem KI-Hinweis) */
.article-body .dl-box p,
.dl-box p { margin: 0; padding: 0; }
.dl-box__label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3F6E35;
}
.dl-box__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1C2B24;
}
.dl-box__text {
  font-size: 15.5px;
  line-height: 1.55;
  color: #3d5258;
}
.dl-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 6px;
}
.dl-box__button,
.article-body .dl-box__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  background: #3F6E35;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.dl-box__button:hover,
.dl-box__button:focus-visible { background: #2F5A3A; color: #ffffff; }
.dl-box__button:focus-visible { outline: 3px solid #a8c98a; outline-offset: 2px; }
.dl-box__button svg { flex-shrink: 0; }
.dl-box__meta {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #5d737e;
}

/* Handy: Vorschaubild kleiner neben dem Titel, Knopf über die volle Breite */
@media (max-width: 600px) {
  .dl-box {
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto 1fr;
    gap: 14px 16px;
    align-items: start;
    padding: 20px;
  }
  .dl-box__thumb { width: 84px; }
  .dl-box__thumb img { width: 84px; }
  .dl-box__body { display: contents; }
  .dl-box__label, .dl-box__title { grid-column: 2; align-self: start; }
  .dl-box__label { grid-row: 1; }
  .dl-box__title { grid-row: 2; }
  .dl-box__text, .dl-box__actions { grid-column: 1 / -1; }
  .dl-box__thumb { grid-row: 1 / span 2; }
  .dl-box__title { font-size: 19px; }
  .dl-box__text { font-size: 15px; }
  .dl-box__actions { flex-direction: column; align-items: stretch; }
  .dl-box__button { width: 100%; min-height: 50px; }
}

@media print {
  .dl-box { display: none; }
}

.article-body .dl-box__title { font-family: inherit; font-size: 22px; line-height: 1.3; font-weight: 700; color: #1C2B24; margin: 0; padding: 0; border: 0; letter-spacing: 0; }
.article-body a.dl-box__thumb { border-bottom: 0; }
@media (max-width: 600px) { .article-body .dl-box__title { font-size: 19px; } }
.article-body a.dl-box__button { border-bottom: 0; color: #ffffff; }
.dl-box__button:focus-visible { outline: 3px solid #1C2B24; outline-offset: 2px; }
/* Vorschaubild: Artikel-Regeln für img (Abstand oben, Rundung, volle Breite) neutralisieren (Vorschau 2026-11-23) */
.article-body .dl-box__thumb img, .dl-box__thumb img { margin: 0; border-radius: 0; width: 128px; height: auto; }
@media (max-width: 600px) { .article-body .dl-box__thumb img, .dl-box__thumb img { width: 84px; } }
