/* Angelina Hoppe — Seiten-Layout der Landingpage.
   Baut auf tokens.css (Werte) und ah-components.css (Komponenten aus dem Design System) auf.
   Grundhaltung: Die Seite ist die Wand (Beige, Weiß, viel Luft), Bilder und Farbe sind die Objekte.
   Schwarz nur im Footer, keine Verläufe. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
:focus-visible { outline: var(--focus-width) solid var(--focus-ring); outline-offset: 3px; }
.ah-on-color :focus-visible { outline-color: var(--focus-ring-on-color); }
.ah-on-dark :focus-visible { outline-color: var(--focus-ring-on-dark); }
.ah-booking-embed :focus-visible { outline-color: var(--focus-ring); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-16); top: -100px; z-index: 200; background: var(--ink); color: var(--ink-inverse); padding: var(--space-12) var(--space-16); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { top: var(--space-16); outline-color: var(--focus-ring-on-dark); }

.aside { font-style: italic; color: var(--ink-muted); }
.strong { font-weight: 600; }
.hint { color: var(--ink-muted); }

/* ---------- Raster ---------- */
.wrap { width: 100%; max-width: calc(var(--container-max) + 2 * var(--margin-desktop)); margin-inline: auto; padding-inline: var(--margin-mobile); }
@media (min-width: 960px) { .wrap { padding-inline: var(--margin-desktop); } }

/* ---------- Header (Design-System-Header, sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); color: var(--ink); border-bottom: var(--border-hairline) solid transparent; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--hairline-soft); }
/* Ganz oben liegt der Header transparent auf dem Hero-Foto */
.site-header.is-overlay { background: transparent; color: var(--ink-inverse); }
.site-header.is-overlay .lang-soon { color: var(--ink-inverse-muted); }
.site-header.is-overlay :focus-visible { outline-color: var(--focus-ring-on-dark); }
.site-header .ah-header { max-width: calc(var(--container-max) + 2 * var(--margin-desktop)); margin-inline: auto; background: transparent; }
.header-actions { display: flex; align-items: center; gap: var(--space-32); }
.lang { display: inline-flex; gap: 6px; align-items: baseline; }
.lang-on { color: inherit; border-bottom: var(--border-strong) solid var(--accent); }
.lang-soon { color: var(--ink-muted); cursor: default; }
.ah-on-dark .lang-soon { color: var(--ink-inverse-muted); }
.site-header .ah-btn { white-space: nowrap; }
@media (max-width: 1200px) {
  .header-actions, .site-header .ah-nav { gap: var(--space-24); }
}
@media (max-width: 960px) {
  .header-actions { gap: var(--space-16); }
  .header-actions > .lang { display: none; }
}

/* ---------- Mobiles Menü ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--surface); padding: var(--space-16) var(--margin-mobile) calc(var(--space-32) + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-16); }
.mobile-menu .menu-close { display: inline-block; }
.mobile-menu nav { display: grid; margin-top: var(--space-48); border-top: var(--border-hairline) solid var(--hairline); }
.mobile-menu nav a { display: flex; gap: var(--space-16); align-items: baseline; padding: var(--space-24) 0; border-bottom: var(--border-hairline) solid var(--hairline); font-family: var(--font-display); font-size: clamp(26px, 7.5vw, 36px); line-height: 1; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.mobile-menu nav .no { font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; color: var(--accent-text); }
.mobile-menu-foot { margin-top: auto; padding-top: var(--space-48); display: grid; gap: var(--space-24); }
.mobile-menu-foot .ah-btn { width: 100%; padding-inline: 20px; }
body.menu-open { overflow: hidden; }

/* ---------- 1 · Hero: Foto über die ganze Fläche, schwarzer Verlauf für die Lesbarkeit ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(620px, 100svh, 980px); margin-top: calc(-1 * var(--header-h, 93px)); background: var(--surface-stage); color: var(--ink-inverse); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, .36) 22%, rgba(10, 10, 10, .52) 58%, rgba(10, 10, 10, .9) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-top: calc(var(--header-h, 93px) + var(--space-64)); padding-bottom: var(--space-96); }
.hero-text { grid-column: 2 / span 10; display: grid; gap: var(--space-24); justify-items: center; text-align: center; }
.hero-title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1; text-wrap: balance; hyphens: manual; }
.hero-copy { display: grid; gap: var(--space-12); justify-items: center; }
.hero-copy .ah-lead { max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-16); padding-top: var(--space-8); }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--space-64); }
  .hero-text { grid-column: 1; }
}
@media (max-width: 640px) {
  /* Handy: Foto oben frei sichtbar, Text läuft darunter auf Schwarz aus */
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 50svh; min-height: 360px; }
  .hero-media::after { background:
    linear-gradient(to bottom, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 24%),
    linear-gradient(to top, var(--surface-stage) 0%, rgba(10, 10, 10, .6) 22%, rgba(10, 10, 10, 0) 50%); }
  .hero-inner { margin-top: -96px; padding-top: 0; padding-bottom: var(--space-48); }
  .hero-text { gap: var(--space-16); }
  .hero-cta { width: 100%; }
  .hero-cta .ah-btn { width: 100%; padding: 22px 20px; font-size: 15px; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--space-96); }
