/* ==========================================================================
   Schicht 3 von 3: das gewählte Aussehen — Anthrazit, nach dem ersten Entwurf
   vom 21.09.2026 (Hausvorlage „Modlinger UI", dunkel), auf Wunsch aufgehellt.
   Entschieden am 05.10.2026. Liegt über seite.css und hausvorlage.css.

   Grün, Gelb und Rot sind die Werte aus modlinger-ui.css; die Flächen sind
   gegenüber der Hausvorlage eine Stufe heller. Farben ändert man hier.

   Teil 1 setzt die Farben, Teil 2 baut die Abschnitte so um, wie der Entwurf
   sie hatte: Titelbild über die ganze Breite, laufende Jahreszeit als große
   Bildkarte.
   ========================================================================== */

/* --- 1. Werte ------------------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Flächen: Anthrazit statt Fast-Schwarz */
  --bg:            #24282c;
  --surface:       #2c3136;
  --surface-2:     #343a40;
  --line:          #424950;
  --line-strong:   #5a626a;

  --ink:           #eef0f1;
  --ink-2:         #bcc3c9;
  --ink-3:         #9aa3aa;

  --green:         #8CC63F;
  --green-hover:   #9dd155;
  --green-ink:     #a5d662;
  --green-tint:    #2d3a20;
  --on-green:      #14200a;
  --on-green-2:    #bcc3c9;
  --on-green-3:    #9aa3aa;
  --on-green-line: rgba(255, 255, 255, .12);

  --yellow:        #E8B62C;
  --yellow-hover:  #f0c64f;
  --yellow-tint:   #3a321c;
  --yellow-ink:    #E8B62C;
  --on-yellow:     #2B1709;
  --red:           #E8705B;
  --red-tint:      #40281f;
  --red-ink:       #ef8371;
  --orange:        #EE9550;
  --on-orange:     #2B1709;
  --blue-tint:     #2a343e;
  --blue-ink:      #9bb4c8;

  /* Schrift und Schleier auf Fotos */
  --auf-bild:      #ffffff;
  --auf-bild-2:    rgba(255, 255, 255, .9);
  --glas:          rgba(255, 255, 255, .14);
  --glas-rand:     rgba(255, 255, 255, .45);
  --scrim-quer:    linear-gradient(90deg, rgba(36, 40, 44, .94) 0%, rgba(36, 40, 44, .78) 42%, rgba(36, 40, 44, .22) 100%);
  --scrim-hoch:    linear-gradient(180deg, rgba(36, 40, 44, .2) 0%, rgba(36, 40, 44, .92) 78%);
}

/* Links, Marke und Knöpfe so, dass sie auf Dunkel lesbar bleiben */
a, .pfeil-link { color: var(--green-ink); }
a:hover { color: var(--green); }
.marke-name, .fuss-name { color: var(--green); }
.navi-liste .current-menu-item > a, .navi-liste a:hover, .fuss-spalte a:hover { color: var(--green-ink); }
.knopf-voll, .knopf-voll:hover, .wp-block-button__link, .wp-block-button__link:hover, .sprung, .sprung:focus { color: var(--on-green); }
.knopf-rand, .knopf-rand:hover { color: var(--green-ink); }
.bereich-2 .dachzeile { color: var(--green-ink); }

/* Hinweisband: volle gelbe Fläche, damit es niemand übersieht (geändert am 30.11.2026).
   Grün bleibt den Knöpfen vorbehalten. Auf ruhigen Seiten (Trauerfloristik) genauso
   groß, aber in gedeckten Farben. */
.hinweisband { background: var(--yellow); color: var(--on-yellow); }
.ruhig .hinweisband { background: var(--surface-2); color: var(--ink); border-bottom: 1px solid var(--line-strong); }

