/* Trafik Karoline Götz – Homepage im Stil der Gutscheinkarten
   Bildmarke, Comfortaa-Signature und Outfit bleiben immer gleich,
   jede Karte trägt eine der vier Farbwelten. Koralle ist überall der Akzent. */

@import url('fonts.css');

:root {
  --koralle: #F2836B;
  --papier: #F1F0EC;
  --karte-hell: #FBFAF7;
  --weiss: #FFFFFF;
  --grau-text: #64676B;
  --linie: #C9C7C2;

  --font-text: 'Outfit', system-ui, sans-serif;
  --font-signature: 'Comfortaa', 'Outfit', sans-serif;

  --max: 1180px;
  --schatten: 0 14px 32px rgba(40, 40, 40, 0.16);

  /* Standard-Farbwelt der Seite */
  --haupt: #B9CCD6; --zweit: #7E98A6; --grund: #E8DFD0; --schrift: #2F3E46;
}

/* ---------- Farbwelten ---------- */
.welt-nebelblau { --haupt: #B9CCD6; --zweit: #7E98A6; --grund: #E8DFD0; --schrift: #2F3E46; }
.welt-altrosa   { --haupt: #E6C7C2; --zweit: #A99B97; --grund: #EEEDEB; --schrift: #33363A; }
.welt-pistazie  { --haupt: #D6E2C6; --zweit: #A9B89A; --grund: #F6F6F1; --schrift: #2F3A2A; }
.welt-senf      { --haupt: #EBD9A6; --zweit: #B8A57A; --grund: #F8F5EC; --schrift: #3A3426; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: #33363A;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--koralle); text-underline-offset: 4px; }
a:hover { color: var(--koralle); }
svg { display: block; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.signature { font-family: var(--font-signature); font-weight: 300; letter-spacing: 0.12em; line-height: 1.05; }
.gesperrt { font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }

/* ---------- Kopf ---------- */
.kopf { padding-block: 22px; }
.kopf-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #2F3E46; }
.logo:hover { color: #2F3E46; }
.logo .bildmarke { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-text .gesperrt { font-size: 10px; letter-spacing: 0.32em; }
.logo-text .signature { font-size: 20px; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }

/* ---------- Gutschein-Karte (Grundbaustein) ---------- */
.karte {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--haupt);
  color: var(--schrift);
  box-shadow: var(--schatten);
  container-type: inline-size;
}
.karte .formen {
  position: absolute; top: 0; right: 0;
  height: 100%; width: auto; aspect-ratio: 514 / 324;
  pointer-events: none;
}
.karte-inhalt {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.karte-label { font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
.karte-spruch { font-family: var(--font-signature); font-weight: 300; letter-spacing: 0.08em; line-height: 1.25; margin: 0; }
.karte-absender { font-weight: 500; letter-spacing: 0.04em; margin: 0; }

/* Hero – ruhige Typografie (links) und eine gedrehte Gutscheinkarte (rechts) */
.hero { padding-block: clamp(16px, 4vw, 48px) 64px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-label { font-size: 14px; letter-spacing: 0.4em; color: var(--grau-text); }
.hero h1 { margin: 14px 0 0; font-size: clamp(48px, 6.8vw, 96px); color: #33363A; }
.farblinie { width: min(380px, 80%); height: 6px; margin-top: 24px; display: flex; border-radius: 3px; overflow: hidden; }
.farblinie span:nth-child(1) { flex-grow: 3; background: #B9CCD6; }
.farblinie span:nth-child(2) { flex-grow: 2; background: #E6C7C2; }
.farblinie span:nth-child(3) { flex-grow: 2; background: #D6E2C6; }
.farblinie span:nth-child(4) { flex-grow: 2; background: #EBD9A6; }
.farblinie span:nth-child(5) { flex-grow: 1; background: var(--koralle); }
.hero-claim { font-family: var(--font-signature); font-weight: 300; letter-spacing: 0.08em; font-size: clamp(18px, 1.9vw, 24px); margin: 24px 0 0; color: #45484C; }
.hero-zeiten { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--grau-text); }
.hero-zeiten span + span::before { content: "·"; margin-right: 20px; color: var(--koralle); }
.hero-zeiten b { color: #33363A; font-weight: 600; margin-right: 6px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn.btn-umriss { background: transparent; color: var(--schrift); }
.btn.btn-umriss:hover { background: var(--koralle); border-color: var(--koralle); }
.hero-karte-wrap { position: relative; }
.hero-karte-wrap::before {   /* zarte Altrosa-Fläche hinter der Karte */
  content: ""; position: absolute; inset: 8% -4% -6% 10%; border-radius: 40px; background: #E6C7C2; opacity: .45; transform: rotate(6deg);
}
.hero-karte { aspect-ratio: 85.6 / 54; transform: rotate(-5deg); transition: transform .3s ease; }
.hero-karte:hover { transform: rotate(-2deg) translateY(-6px); }
.hero-karte .karte-inhalt { padding: 6.4cqw 6.8cqw; gap: 0; }
.hero-karte .karte-label { font-size: 5.4cqw; }
.hero-karte .trafik { font-size: 14.3cqw; line-height: 1; }
.hero-karte .karte-spruch { font-size: 5cqw; margin-top: 2.3cqw; }
.hero-karte .karte-absender { font-size: 2.8cqw; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: 56px; }
.abschnitt-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 28px; }
.abschnitt-kopf h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: #33363A; }
.abschnitt-kopf p { margin: 0; color: var(--grau-text); font-size: 15px; }

/* Angebot – ruhige Farbflächen */
.angebot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.flaeche {
  background: var(--haupt);
  color: var(--schrift);
  border-radius: 22px;
  padding: 28px 30px 30px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.flaeche::after {            /* kleiner Koralle-Akzent statt Grafik */
  content: ""; position: absolute; right: 28px; top: 30px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--koralle);
}
.flaeche .karte-label { font-size: 12px; margin-bottom: 14px; }
.flaeche h3 { margin: 0; font-family: var(--font-signature); font-weight: 300; letter-spacing: 0.1em; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; }
.flaeche p { margin: 6px 0 0; font-size: 16px; }
.klein { font-size: 13px !important; opacity: .8; }

/* Gutscheine – Text und Fächer */
.gutschein-block {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--weiss); border-radius: 28px; padding: clamp(28px, 5vw, 56px);
}
.gutschein-text .karte-label { font-size: 12px; color: var(--grau-text); margin-bottom: 12px; }
.gutschein-text h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.gutschein-text p { margin: 0 0 12px; color: #45484C; }
.faecher { position: relative; aspect-ratio: 1.45; max-width: 520px; width: 100%; justify-self: center; }
.mini {
  position: absolute; width: 74%; aspect-ratio: 85.6 / 54;
  border-radius: 14px; background: var(--haupt); color: var(--schrift);
  box-shadow: 0 12px 28px rgba(40, 40, 40, 0.16);
  padding: 5% 6%;
  display: flex; flex-direction: column; justify-content: space-between;
  container-type: inline-size;
  transition: transform .25s ease;
}
.mini:nth-child(1) { left: 26%; top: 0;   transform: rotate(7deg); }
.mini:nth-child(2) { left: 18%; top: 8%;  transform: rotate(3deg); }
.mini:nth-child(3) { left: 9%;  top: 16%; transform: rotate(-2deg); }
.mini:nth-child(4) { left: 0;   top: 26%; transform: rotate(-6deg); }
.faecher:hover .mini:nth-child(1) { transform: rotate(10deg) translate(4%, -4%); }
.faecher:hover .mini:nth-child(2) { transform: rotate(5deg) translate(2%, -2%); }
.mini { overflow: hidden; }
.mini .formen { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 514 / 324; pointer-events: none; }
.mini > span { position: relative; }
.mini-label { font-size: 5.4cqw; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; }
.mini-trafik { font-size: 14cqw; line-height: 1; }
.mini-spruch { font-family: var(--font-signature); font-weight: 300; font-size: 5.2cqw; line-height: 1.25; letter-spacing: 0.06em; }
.mini:not(:last-child) .mini-spruch { align-self: flex-end; text-align: right; }

/* Kontakt – eine Karte im Stil der Gutschein-Rückseite */
.rueckseite {
  background: var(--karte-hell);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(40, 40, 40, 0.10);
  padding: clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px);
}
.rueckseite-spalte { display: flex; flex-direction: column; gap: 22px; }
.rueckseite-label { font-size: 13px; letter-spacing: 0.2em; color: var(--grau-text); }
.adresse { border-bottom: 2px solid var(--koralle); padding-bottom: 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.2; text-decoration: none; display: block; color: #33363A; }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 0; }
.feld { border-bottom: 1px solid var(--linie); padding-bottom: 10px; }
.feld dt { font-size: 13px; color: var(--grau-text); margin-bottom: 2px; }
.feld dd { margin: 0; font-weight: 500; }
.zeiten { margin: 0; display: grid; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.zeiten dt { color: #45484C; }
.zeiten dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.zeiten .zu dd { font-weight: 400; color: var(--grau-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 2px solid var(--schrift);
  background: var(--schrift); color: var(--grund);
  font: 500 15px/1 var(--font-text);
  text-decoration: none;
  align-self: flex-start;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--koralle); border-color: var(--koralle); color: var(--schrift); }

/* ---------- Fuß ---------- */
.streifen { display: flex; height: 10px; }
.streifen span:nth-child(1) { flex-grow: 3; background: #E8DFD0; }
.streifen span:nth-child(2) { flex-grow: 2; background: #7E98A6; }
.streifen span:nth-child(3) { flex-grow: 1; background: var(--koralle); }
.fuss { margin-top: 56px; background: #2F3E46; color: #E8DFD0; }
.fuss a { color: #E8DFD0; }
.fuss a:hover { color: var(--koralle); }
.fuss-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; padding-block: 34px; font-size: 14px; }
.fuss-marke { display: flex; flex-direction: column; gap: 3px; }
.fuss-marke .gesperrt { font-size: 10px; letter-spacing: 0.32em; }
.fuss-marke .signature { font-size: 22px; }
.fuss-links { display: flex; gap: 22px; }
.fuss-hinweis { width: 100%; margin: 0; font-size: 13px; opacity: .75; }

/* ---------- Rechtsseiten ---------- */
.text-seite { background: var(--karte-hell); border-radius: 22px; box-shadow: 0 14px 32px rgba(40, 40, 40, 0.1); padding: clamp(26px, 5vw, 56px); max-width: 820px; }
.text-seite h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.text-seite h2 { margin: 32px 0 8px; font-size: 20px; font-weight: 600; }
.text-seite p, .text-seite li { color: #45484C; }
.text-seite dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.text-seite dt { color: var(--grau-text); }
.text-seite dd { margin: 0; }
.offen { background: #FCE4DD; border-radius: 4px; padding: 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .angebot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gutschein-block { grid-template-columns: 1fr; }
  .rueckseite { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-zeiten { flex-direction: column; gap: 4px; }
  .hero-zeiten span + span::before { content: none; }
  .hero-karte-wrap { width: 88%; justify-self: center; margin-top: 8px; }
  .felder { grid-template-columns: 1fr; }
  .angebot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mini, .hero-karte { transition: none; }
}