@media (min-width: 960px) { .section { padding-block: var(--space-128); } }
/* Keine Linien zwischen Abschnitten: die Seite fließt, Abschnitte heben sich nur über den Grund ab */
.section-white { background: var(--surface-white); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-24); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head > .ah-eyebrow { grid-column: 1 / -1; }
.section-title { grid-column: 1 / span 8; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 3.8vw, 54px); line-height: .94; letter-spacing: -0.02em; text-wrap: balance; hyphens: manual; }
.section-intro { grid-column: 9 / span 4; display: grid; gap: var(--space-12); }
.section-intro p { max-width: 38ch; }
@media (max-width: 960px) {
  .section-title, .section-intro { grid-column: 1 / -1; }
}

/* ---------- 2 · Moodboard-Wolke (Verhalten aus dem Prototyp) ---------- */
.cloud-shell { position: relative; }
.cloud { position: relative; width: 100%; touch-action: pan-y; }
.photo { position: absolute; left: 0; top: 0; background: var(--white); padding: 6px 6px 22px; box-shadow: 0 1px 0 rgba(10, 10, 10, .06), 0 10px 24px -14px rgba(10, 10, 10, .45); will-change: transform; transition: box-shadow .25s ease; }
.photo img { width: 100%; height: auto; }
.photo figcaption { position: absolute; left: 8px; right: 8px; bottom: 4px; font-family: var(--font-mono); font-weight: 500; font-size: 9px; line-height: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cloud.open .photo:hover { box-shadow: 0 1px 0 rgba(10, 10, 10, .06), 0 18px 34px -16px rgba(10, 10, 10, .55); }
/* Ohne JavaScript: ruhiges Mauerwerk statt Stapel */
.cloud:not(.is-ready) { columns: 3 220px; column-gap: var(--gutter); }
.cloud:not(.is-ready) .photo { position: relative; break-inside: avoid; margin-bottom: var(--gutter); }

.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-32); margin-top: clamp(72px, 10vw, 128px); }
.why-claim { grid-column: 1 / span 5; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.why-copy { grid-column: 7 / span 6; display: grid; gap: var(--space-16); max-width: var(--text-max); }
@media (max-width: 960px) { .why-claim, .why-copy { grid-column: 1 / -1; } }

/* ---------- 3 · Angebote ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
/* „Start your journey.“ läuft genau über die Breite der drei Kacheln (Schriftgröße folgt der Containerbreite) */
.offers-head { container-type: inline-size; }
.offers-head .fit-title { grid-column: 1 / -1; font-size: calc(100cqi / 12.8); line-height: .9; white-space: nowrap; }
.offer { position: relative; min-height: 0; padding: clamp(28px, 2.8vw, 44px); }
.section-white .offer { background: var(--surface); }
.offer .ah-offer-head { align-items: flex-start; min-height: 32px; }
.offer .ah-offer-head .ah-label { color: var(--ink-muted); }
.offer .ah-offer-title { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.02; }
.offer-sticker { transform: rotate(-3deg); }
.offer-intro { display: grid; gap: var(--space-12); }
.offer-sub { font-weight: 600; }
.offer-copy { display: grid; gap: var(--space-12); }
.offer-copy p, .offer-list { font-size: 17px; line-height: 26px; }
.offer-get { display: grid; gap: var(--space-8); }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); }
.offer-list li { position: relative; padding-left: 22px; }
.offer-list li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; background: var(--accent); }
.offer-fit { margin-top: auto; padding-top: var(--space-8); font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.offer .ah-offer-foot { margin-top: 0; }
.offers-note { margin-top: var(--space-48); }
@media (max-width: 1100px) {
  .offers { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
}

/* ---------- 4 · Recent Work: Flip-Karten (Verhalten aus dem Prototyp) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { position: relative; aspect-ratio: 4 / 5; perspective: 1400px; }
.card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2, .75, .2, 1); }
.card.is-flipped .card-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .card[data-flip]:hover .card-inner { transform: rotateY(180deg); } }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { background: var(--surface-white); }
.front img { width: 100%; height: 100%; object-fit: cover; }
.card-tag { position: absolute; left: var(--space-12); top: var(--space-12); }
.card-no { position: absolute; right: var(--space-12); top: var(--space-12); }
.back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.4vw, 32px); background: var(--surface-white); border: var(--border-hairline) solid var(--hairline-soft); }
.back-top { display: flex; justify-content: space-between; gap: var(--space-12); color: var(--ink-muted); }
.back-title { font-family: var(--font-display); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.back-disc { color: var(--accent-text); }
.back p { font-size: 16px; line-height: 1.55; }
.chip { margin-top: auto; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding-top: 14px; border-top: var(--border-hairline) solid var(--hairline-soft); }
.chip .sw { height: 64px; background: var(--swatch); border: var(--border-hairline) solid var(--hairline-soft); }
.chip-label { display: grid; gap: 2px; }
.chip-label span:last-child { color: var(--ink-muted); }
.card-toggle { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
/* Freie Wand: das sechste Feld lädt zum eigenen Projekt ein */
.cta-tile { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--space-16); padding: clamp(20px, 2.4vw, 32px); border: var(--border-hairline) solid var(--hairline); color: var(--ink); text-decoration: none; transition: background-color .25s ease; }
.cta-tile:hover { background: var(--surface-white); }
.cta-title { margin-top: auto; font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1; letter-spacing: -0.02em; }
.cta-text { max-width: 26ch; }
.cta-link { display: inline-flex; gap: var(--space-8); color: var(--accent-text); }
.cta-tile:hover .ah-btn-arrow { transform: translateX(4px); }
@media (max-width: 560px) { .card-cta { aspect-ratio: auto; min-height: 320px; } }

/* ---------- 5 · Über mich ---------- */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-48); align-items: start; }
.about-media { grid-column: 1 / span 5; position: sticky; top: 120px; }
.img-slot { aspect-ratio: 4 / 5; }
.img-slot.ah-img, .img-slot .ah-img-ph { background: var(--surface); color: var(--ink-muted); }
.img-slot .ah-img-ph { border: var(--border-hairline) solid var(--hairline-soft); }
.about-text { grid-column: 7 / span 6; display: grid; gap: var(--space-24); justify-items: start; }
.about-title { grid-column: auto; }
/* Großbuchstaben bei enger Zeilenhöhe: der Kreis braucht mehr Luft als im Design-System-Standard */
.about-title .ah-circled { margin-inline: .14em; }
.about-title .ah-circled svg { left: -18%; width: 136%; top: -30%; height: 160%; }
.about-quote { font-family: var(--font-sans); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.27; max-width: 24ch; }
.about-copy { display: grid; gap: var(--space-16); max-width: var(--text-max); }
.about-note { margin-top: var(--space-8); }
.milestones { display: grid; gap: var(--space-48); margin-top: clamp(96px, 12vw, 160px); }
.milestones .ah-tl-year { font-size: clamp(30px, 2.8vw, 42px); }
.milestones .ah-tl-role { max-width: 30ch; }
.tl-title { display: block; color: var(--ink); }
@media (max-width: 960px) {
  .about-media, .about-text { grid-column: 1 / -1; }
  .about-media { position: static; order: 1; width: 100%; max-width: 480px; }
}
@media (max-width: 640px) {
  .about-title .ah-circled { margin-left: .55em; } /* Platz, damit der Kreis links nicht aus dem Bild läuft */
}

