/* ==========================================================================
   ENTWURF B · "Ankommen"
   Lädt nach style.css und überschreibt/ergänzt. Idee: gemalte Landschaft statt Flächen,
   ein Brief statt eines Textblocks, der Weg zu uns als kleine Geschichte,
   Handschrift (Caveat) nur als persönliche Randnotiz.
   ========================================================================== */
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --paper: #f9f4ea;
  --letter: #fffdf7;
  --rose-ink: #9a4f42;
  --radius: 6px;   /* Rosenholz dunkel, für Handschrift auf hellem Grund (AA) */
}
body { background: var(--paper); }
.hand { font-family: var(--hand); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; }

/* Kopf: ruhiger, verschmilzt mit dem Himmel */
.site-header { background: rgb(249 244 234 / 0.92); border-bottom-color: transparent; backdrop-filter: blur(6px); }

/* --- Ankommen: Landschaft als Bühne ------------------------------------- */
.arrive { --hills: clamp(7rem, 2rem + 11vw, 12.5rem); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-start; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) calc(var(--hills) * 0.8);
  background: url("../img/landschaft-streifen.svg") bottom / 100% var(--hills) no-repeat, radial-gradient(ellipse 45% 55% at 76% 88%, #fff6e2 0, #fbe8cf 22%, rgb(243 205 189 / .35) 55%, transparent 80%), linear-gradient(#f4ead6, #f5ddd0 60%, #f2e3c7); }
.arrive__crane { position: absolute; z-index: -1; width: clamp(15rem, 34vw, 32rem); height: auto; right: 7%; top: 14%; transform: rotate(3deg); filter: saturate(0.85); }
.arrive__inner { position: relative; }
.arrive__hello { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); color: var(--rose-ink); margin: 0 0 0.4rem; transform: rotate(-2deg); transform-origin: left; }
.arrive h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); max-width: 15ch; margin-bottom: 0.4em; }
.arrive__lead { font-family: var(--font-serif); font-weight: 300; font-size: var(--step-1); line-height: 1.5; max-width: 30rem; color: var(--ink); }
.arrive__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: var(--space-m); }
.arrive__phone { font-weight: 700; color: var(--sage-900); }
@media (max-width: 56em) {
  .arrive { --hills: clamp(6.5rem, 30vw, 9rem); padding-bottom: calc(var(--hills) + 4.5rem); }
  .arrive__crane { width: 50vw; right: 3%; top: auto; bottom: calc(var(--hills) * .45); }
}

/* --- Brief ------------------------------------------------------------- */
.letter-wrap { padding-top: var(--space-l); }
.letter {
  position: relative; display: grid; gap: var(--space-l); max-width: 60rem; margin-inline: auto;
  background: var(--letter); border: 1px solid #e6dcc6; border-radius: 6px;
  padding: clamp(1.75rem, 1rem + 4vw, 4.5rem);
  box-shadow: 0 1px 0 #e6dcc6, 0 18px 40px -28px rgb(60 70 50 / 0.35);
}
@media (min-width: 52em) { .letter { grid-template-columns: minmax(18rem, 25rem) 1fr; align-items: start; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); } }
.letter__photo { margin: 0; align-self: start; position: relative; max-width: 27rem; justify-self: center; }
.letter__photo picture { display: block; position: relative; }
.letter__photo picture::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; background: var(--rose, #e8b5aa); opacity: .55; border-radius: 14px; z-index: 0; }
.letter__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px -28px rgb(40 50 40 / .6); }
.letter__photo figcaption { position: relative; z-index: 1; margin-top: 1.9rem; font-size: var(--step--1, .95rem); color: var(--ink); line-height: 1.4; }
.letter__photo figcaption strong { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--sage-900); }
.letter__salute { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem); color: var(--sage-900); font-weight: 600; margin-bottom: 0.6em; letter-spacing: 0; }
.letter__text p { max-width: 36rem; }
.letter__close { margin: 1.5rem 0 0; }
.letter__sign { font-size: 2.6rem; color: var(--sage-900); margin: 0.1rem 0 0; transform: rotate(-3deg); transform-origin: left; display: inline-block; }

