/* ============================================================
   IT-Butler – Saison-Ebene „Herbst“ (edle Variante)
   Einschalten: diese CSS-Datei + herbst.js in index.html einbinden.
   Ausschalten: beide Zeilen entfernen.
   Aktiv vom 22.09. bis 30.11. (Vorschau außerhalb: index.html?saison=herbst)
   iOS-sicher: bewegte Elemente mit festen Maßen in eigenen Behältern.
   ============================================================ */
:root {
  --au-wine: #5E2230;     /* Bordeaux */
  --au-wine-deep: #3E1622;
  --au-plum: #2A1A2E;     /* Aubergine */
  --au-gold: #B8955A;     /* Champagnergold */
  --au-gold-hi: #D8BE8A;
  --au-ivory: #FAF6EF;
  --au-gold-line: linear-gradient(90deg, transparent, #B8955A 20%, #E4CC98 50%, #B8955A 80%, transparent);
}

/* ---------- Band oben: schlicht, Aubergine mit Gold ---------- */
.season-ribbon { display: none; }
.is-herbst .season-ribbon { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 51; padding: 11px 16px; background: var(--au-plum); color: #EDE3D3; font-size: .92rem; letter-spacing: .02em; }
.is-herbst .season-ribbon::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--au-gold-line); }
.season-ribbon .orn { display: inline-block; width: 26px; height: 1px; background: var(--au-gold); opacity: .8; }
.season-ribbon em { font-family: var(--serif); font-style: italic; color: var(--au-gold-hi); font-size: 1.02rem; }
.season-ribbon a { color: var(--au-gold-hi); text-decoration: none; border-bottom: 1px solid rgba(216,190,138,.5); padding-bottom: 1px; }
.season-ribbon a:hover { border-bottom-color: var(--au-gold-hi); }
@media (max-width: 560px) { .season-ribbon .orn { display: none; } .season-ribbon { font-size: .86rem; gap: 6px; } }

/* Kopfzeile: feine Goldlinie */
.is-herbst .site-header { border-bottom: 0; }
.is-herbst .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--au-gold-line); opacity: .8; }
.is-herbst .nav .nav-cta { background: var(--au-wine); }
.is-herbst .nav .nav-cta:hover { background: var(--au-wine-deep); }

/* ---------- Kopfbereich: warmes, gedämpftes Licht ---------- */
.is-herbst .hero-full { background: #EFE6D8; }
.is-herbst .hero-bg img { filter: sepia(.18) saturate(.95) contrast(1.04) brightness(.99); }
.is-herbst .hero-veil { z-index: 1; background:
  radial-gradient(60% 80% at 92% 8%, rgba(216,190,138,.30), transparent 60%),
  linear-gradient(270deg, rgba(250,246,239,.97) 0%, rgba(250,246,239,.90) 34%, rgba(250,246,239,.30) 55%, rgba(250,246,239,0) 68%),
  linear-gradient(180deg, rgba(94,34,48,.03), rgba(94,34,48,.10)); }
.is-herbst .hero-content { z-index: 4; }
.is-herbst .hero-content h1 span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--au-wine); letter-spacing: -0.01em; }
.is-herbst .btn-primary { background: var(--au-wine); border-color: var(--au-wine); color: #FFF9F0; box-shadow: 0 14px 30px -16px rgba(62,22,34,.75); }
.is-herbst .btn-primary:hover { background: var(--au-wine-deep); border-color: var(--au-wine-deep); }
.is-herbst .hero-content .btn-ghost { border-color: var(--au-gold); color: var(--au-wine-deep); background: rgba(255,255,255,.7); }
.season-kicker { display: none; }
.is-herbst .season-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--au-wine); font-family: var(--serif); font-style: italic; font-size: 1.08rem; }
.season-kicker i { display: inline-block; width: 34px; height: 1px; background: var(--au-gold); }
.season-kicker svg { display: inline-block; width: 18px; height: 18px; }

/* Goldenes Licht oben rechts, atmet langsam */
.season-glow { position: absolute; right: -160px; top: -200px; width: 640px; height: 640px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(232,204,150,.42) 0%, rgba(216,190,138,.16) 38%, transparent 66%); animation: glow-breathe 12s ease-in-out infinite; }
@keyframes glow-breathe { 50% { transform: scale(1.07); opacity: .8; } }

/* ---------- Fallende Blätter: wenige, filigran, langsam ---------- */
.season-leaves { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.season-leaf { position: absolute; top: -90px; width: 48px; height: 48px; animation: leaf-fall linear infinite; }
.season-leaf > span { display: block; width: 48px; height: 48px; animation: leaf-sway ease-in-out infinite alternate; }
.season-leaf svg { display: block; width: 48px !important; height: 48px !important; max-width: none; }
@keyframes leaf-fall { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate(var(--dx, 60px), 900px) rotate(var(--rot, 260deg)); opacity: 0; } }
@keyframes leaf-sway { from { transform: translateX(-26px) rotate(-14deg); } to { transform: translateX(26px) rotate(16deg); } }

/* Ein großes Goldblatt als ruhiges Ornament neben der Überschrift */
.season-ornament { position: absolute; z-index: 2; pointer-events: none; right: 3%; bottom: 9%; width: 230px; height: 230px; opacity: .55; animation: orn-drift 14s ease-in-out infinite alternate; }
.season-ornament svg { display: block; width: 230px; height: 230px; }
@keyframes orn-drift { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(4deg) translateY(-10px); } }