/* ---------- 6 · Buchung (BookingBlock auf Orange: der eine große Farbmoment) ---------- */
.booking { padding-inline: max(var(--margin-desktop), calc((100% - var(--container-max)) / 2)); }
.booking-eyebrow { grid-column: 1 / -1; }
.booking .ah-booking-title { text-transform: uppercase; font-size: clamp(34px, 5vw, 76px); line-height: .94; text-wrap: balance; }
.booking .ah-booking-title .ah-dot { color: var(--ink); } /* Orange auf Orange wäre unsichtbar */
.booking .ah-booking-copy { gap: var(--space-24); }
.booking .ah-booking-copy > p:not(.ah-lead) { max-width: 40ch; }
.contact-alt { display: grid; margin-top: var(--space-16); border-top: var(--border-hairline) solid var(--hairline); }
.contact-alt > .ah-label { padding-block: var(--space-16) var(--space-8); }
.contact-alt a { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--space-16); align-items: baseline; padding-block: var(--space-12); border-bottom: var(--border-hairline) solid var(--hairline); color: var(--ink); text-decoration: none; }
.contact-alt a:hover .ah-btn-arrow { transform: translateX(4px); }
.contact-alt a > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.booking-card { display: flex; min-height: 0; align-self: start; }
.consent { display: grid; gap: var(--space-24); align-content: center; justify-items: start; padding: clamp(28px, 4vw, 56px); color: var(--ink); }
.consent-meta, .consent-note { color: var(--ink-muted); }
.consent-title { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.01em; }
.consent p { font-size: 16px; line-height: 24px; max-width: 46ch; }
.consent .consent-note { font-size: 14px; line-height: 20px; }
@media (max-width: 960px) {
  .booking { grid-template-columns: minmax(0, 1fr); padding-inline: var(--margin-mobile); }
  .contact-alt a { grid-template-columns: 76px minmax(0, 1fr) auto; gap: var(--space-12); }
  .contact-alt a > span:nth-child(2) { font-size: 16px; }
}

