/* ============================================================
   jaeger-premio.de – Design-Tokens, Fonts, Basis & Bausteine
   Farbwelt: Navy / Stone / Cream / Brass · Fraunces + Manrope
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-italic-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Premio-CI Blau/Gelb – PROVISORISCH, exakte Hex-Werte aus dem CI-Paket folgen.
     Blau #0065B8 stammt aus reifen-muenchen.premio.de, Gelb #FFCD00 aus dem Logo. */
  --blue: #0065B8;
  --yellow: #FFCD00;
  --navy: #06375f; /* tiefes Premio-Blau: dunkle Flächen, Buttons, Text */
  --navy-deep: #04294a;
  --stone: #C9D4DE;
  --cream: #FAF9F6;
  --brass: var(--yellow); /* Akzentflächen/Linien/Sterne (v. a. auf Dunkel) */
  /* Gelb wäre auf Hell als Text unlesbar – Akzent-Text auf hellem Grund = Blau: */
  --brass-text: #005A9E;
  --ink: var(--navy);
  --ink-soft: #3D556E;
  --surface: var(--cream);
  --surface-tint: #EEF2F7;
  --hairline: rgba(6, 55, 95, 0.14);
  --hairline-dark: rgba(255, 255, 255, 0.16);

  /* Eine ruhige, saubere Familie für alles (Manrope) statt Serif-Display */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-h2: clamp(1.9rem, 1.2rem + 2.8vw, 3.25rem);
  --text-hero: clamp(2.6rem, 1.4rem + 5vw, 5.25rem);

  --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --container: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 600ms;
  --header-h: 4.25rem;
  --radius: 2px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-h2); }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
h1 em { font-style: normal; color: var(--blue); }

:focus-visible {
  outline: 2px solid var(--brass-text);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--brass); }
/* Sticky-CTA: Fokusring innen und in Textfarbe, sonst auf Brass unsichtbar */
.sticky-cta :focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  transition: top 200ms var(--ease-out);
}
.skip-link:focus-visible { top: 1rem; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.overline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 1.25rem;
}
.section--dark .overline { color: var(--brass); }

.icon-extern { margin-left: 0.15em; opacity: 0.85; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { opacity: 0.92; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--lg { padding: 0.9rem 1.9rem; }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy-deep); }
.btn--yellow:hover { opacity: 0.92; }
.section--dark .btn--primary {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--navy-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: auto 0 -14px 0;
  height: 14px;
  background: linear-gradient(rgba(24, 48, 71, 0.09), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
  pointer-events: none;
}
.site-header.is-scrolled::after { opacity: 1; }
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.wordmark__logo { display: block; width: 145px; height: auto; }
.wordmark--footer .wordmark__logo { width: 160px; }
.wordmark__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.wordmark__sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding-block: 0.35rem;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: left bottom;
  transition: background-size 300ms var(--ease-out);
}
.site-nav a:hover { background-size: 100% 2px; }
.btn--header { min-height: 48px; padding: 0.5rem 1.1rem; font-size: 0.85rem; }
@media (max-width: 61.99rem) { .site-nav { display: none; } }
@media (max-width: 47.99rem) { .btn--header { display: none; } }

/* ---------- Bild-Container: fixes Ratio, Bild füllt per cover ---------- */
.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame picture { display: block; width: 100%; height: 100%; }

/* ---------- Foto-Platzhalter (keine echten Fotos vorhanden) ---------- */
/* Seitenverhältnisse als Klassen (CSP erlaubt keine Inline-Styles) */
.ph-45 { aspect-ratio: 4 / 5; }
.ph-32 { aspect-ratio: 3 / 2; }
.ph-34 { aspect-ratio: 3 / 4; }
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--stone);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  text-align: center;
  padding: 1rem;
}
.photo-placeholder figcaption { font-size: 0.8rem; letter-spacing: 0.04em; }
.section--dark .photo-placeholder {
  background: var(--navy-deep);
  border-color: var(--hairline-dark);
}

/* ---------- Trust-Badge ---------- */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-badge__stars { display: inline-flex; gap: 2px; color: var(--brass-text); }
.section--dark .trust-badge { color: var(--stone); }
.section--dark .trust-badge__stars { color: var(--brass); }

/* ---------- Scroll-Reveal (nur mit JS aktiv) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sticky-Mobile-CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline-dark);
  border-top: 1px solid var(--hairline-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}
.sticky-cta__btn--book { background: var(--brass); color: var(--navy-deep); }
.sticky-cta__btn--call { background: var(--navy); color: var(--cream); }
@media (max-width: 47.99rem) {
  .sticky-cta { display: grid; }
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--stone);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) 1.5rem;
}
.site-footer a { color: var(--cream); text-decoration-color: rgba(250, 247, 241, 0.35); }
.site-footer a:hover { text-decoration-color: var(--brass); }
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer address { font-style: normal; margin-top: 0.9rem; line-height: 1.9; }
.wordmark--footer .wordmark__sub { color: var(--brass); }
.wordmark--footer .wordmark__name { color: var(--cream); }
.site-footer__nav h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.site-footer__nav ul { list-style: none; padding: 0; }
.site-footer__nav li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.site-footer__note {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-inline: var(--gutter);
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.8rem;
  color: rgba(200, 204, 194, 0.75);
}
@media (max-width: 47.99rem) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Reduced Motion: alles aus ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .site-nav a, .site-header::after, .skip-link { transition: none; }
  .btn:hover { transform: none; }
}