/* ---------- Abschnitte ---------- */
.is-herbst .tint { background-color: var(--au-ivory); }
.is-herbst .trust { border-top: 0; }
.is-herbst .trust::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: var(--au-gold-line); }
.is-herbst .trust { position: relative; }
.is-herbst .trust b { color: var(--au-wine); }
.is-herbst .checks li::before, .is-herbst .service-list li::before { background-color: #F3EBDD; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239A7840' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E"); }
.is-herbst .focus-card.featured .checks li::before, .is-herbst .about .checks li::before { background-color: rgba(216,190,138,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BE8A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E"); }
.is-herbst .focus-card.featured { background: linear-gradient(165deg, #3A2140, var(--au-plum) 55%, #1F1B57); border-color: transparent; box-shadow: inset 0 0 0 1px rgba(216,190,138,.25); }
.is-herbst .about { background: linear-gradient(180deg, var(--au-plum), #1F1B57); }
.is-herbst .about-quote { color: var(--au-gold-hi); }
.is-herbst .steps::before { background: linear-gradient(90deg, var(--indigo), var(--au-gold)); }
.is-herbst .steps li:last-child::before { border-color: var(--au-gold); color: var(--au-wine); }

/* Ihr IT-Tag */
.is-herbst .day-top { background: linear-gradient(135deg, var(--au-plum) 0%, var(--au-wine-deep) 55%, var(--au-wine) 100%); }
.is-herbst .day-top::after { border-color: rgba(216,190,138,.25); box-shadow: 0 0 0 26px rgba(216,190,138,.05), 0 0 0 54px rgba(216,190,138,.03); }
.is-herbst .day-kicker { color: var(--au-gold-hi); font-family: var(--serif); font-style: italic; font-size: 1rem; }
.is-herbst .day-badge { background: transparent; border-color: rgba(216,190,138,.6); color: var(--au-gold-hi); }
.is-herbst .day-badge .pulse { background: var(--au-gold-hi); }
.is-herbst .events li.done .ev-icon { background: #F3EBDD; color: #8A6A34; }
.is-herbst .events .tick { background: var(--au-gold); }
.is-herbst .day-foot { background: #F6F0E6; box-shadow: inset 0 0 0 1px rgba(184,149,90,.35); }
.is-herbst .day-foot b { color: var(--au-wine); } .is-herbst .day-foot small { color: #6E5A44; }
.is-herbst .foot-icon { background: var(--au-wine); box-shadow: 0 0 0 6px rgba(94,34,48,.10); }

/* 360°-Grafik */
.is-herbst .ring-disc { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.10), transparent 45%), radial-gradient(circle at 50% 50%, #3A2346 0%, #2A1A2E 50%, #1D1430 100%); box-shadow: 0 40px 80px -30px rgba(42,26,46,.6), inset 0 0 0 1px rgba(216,190,138,.28); }
.is-herbst .ring-sweep { background: conic-gradient(from 0deg, transparent 0 64%, rgba(216,190,138,.22) 92%, rgba(240,220,170,.85) 99.6%, transparent 100%); }
.is-herbst .ring-node span { color: var(--au-wine) !important; }
.is-herbst .ring-center b { background: linear-gradient(135deg, var(--au-wine) 20%, #B8955A 80%); -webkit-background-clip: text; background-clip: text; }

/* Abschluss-Aufruf */
.is-herbst .cta-band { background: linear-gradient(120deg, var(--au-plum) 0%, var(--au-wine-deep) 60%, var(--au-wine) 100%); box-shadow: inset 0 0 0 1px rgba(216,190,138,.25); }
.is-herbst .cta-band::after { background: radial-gradient(circle, rgba(216,190,138,.30), transparent 65%); }
.is-herbst .cta-band h2 { font-weight: 400; }
.is-herbst .cta-band .btn-light { background: var(--au-gold-hi); border-color: var(--au-gold-hi); color: var(--au-plum); }
.is-herbst .cta-band .btn-light:hover { background: #E8D3A6; border-color: #E8D3A6; }
.is-herbst .cta-band .season-leaves { position: absolute; inset: 0; z-index: 0; }
.is-herbst .cta-band > div:not(.season-leaves) { position: relative; z-index: 1; }

/* Fußbereich: Goldlinie mit einem Blatt */
.season-footer { display: none; }
.is-herbst .season-footer { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 0 34px; }
.season-footer i { display: block; width: min(220px, 30vw); height: 1px; background: linear-gradient(90deg, transparent, var(--au-gold)); }
.season-footer i:last-child { background: linear-gradient(90deg, var(--au-gold), transparent); }
.season-footer svg { display: block; width: 26px; height: 26px; }
.is-herbst .site-footer { background: linear-gradient(180deg, #1F1B57, var(--au-plum)); }

/* Ruhe & kleine Bildschirme */
@media (prefers-reduced-motion: reduce) { .season-leaves { display: none; } .season-glow, .season-ornament { animation: none; } }
@media (max-width: 1100px) {
  .is-herbst .hero-full { background: var(--au-ivory); }
  .is-herbst .hero-veil { display: block; position: absolute; top: 0; height: clamp(240px, 52vw, 460px); background: radial-gradient(60% 80% at 92% 8%, rgba(216,190,138,.30), transparent 60%), linear-gradient(180deg, transparent 60%, rgba(250,246,239,.35)); }
  .season-ornament { display: none; }
  .season-glow { width: 380px; height: 380px; right: -120px; top: -140px; }
  .season-leaf, .season-leaf > span, .season-leaf svg { width: 38px !important; height: 38px !important; }
}
/* Ornament rechts außen, ohne Text zu überlagern */
.season-ornament { right: -70px; bottom: 6%; opacity: .5; }
@media (max-width: 1500px) { .season-ornament { right: -110px; } }