/* ---------- Footer (der schwarze Moment) ---------- */
.site-footer { background: var(--surface-stage); color: var(--ink-inverse); padding: var(--space-96) max(var(--margin-desktop), calc((100% - var(--container-max)) / 2)) var(--space-48); }
.footer-grid { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: var(--space-48) var(--gutter); }
.footer-brand { display: grid; gap: var(--space-16); align-content: start; }
.footer-claim { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.footer-col { display: grid; gap: var(--space-12); align-content: start; }
.footer-head { color: var(--ink-inverse-muted); margin-bottom: var(--space-4); }
.site-footer a { color: var(--ink-inverse); text-decoration: none; }
.footer-col a:hover, .footer-legal a:hover { color: var(--link-on-stage); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-16); margin-top: var(--space-96); padding-top: var(--space-24); border-top: var(--border-hairline) solid var(--hairline-inverse); color: var(--ink-inverse-muted); font-size: 14px; line-height: 20px; }
.footer-legal { display: flex; gap: var(--space-24); }
@media (max-width: 960px) {
  .site-footer { padding-inline: var(--margin-mobile); padding-bottom: calc(var(--space-96) + env(safe-area-inset-bottom, 0px)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Rechtliches (Impressum, Datenschutz) ---------- */
.back-link { color: inherit; text-decoration: none; }
.back-link:hover { color: var(--accent-text); }
.legal-page .section-title { margin-top: var(--space-16); }
.legal { display: grid; gap: var(--space-12); max-width: var(--text-max); margin-top: var(--space-64); }
.legal h2 { margin-top: var(--space-32); font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.legal h2:first-child { margin-top: 0; }
.legal h2 strong { font-weight: inherit; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-4); }
.legal .ah-link { overflow-wrap: anywhere; }
.legal-meta { margin-top: var(--space-32); color: var(--ink-muted); font-size: 15px; }
.legal-footer { padding-top: var(--space-48); }
.legal-footer .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Buchungsleiste fürs Handy ---------- */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--margin-mobile) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: var(--border-hairline) solid var(--hairline-soft); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .mobile-cta.is-visible { transform: none; visibility: visible; }
  .mobile-cta .ah-btn { width: 100%; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-inner, .mobile-cta, .cta-tile, .ah-btn-arrow { transition: none; }
}