/* --- Der Weg zu uns ---------------------------------------------------- */
.path-wrap { background: var(--sand-50); position: relative; }
.path-intro { font-size: var(--step-1); font-family: var(--font-serif); font-weight: 300; margin-bottom: var(--space-l); }
.path-line { display: none; }
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-l); position: relative; }
@media (min-width: 60em) {
  .path { grid-template-columns: repeat(4, 1fr); gap: var(--space-m); }
  .path-line { display: block; width: 100%; height: 2.9rem; margin-bottom: -2.9rem; fill: none; stroke: var(--sage-400); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
}
.path li { position: relative; }
.path__dot { display: grid; place-items: center; width: 3.2rem; height: 2.9rem; border-radius: 55% 45% 52% 48% / 60% 50% 50% 40%; color: #fff; font: 600 1.6rem/1 var(--hand); margin-bottom: 1rem; position: relative; }
.path__dot.dot--rose { color: var(--sage-900); }
.path h3 { margin-bottom: 0.35em; }
.path__note { font-size: 1.55rem; color: var(--rose-ink); margin: 0.4rem 0 0; transform: rotate(-2deg); transform-origin: left; }

/* --- Angebote mit Farbwäschen ------------------------------------------- */
.offers-b__grid { list-style: none; padding: 0; margin: var(--space-l) 0 0; display: grid; gap: var(--space-m); }
@media (min-width: 48em) { .offers-b__grid { grid-template-columns: 1fr 1fr; } }
.wash { position: relative; isolation: isolate; background: var(--letter); border: 1px solid #e6dcc6; border-radius: 6px; overflow: hidden; }
.wash::before { content: ""; position: absolute; z-index: -1; width: 11rem; aspect-ratio: 4 / 3; right: -2.5rem; bottom: -2.5rem; opacity: 0.8; background: center / contain no-repeat; transition: transform .6s ease; }
.wash--moos::before { background-image: url("../img/fleck-moos.svg"); }
.wash--fjord::before { background-image: url("../img/fleck-fjord.svg"); }
.wash--rose::before { background-image: url("../img/fleck-rose.svg"); }
.wash--sand::before { background-image: url("../img/fleck-sand.svg"); }
.wash a { display: block; padding: 2.2rem 2rem 1.75rem; color: var(--ink); text-decoration: none; height: 100%; }
.wash h3 { font-size: var(--step-2); font-weight: 300; margin-bottom: 0.4em; }
.wash p { color: var(--ink-soft); max-width: 28rem; }
.offers-b__more { font-weight: 700; color: var(--sage-700); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.wash:hover::before { transform: scale(1.12) rotate(-4deg); }
.wash a:hover .offers-b__more { color: var(--sage-900); text-decoration-thickness: 2px; }

/* --- Stimme ------------------------------------------------------------ */
.voice-b { background: var(--rose-100); }
.voice-b__fig { margin: 0 auto; max-width: 46rem; position: relative; text-align: center; }
.voice-b__mark { display: block; font: 600 6rem/1 var(--hand); color: var(--rose-400); height: 3.2rem; overflow: hidden; margin-bottom: 0.5rem; }
.voice-b blockquote { margin: 0; }
.voice-b blockquote p { font-family: var(--font-serif); font-weight: 300; font-size: var(--step-2); line-height: 1.4; color: var(--sage-900); }
.voice-b figcaption { margin-top: 1.25rem; color: var(--ink-soft); font-size: 0.95rem; display: grid; gap: 0.15rem; justify-items: center; }
.voice-b figcaption .hand { font-size: 2rem; color: var(--rose-ink); }

/* --- Traumaambulanz ---------------------------------------------------- */
.band-b { background: var(--sage-300); color: var(--sage-900); }
.band-b .eyebrow { color: var(--sage-900); }
.band-b .btn { background: var(--sage-900); border-color: var(--sage-900); }

/* --- Himmel mit Kranichen ---------------------------------------------- */
.sky-b { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-xl) clamp(12rem, 24vw, 18rem); }
.sky-b__land { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 100%; z-index: -2; transform: scaleX(-1); }
.sky-b__flock { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky-b__flock img { position: absolute; height: auto; }
.sky-b__flock .c1 { width: clamp(10rem, 20vw, 17rem); right: 30%; top: 14%; opacity: .55; transform: rotate(4deg); }
.sky-b__flock .c2 { width: clamp(7rem, 13vw, 11rem); right: 14%; top: 8%; opacity: .4; transform: rotate(6deg); }
.sky-b__flock .c3 { width: clamp(5rem, 9vw, 8rem); right: 6%; top: 26%; opacity: .32; transform: rotate(3deg); }
.sky-b__card { max-width: 32rem; background: rgb(255 253 247 / 0.88); border: 1px solid #e6dcc6; border-radius: 6px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.sky-b__card h2 { font-size: var(--step-2); }
@media (max-width: 48em) { .sky-b__flock .c1 { right: 20%; top: auto; bottom: 26%; } .sky-b__flock .c2 { top: auto; bottom: 36%; } .sky-b__flock .c3 { top: auto; bottom: 22%; } }

/* --- Termin ------------------------------------------------------------ */
.medflex-b { background: var(--sage-50); }
.medflex-b__grid { display: grid; gap: var(--space-l); align-items: start; }
@media (min-width: 56em) { .medflex-b__grid { grid-template-columns: 1fr 1.4fr; } }
.medflex-b__note { font-size: 1.8rem; color: var(--rose-ink); transform: rotate(-2deg); transform-origin: left; }
.medflex-b__box { background: var(--letter); border: 1px solid #e6dcc6; border-radius: 6px; padding: var(--space-m); }

/* Unterseiten: Seitenkopf als kleiner gemalter Himmel */
.page-head { background: url("../img/landschaft-streifen.svg") bottom / 100% clamp(5rem, 11vw, 9rem) no-repeat, linear-gradient(#f4ead6, #f5e0d2); border-bottom: 0; padding-bottom: clamp(7rem, 14vw, 11rem); }
.page-head::after { top: 42%; }
.page-head::after { opacity: 0.22; }

/* Kleine Freundlichkeiten */
::selection { background: var(--rose-400); color: var(--ink); }

/* Logo (Kranich-Logo von Frau Szücs) */
.brand { flex: none; }
.brand__img { display: block; height: 2.5rem; width: auto; max-width: none; }
@media (max-width: 30em) { .brand__img { height: 2.4rem; } }
.site-footer__logo { display: block; height: 2.6rem; width: auto; margin-bottom: 1.25rem; }
@media (min-width: 80em) { .main-nav ul { gap: 1.1rem; } }

/* Karte mit Zwei-Klick-Lösung */
.no-js .js-only { display: none; }
.map-consent { position: relative; margin-top: var(--space-m); border: 1px solid #e6dcc6; border-radius: 10px; overflow: hidden; 
  background: url("../img/landschaft-streifen.svg") bottom / 100% clamp(5rem, 9vw, 8rem) no-repeat, linear-gradient(#f4ead6, #f5e0d2 70%); }
.map-consent.is-loaded { aspect-ratio: 16 / 9; }
.map-consent--compact.is-loaded { aspect-ratio: 4 / 3; }
.map-consent__box { position: relative; z-index: 1; display: grid; justify-items: center; align-content: center; gap: 0.6rem; text-align: center; padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--space-m) clamp(6.5rem, 2rem + 9vw, 10rem); }
.map-consent__pin { width: 1.6rem; height: auto; fill: var(--rose-ink); }
.map-consent__pin circle { fill: #fffdf7; }
.map-consent__addr { margin: 0; color: var(--sage-900); line-height: 1.4; }
.map-consent__note { margin: 0; max-width: 32rem; font-size: 0.92rem; color: var(--ink); }
.map-consent__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem 1.25rem; margin-top: 0.3rem; }
.map-consent__remember { display: inline-flex; gap: 0.45rem; align-items: center; font-size: 0.92rem; cursor: pointer; }
.map-consent__remember input { width: 1.1rem; height: 1.1rem; accent-color: var(--sage-900); }
.map-consent__route { margin: 0; font-size: 0.92rem; }
.map-consent__route a { background: rgb(255 253 247 / .8); padding: 0.15rem 0.5rem; border-radius: 4px; }
.map-consent.is-loaded { background: #e9e5da; }
.map-consent.is-loaded .map-consent__box { display: none; }
.map-consent__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent__bar { position: absolute; z-index: 2; left: 0.6rem; bottom: 0.6rem; margin: 0; }
.map-consent__off { font: inherit; font-size: 0.88rem; background: #fffdf7; color: var(--sage-900); border: 1px solid #d9cfb8; border-radius: 999px; padding: 0.35rem 0.9rem; cursor: pointer; box-shadow: 0 4px 12px -6px rgb(0 0 0 / .35); }
.map-consent__off:hover { background: #fff; }
@media (max-width: 40em) { .map-consent.is-loaded { aspect-ratio: 3 / 4; } }
