/* Ergänzungen seit 2026-10-30 (Änderungsliste Wassenberg).
   style.css ist gebautes Tailwind ohne Quelle – neue Bausteine stehen deshalb hier, mit den Farben aus style.css:
   Nacht #071e33 · Signalrot #dc2626 · Mint #78c19e / dunkel #257e53 · Blau #003d6b · Grau #5b6573 · Fläche #f4f7fa */

/* ---------- Preise ---------- */
.preis-raster {
  display: grid;
  gap: 1.5rem;
}
.preis-liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.preis-karte {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #f4f7fa;
  border: 1px solid #e3e8ee;
}
.preis-zeit {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #003d6b;
}
.preis-betrag {
  font-family: Bebas Neue, Impact, Arial Narrow, sans-serif;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1;
  color: #071e33;
}
.preis-einheit {
  color: #5b6573;
}
.preis-karte--nacht {
  background: #071e33;
  background-image: radial-gradient(14rem 10rem at 100% 0, #dc262659, #0000 70%);
  border-color: #071e33;
}
.preis-karte--nacht .preis-zeit { color: #ff7a7a; }
.preis-karte--nacht .preis-betrag { color: #fff; }
.preis-karte--nacht .preis-einheit { color: #ffffffd9; }
.preis-karte--anfrage .preis-betrag { font-size: clamp(1.75rem, 4.5vw, 2.25rem); }
.preis-hinweise .fall-liste {
  margin-top: 0;
  margin-bottom: 1rem;
}
.preis-hinweise .fall-liste svg,
.beratung-raster .fall-liste svg { color: #257e53; }
.preis-fussnote {
  font-size: 0.9375rem;
  color: #5b6573;
}
@media (min-width: 64rem) {
  .preis-raster {
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ---------- Beratung mit Fotos ---------- */
.beratung-raster {
  display: grid;
  gap: 2.5rem;
}
.sprechzeit {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border-left: 4px solid #78c19e;
}
.sprechzeit-titel {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #003d6b;
}
.sprechzeit-zeit {
  margin-top: 0.25rem;
  font-family: Bebas Neue, Impact, Arial Narrow, sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.05;
  color: #071e33;
}
.beratung-raster .fall-liste { margin-top: 1.5rem; margin-bottom: 0; }
.foto-reihe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-self: center;
  align-items: start;
  padding-block: 1.5rem 2.5rem;
}

/* Fotos wie Abzüge auf dem Tisch: weißer Rahmen, leicht schräg.
   Bewegung nur über transform/opacity bzw. translate/rotate/scale (Einzel-Eigenschaften,
   damit Einblenden, Schweben und Hover sich nicht gegenseitig überschreiben). */
.foto {
  --dreh: -3deg;
  position: relative;
  margin: 0;
  padding: 0.4rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 22px 40px -22px #071e3399, 0 2px 6px -2px #071e3326;
  rotate: var(--dreh);
  transition:
    opacity 0.8s var(--ease-aus),
    transform 0.8s var(--ease-aus),
    rotate 0.8s var(--ease-aus),
    scale 0.35s var(--ease-aus),
    box-shadow 0.35s var(--ease-aus);
}
.foto--2 { --dreh: 2deg; margin-top: 1.75rem; z-index: 1; }
.foto--3 { --dreh: -1.5deg; }
.foto img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.7rem;
}

/* Einblenden nacheinander, sobald der Block ins Bild kommt (script.js entfernt .reveal--wartet) */
.foto-reihe.reveal--wartet .foto {
  opacity: 0;
  transform: translateY(1.25rem);
  rotate: 0deg;
}
@media print {
  .foto-reihe.reveal--wartet .foto { opacity: 1; transform: none; rotate: var(--dreh); }
}
/* Verzögerung nur für Einblenden (opacity, transform, rotate), nicht für Hover (scale, box-shadow) */
.foto--2 { transition-delay: 0.12s, 0.12s, 0.12s, 0s, 0s; }
.foto--3 { transition-delay: 0.24s, 0.24s, 0.24s, 0s, 0s; }

/* Dampf über dem Cappuccino: Zeit für einen Kaffee statt Warteschleife */
.dampf {
  position: absolute;
  left: 27%;
  top: 0;
  width: 46%;
  height: 38%;
  pointer-events: none;
}
.dampf svg { width: 100%; height: 100%; overflow: visible; filter: blur(1.2px); }
.dampf path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

/* Bewegung endet nach höchstens 5 Sekunden (WCAG 2.2.2): Schweben 2 × 2 s hin und zurück,
   Dampf einmal durch. Beides startet erst, wenn die Fotos sichtbar sind. Beim Überfahren
   des Kaffeefotos steigt der Dampf noch einmal auf. */
@media (prefers-reduced-motion: no-preference) {
  .foto { animation: foto-schweben 2s ease-in-out 0.6s 2 alternate both; }
  .foto--2 { animation-delay: 0.75s; }
  .foto--3 { animation-delay: 0.9s; }
  .dampf path { animation: dampf-steigen 3s ease-out 0.9s 1 both; }
  .dampf path:nth-child(2) { animation-delay: 1.4s; }
  .dampf path:nth-child(3) { animation-delay: 1.9s; }
  .foto-reihe.reveal--wartet .foto,
  .foto-reihe.reveal--wartet .dampf path { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .foto:hover {
    scale: 1.05;
    z-index: 2;
    box-shadow: 0 30px 50px -24px #071e33b3, 0 2px 8px -2px #071e3333;
  }
  /* anderer Name = Animation startet neu */
  .foto--2:hover .dampf path { animation-name: dampf-steigen-nochmal; animation-delay: 0s; }
  .foto--2:hover .dampf path:nth-child(2) { animation-delay: 0.6s; }
  .foto--2:hover .dampf path:nth-child(3) { animation-delay: 1.2s; }
}
@media (prefers-reduced-motion: reduce) {
  .foto { transition: none; }
  .dampf { display: none; }
}
@keyframes foto-schweben {
  from { translate: 0 0; }
  to { translate: 0 -7px; }
}
@keyframes dampf-steigen {
  0% { opacity: 0; transform: translateY(14px) scaleY(0.7); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-22px) scaleY(1.15); }
}
@keyframes dampf-steigen-nochmal {
  0% { opacity: 0; transform: translateY(14px) scaleY(0.7); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-22px) scaleY(1.15); }
}

@media (min-width: 40rem) {
  .foto-reihe { gap: 1.25rem; }
  .foto { padding: 0.5rem; }
}
@media (min-width: 64rem) {
  .beratung-raster {
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: center;
  }
  /* Mittleres Foto (Kaffee mit Dampf) größer, die äußeren leicht darunter geschoben – wie aufgefächert */
  .foto-reihe {
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 0;
  }
  .foto--1 { margin-right: -1rem; margin-top: 2.5rem; }
  .foto--3 { margin-left: -1rem; margin-top: 3.5rem; }
  .foto--2 { margin-top: 0; }
}

/* ---------- Coaching und Kooperation ---------- */
.coaching-preis {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: #1f2937;
}
.coaching-preis strong {
  font-family: Bebas Neue, Impact, Arial Narrow, sans-serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  color: #071e33;
  margin-right: 0.35rem;
}
/* Kooperation Dr. Mint – in den Farben von dr-mint.de:
   Mint #6FD1AE · Mint dunkel #075A44 · Tinte #10212B · Tönung #E3F2EC · Gelb (Glühbirne) #F5C518.
   Text immer dunkel auf hellem Mint (Kontrast), Mint nur als Fläche/Akzent. */
.kooperation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem;
  border-radius: 1.5rem;
  color: #10212b;
  background:
    radial-gradient(18rem 14rem at 100% 0, #6fd1ae59, #0000 70%),
    linear-gradient(160deg, #f4f8f7, #e3f2ec);
  border: 1px solid #c9e6da;
  container-type: inline-size;
  transition: box-shadow 0.35s var(--ease-aus), translate 0.35s var(--ease-aus);
}
/* Kariertes Heftpapier, ganz zart */
.kooperation::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#075a440f 1px, #0000 1px),
    linear-gradient(90deg, #075a440f 1px, #0000 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(200deg, #000 10%, #0000 75%);
}
.mint-tafel { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mint-formel {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: #075a44;
  opacity: 0.2;
}
.mint-formel--1 { top: 34%; right: 9%; font-size: 2rem; }
.mint-formel--2 { top: 58%; right: 22%; }
.mint-formel--3 { bottom: 10%; right: 6%; font-size: 1.1rem; }
.mint-formel--4 { top: 46%; right: 40%; font-size: 1rem; }
.mint-formel--5 { bottom: 24%; right: 36%; font-size: 1.7rem; }
/* Schmale Karte: Formeln nur am rechten Rand, damit sie nie hinter dem Text liegen */
@container (max-width: 34rem) {
  .mint-formel--2 { right: 6%; top: 60%; }
  .mint-formel--4, .mint-formel--5 { display: none; }
}
.mint-birne {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 3.4rem;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #10212b;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mint-glas { fill: #f5c518; fill-opacity: 0.9; filter: drop-shadow(0 0 8px #f5c51899); }
.mint-strahlen { stroke: #f5a623; }

.mint-marke { display: flex; align-items: center; gap: 0.75rem; }
.mint-logo {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #6fd1ae;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: inset 0 -3px 0 #075a4433;
}
.mint-name { display: flex; flex-direction: column; line-height: 1.15; }
.mint-name strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; }
.mint-name span { font-size: 0.875rem; color: #4a5a63; }
.mint-kicker { margin-top: 1.5rem; color: #075a44; }
.mint-titel {
  margin-top: 0.35rem;
  max-width: 22ch;
  font-size: clamp(1.5rem, 7cqi, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.mint-text { margin-top: 0.85rem; max-width: 38ch; color: #33434c; }
.mint-faecher { margin-top: 1.1rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mint-faecher li {
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: #fff;
  border: 1.5px solid #6fd1ae;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #075a44;
}
.mint-knopf {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 0.75rem;
  background: #075a44;
  color: #fff;
  font-weight: 700;
  transition: background-color 0.2s, gap 0.2s;
}
.mint-knopf svg { width: 1.25rem; height: 1.25rem; }
.mint-knopf:hover { background: #0b7a5c; gap: 0.85rem; }
.mint-knopf:focus-visible { outline: 3px solid #10212b; outline-offset: 3px; }
@media (min-width: 48rem) {
  .kooperation { padding: 2.25rem; }
  .mint-birne { width: 4rem; top: 1.5rem; right: 1.5rem; }
}

/* Animation: Glühbirne geht an (Idee!), Formeln steigen sacht auf – einmal beim Einblenden,
   noch einmal beim Überfahren der Karte. Alles endet nach höchstens 5 s (WCAG 2.2.2). */
@media (prefers-reduced-motion: no-preference) {
  .mint-glas { animation: birne-an 1.6s ease-out 0.5s both; }
  .mint-strahlen { animation: strahlen-an 1.6s ease-out 0.9s both; }
  .mint-formel { animation: formel-steigen 3.2s var(--ease-aus) both; }
  .mint-formel--2 { animation-delay: 0.3s; }
  .mint-formel--3 { animation-delay: 0.6s; }
  .mint-formel--4 { animation-delay: 0.9s; }
  .mint-formel--5 { animation-delay: 1.2s; }
  .kooperation.reveal--wartet :is(.mint-glas, .mint-strahlen, .mint-formel) { animation-play-state: paused; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .kooperation:hover { translate: 0 -3px; box-shadow: 0 24px 40px -26px #075a4480; }
  .kooperation:hover .mint-glas { animation-name: birne-an-nochmal; animation-delay: 0s; }
  .kooperation:hover .mint-strahlen { animation-name: strahlen-an-nochmal; animation-delay: 0.3s; }
  .kooperation:hover .mint-formel { animation-name: formel-steigen-nochmal; }
}
@keyframes birne-an {
  0%, 30% { fill-opacity: 0; filter: drop-shadow(0 0 0 #f5c51800); }
  40% { fill-opacity: 0.9; }
  48% { fill-opacity: 0.2; }
  60%, 100% { fill-opacity: 0.9; filter: drop-shadow(0 0 8px #f5c51899); }
}
@keyframes birne-an-nochmal {
  0%, 30% { fill-opacity: 0; filter: drop-shadow(0 0 0 #f5c51800); }
  40% { fill-opacity: 0.9; }
  48% { fill-opacity: 0.2; }
  60%, 100% { fill-opacity: 0.9; filter: drop-shadow(0 0 8px #f5c51899); }
}
@keyframes strahlen-an {
  from { opacity: 0; stroke-dasharray: 0 12; }
  to { opacity: 1; stroke-dasharray: 12 0; }
}
@keyframes strahlen-an-nochmal {
  from { opacity: 0; stroke-dasharray: 0 12; }
  to { opacity: 1; stroke-dasharray: 12 0; }
}
@keyframes formel-steigen {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 0.2; translate: 0 0; }
}
@keyframes formel-steigen-nochmal {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 0.2; translate: 0 0; }
}
@media print {
  .kooperation.reveal--wartet :is(.mint-glas, .mint-strahlen, .mint-formel) { animation: none; }
}

/* ---------- WhatsApp im Kontaktblock ---------- */
.btn-whatsapp {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  color: #071e33;
  background: #78c19e;
  transition: background-color 0.15s;
}
.btn-whatsapp:hover { background: #9bd4b8; }
.btn-whatsapp svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- Inhaber klein im Fuß ---------- */
.fuss-inhaber {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #ffffffb3;
}
.fuss-inhaber img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

/* ---------- Kopfzeile: fünf Menüpunkte (seit „Preise“) ohne Umbruch ---------- */
.nav-link { white-space: nowrap; }
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .nav-link { padding-inline: 0.55rem; font-size: 1rem; }
}

/* ---------- „Jetzt neu“: Notfall-Vertretung Finanzbuchführung (Wunsch vom 18.11.2026) ---------- */
.neu-hinweis {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e3e8ee;
  border-left: 4px solid #dc2626;
}
.neu-marke {
  flex-shrink: 0;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.neu-text { flex: 1 1 18rem; color: #1f2937; }
.neu-text strong { color: #071e33; }
.neu-text span { display: block; color: #5b6573; }
.neu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  font-weight: 700;
  color: #003d6b;
  transition: color 0.15s, gap 0.15s;
}
.neu-link svg { width: 1.25rem; height: 1.25rem; }
.neu-link:hover { color: #dc2626; gap: 0.6rem; }