/* Öffnungszeiten: Karte auf dunkler Fläche statt grüner Wand */
.zeiten { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.zeiten a, .zeiten-text h2 { color: var(--ink); }
.zeiten a.knopf-voll, .zeiten a.knopf-voll:hover { color: var(--on-green); }
.zeiten .dachzeile { color: var(--green-ink); }
.knopf-auf-gruen, .knopf-auf-gruen:hover { color: var(--ink); border-color: var(--line-strong); }
.knopf-auf-gruen:hover { background: var(--surface-2); }
.zeiten-bild .bild-leer { background: var(--surface-2); color: var(--ink-3); }

.fuss { background: var(--bg); }

/* --- 2. Aufbau wie im Entwurf --------------------------------------------- */

/* Auftakt: das große Foto füllt die ganze Breite, der Text liegt darüber.
   Gezeigt wird das „große Foto links" aus den Einstellungen. */
.seite.auftakt {
  position: relative; display: flex; align-items: center; overflow: hidden;
  max-width: none; min-height: 560px; margin: 0; gap: 0;
  padding-block: 56px;
  /* Text bündig mit der Kopfzeile, obwohl der Abschnitt bis an den Rand reicht */
  padding-inline: max(var(--seite-rand), calc((100% - var(--seite-max)) / 2));
}
.auftakt-bilder { position: absolute; inset: 0; display: block; }
.auftakt-bilder .bild { display: none; }
.auftakt-bilder .bild.hoch { display: block; height: 100%; border: 0; border-radius: 0; }
.auftakt-bilder .bild-leer.hoch { display: flex; align-items: flex-start; justify-content: flex-end; }
.auftakt-bilder::after { content: ""; position: absolute; inset: 0; background: var(--scrim-quer); }
.auftakt-text { position: relative; z-index: 1; }
.auftakt h1 { max-width: 780px; color: var(--auf-bild); }
.auftakt .vorspann { max-width: 540px; color: var(--auf-bild-2); }

/* Wie im Entwurf steht über der Überschrift nur ein Schildchen: „Heute geöffnet bis …".
   Ist es abgeschaltet, übernimmt die kleine Zeile aus den Einstellungen diese Rolle. */
.auftakt-text:has(.offen-jetzt) .dachzeile { display: none; }
.offen-jetzt { font-weight: 600; }

/* Die kleine Zeile über der Überschrift wird zum Schildchen mit grünem Punkt */
.auftakt .dachzeile.mit-strich {
  align-self: flex-start; gap: 8px; padding: 7px 14px;
  background: var(--green-tint); border: 1px solid var(--green); border-radius: var(--r-pill);
  color: var(--green-ink); font: 600 13px/1.3 var(--font); letter-spacing: 0; text-transform: none;
}
.auftakt .dachzeile.mit-strich::before { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.auftakt .knopf-rand, .auftakt .knopf-rand:hover { background: var(--glas); border-color: var(--glas-rand); color: var(--auf-bild); }

/* Jahreszeiten: die laufende als große Bildkarte, die übrigen klein daneben */
.saison-karte { --ton: var(--surface); --ton-ink: var(--ink); border: 1px solid var(--line); border-radius: var(--r-big); }
.saison-karte.ton-gold, .saison-karte.ton-rot, .saison-karte.ton-blau { --ton: var(--surface); --ton-ink: var(--ink); }
.saison-karte:hover { border-color: var(--line-strong); }
.saison-text { padding: 20px 24px 22px; }

.saison:has(.laeuft) { grid-template-columns: 2fr 1fr; gap: 24px; }
.saison:has(.laeuft) .saison-karte:not(.laeuft) .bild,
.saison:has(.laeuft) .saison-karte:not(.laeuft) .saison-bilder { display: none; }
.saison:has(.laeuft) .saison-karte:not(.laeuft) { justify-content: center; }
.saison-karte.laeuft {
  position: relative; order: -1; grid-row: 1 / span 3; justify-content: flex-end;
  min-height: 380px; outline: 0;
}
.saison-karte.laeuft .bild { position: absolute; inset: 0; height: 100%; }
.saison-karte.laeuft .saison-bilder { position: absolute; inset: 0; height: 100%; }
.saison-karte.laeuft::after { content: ""; position: absolute; inset: 0; background: var(--scrim-hoch); }
.saison-karte.laeuft .saison-text { position: relative; z-index: 1; padding: 32px; }
.saison-karte.laeuft h3 { font-size: 28px; font-weight: 700; color: var(--auf-bild); }
.saison-karte.laeuft p { max-width: 440px; font-size: 16px; color: var(--auf-bild-2); }
.saison-karte.laeuft .dachzeile {
  align-self: flex-start; margin-bottom: 7px; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--green); color: var(--on-green);
  font: 700 11px/1.3 var(--font); letter-spacing: .08em;
}
.saison-karte.laeuft .dachzeile::before { content: none; }

@media (max-width: 900px) {
  .seite.auftakt { min-height: 440px; align-items: flex-end; padding-block: 40px 24px; }
  .auftakt-bilder::after { background: var(--scrim-hoch); }
  .saison:has(.laeuft) { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .saison-karte.laeuft { grid-row: auto; min-height: 300px; }
  .saison-karte.laeuft .saison-text { padding: 24px; }
}
