/* =============================================================================
   Dance Tutorial Germany – gemeinsames Stylesheet (alle Seiten)
   Luxus-Look, minimal, editorial: fast Schwarz, Elfenbein, Champagner-Gold nur
   für feine Linien, Hover und kleine Details.

   - Schrift lokal und selbst gehostet: Cormorant Garamond (SIL Open Font License
     1.1, Lizenztext: fonts/OFL.txt) als WOFF2, aus den variablen Originalen von
     github.com/google/fonts (ofl/cormorantgaramond) in feste Schnitte zerlegt und
     auf den Latin-Bereich zugeschnitten. Keine Webfont-Dienste, keine Importe,
     keine externen Adressen, kein JavaScript.
   - Fließtext: System-Sans in Gewicht 300.
   - Mobile-first: Basis = Smartphone, Erweiterungen per min-width.
   - Kontrast (WCAG AA, berechnet, jeweils auf #0a0a0a):
       Text Elfenbein  #f3efe7  17,3 : 1
       Text weich      #d5d0c6  12,9 : 1   (Fließtext)
       Gedämpft        #a39e94   7,4 : 1   (Fußzeile, Stand)
       Gold            #c8a96a   8,8 : 1   (Links, Akzent)
       Gold hell       #dcc592  11,7 : 1   (Hover)
   ============================================================================= */

/* ---------- Schriften (lokal, Latin-Subset) ---------- */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Light.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/CormorantGaramond-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/CormorantGaramond-LightItalic.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --text: #f3efe7;
  --text-soft: #d5d0c6;
  --muted: #a39e94;
  --gold: #c8a96a;
  --gold-bright: #dcc592;
  --gold-line: rgba(200, 169, 106, 0.65);
  --gold-fill: rgba(200, 169, 106, 0.12);
  --line: rgba(243, 239, 231, 0.14);
  --serif: "Cormorant Garamond", "Didot", "Bodoni 72", Georgia, serif;
  --sans: -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  /* sehr dezent: warmer Lichtschein oben, Vignette zu den Rändern */
  background-image:
    radial-gradient(58rem 26rem at 50% -3rem, rgba(243, 239, 231, 0.045), rgba(243, 239, 231, 0) 70%),
    radial-gradient(ellipse at 50% 38%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.3) 100%);
  background-repeat: no-repeat;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

main {
  flex: 1 0 auto;
}

/* Gemeinsamer Inhaltsrahmen: 24 px Rand auf dem Handy, höchstens 720 px Inhaltsbreite */
.wrap {
  width: min(100% - 3rem, 45rem);
  margin: 0 auto;
}

::selection {
  background: rgba(200, 169, 106, 0.32);
  color: var(--text);
}

/* ---------- Überschriften & Links ---------- */

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.15;
  -webkit-hyphens: auto;
  hyphens: auto;
}

a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 0.35s ease, text-decoration-color 0.35s ease;
}

a:hover {
  color: var(--gold-bright);
  text-decoration-color: var(--gold-bright);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Kopfzeile / Wortmarke ---------- */

.site-header {
  padding: clamp(2rem, 5vw, 3rem) 0 0;
  text-align: center;
}

.wordmark {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.25rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.wordmark-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.42em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.35s ease;
}

.wordmark:hover .wordmark-sub {
  color: var(--gold-bright);
}

/* zwei feine 1-px-Linien in Champagner links und rechts von „GERMANY“ */
.wordmark-sub::before,
.wordmark-sub::after {
  content: "";
  width: clamp(1.75rem, 8vw, 3rem);
  height: 1px;
  background: var(--gold-line);
}

/* der Buchstabenabstand hängt auch hinter dem letzten Zeichen: rechte Linie ausgleichen */
.wordmark-sub::after {
  margin-left: -0.42em;
}

/* ---------- Startseite ---------- */

.hero {
  padding: clamp(3rem, 9vh, 6rem) 0 clamp(3rem, 8vh, 4.75rem);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 1.2rem + 4.2vw, 3.75rem);
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.hero h1 .dot {
  color: var(--gold);
}

/* letztes Wort der Zeile in Kursiv (Light Italic), greift die Wortmarke auf */
.hero h1 .alt {
  font-style: italic;
}

.lead {
  max-width: 30rem;
  margin: clamp(1.5rem, 3.5vw, 2rem) auto 0;
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  line-height: 1.8;
  text-wrap: balance;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}

/* Outline-Buttons: 1 px, eckig, Versalien mit weiter Laufweite */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 3.25rem;
  /* links um den Buchstabenabstand erweitert, damit der Text optisch mittig sitzt */
  padding: 0.9rem 2rem 0.9rem calc(2rem + 0.3em);
  border: 1px solid var(--gold-line);
  border-radius: 1px;
  background-color: transparent;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.btn:hover {
  border-color: var(--gold);
  background-color: var(--gold-fill);
  color: var(--text);
}

.contact {
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 4.5rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
}

.contact p {
  margin: 0;
  color: var(--text-soft);
}

.mail {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.35rem 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.mail:hover {
  color: var(--gold-bright);
}

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.prose {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 9vw, 6rem);
}

.prose h1 {
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
  font-size: clamp(1.875rem, 1.25rem + 3.4vw, 3.25rem);
  text-align: center;
}

/* kurze Champagner-Linie unter der Seitenüberschrift */
.prose h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.5rem auto 0;
  background: var(--gold-line);
}

.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-wrap: balance;
  /* Paragrafen und Absatznummern („§ 18 Abs. 1“) in Versalziffern: die Mediävalziffer „1“ liest sich sonst wie ein kleines „I“ */
  font-variant-numeric: lining-nums;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
}

/* hervorgehobener, abgesetzter Hinweis (Widerspruchsrecht, Art. 21 DSGVO):
   feine Champagner-Linie und dezente Fläche, Text in Elfenbein */
.prose .hinweis {
  margin: 2.75rem 0 0;
  padding: 1.5rem 1.5rem 0.5rem;
  border: 1px solid var(--gold-line);
  border-radius: 1px;
  background-color: var(--gold-fill);
}

.prose .hinweis h2 {
  margin-top: 0;
}

.prose .hinweis p {
  color: var(--text);
}

.prose .hinweis strong {
  font-weight: 500;
}

.prose .stand {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ---------- Fußzeile ---------- */

.site-footer .wrap {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 0.8rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1.9;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-block;
  padding: 0.4rem 0;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
}

.nowrap {
  white-space: nowrap;
}

/* ---------- Schmale Schirme: Buttons untereinander ---------- */

@media (max-width: 30rem) {
  .actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: min(100%, 18rem);
  }
}

/* sobald die Fußzeile umbrechen müsste: Trennpunkte weg, damit kein Punkt am Zeilenende hängt */
@media (max-width: 33rem) {
  .site-footer p {
    column-gap: 1.75rem;
  }

  .site-footer .sep {
    display: none;
  }
}

/* ---------- Höherer Kontrast gewünscht ---------- */

@media (prefers-contrast: more) {
  :root {
    --line: rgba(243, 239, 231, 0.4);
    --gold-line: #c8a96a;
    --muted: #c4bfb5;
  }
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  a,
  .btn,
  .wordmark-sub {
    transition: none;
  }
}
