/* ==========================================================================
   luxusferien.de – Übergangsseite
   Reines CSS ohne Build-Schritt.
   Aufbau: Schriften · Tokens · Basis · Seitenraster · Kopf · Einstieg ·
           Bildspalte · Fuß · Rechtsseiten · Bewegung
   ========================================================================== */

/* Schriften ---------------------------------------------------------------
   Selbst gehostet (SIL OFL, siehe assets/fonts), keine Anfrage an Dritte. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

/* Ersatzschriften mit angeglichener Laufweite: Bis die Webfonts geladen
   sind, bricht der Text an denselben Stellen um – nichts springt. */

@font-face {
  font-family: "Cormorant Fallback";
  font-style: normal;
  src: local("Georgia");
  size-adjust: 87.7%;
}

@font-face {
  font-family: "Cormorant Fallback";
  font-style: italic;
  src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 78.5%;
}

@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  size-adjust: 99.4%;
}

/* Tokens ------------------------------------------------------------------ */

:root {
  --ivory: #fbf8f3;
  --sand: #f1e9dc;
  --ink: #1c1915;
  --ink-soft: #5a5249;
  --gold: #c2992f;
  --gold-light: #ecd27c;
  --bronze: #7d5f16;
  --line: rgb(28 25 21 / 0.14);

  --font-serif: "Cormorant Garamond", "Cormorant Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", "Figtree Fallback", system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 80rem;
  /* Außenabstand: Inhalt bleibt auf großen Bildschirmen in einer Spur von --max */
  --edge: max(var(--gutter), (100vw - var(--max)) / 2);
}

/* Basis ------------------------------------------------------------------- */

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

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-110%);
}

.skip-link:focus {
  transform: translateY(1rem);
}

/* Seitenraster ------------------------------------------------------------
   Mobil eine Spalte (Kopf, Bild, Text, Fuß). Ab 60em steht die Startseite
   zweispaltig: links der Inhalt, rechts die Bildspalte über volle Höhe. */

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "header"
    "visual"
    "main"
    "footer";
  min-height: 100vh;
  min-height: 100svh;
}

.page--plain {
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "main"
    "footer";
}

.site-header {
  grid-area: header;
}

.visual {
  grid-area: visual;
}

.page > main {
  grid-area: main;
}

.site-footer {
  grid-area: footer;
}

.site-header,
.page > main,
.site-footer {
  padding-inline: var(--edge);
}

@media (min-width: 60em) {
  .page--home {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "header visual"
      "main visual"
      "footer visual";
  }

  .page--home .site-header,
  .page--home > main,
  .page--home .site-footer {
    padding-inline: var(--edge) var(--gutter);
  }
}

/* Kopf -------------------------------------------------------------------- */

.site-header {
  padding-block: clamp(0.875rem, 2.2vw, 1.75rem);
}

.brand {
  display: block;
  width: clamp(6.25rem, 9.5vw, 8.5rem);
}

.brand img {
  width: 100%;
}

/* Einstieg ---------------------------------------------------------------- */

.intro {
  padding-block: 2rem 2.5rem;
}

.intro__inner {
  max-width: 39rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0 0 1.125rem;
  color: var(--bronze);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}

h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8.6vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 em {
  display: block;
  color: var(--bronze);
}

.lead {
  max-width: 33rem;
  margin: 1.375rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.875rem 1.625rem;
  border-bottom: 3px solid var(--gold);
  background: var(--ink);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  border-color: var(--gold-light);
  background: #000;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 1.25rem clamp(1.5rem, 5vw, 3.5rem);
  margin: clamp(2rem, 5vh, 3.25rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.125rem;
  font-variant-numeric: lining-nums;
  font-weight: 600;
  line-height: 1;
}

.facts span {
  display: block;
  margin-top: 0.375rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 60em) {
  .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 1rem 2.5rem;
  }

  h1 {
    font-size: clamp(2.75rem, 3.9vw, 4.25rem);
  }
}

/* Bildspalte --------------------------------------------------------------
   Ruhige Sandfläche, darauf das Motiv im Rundbogen: heller Rand mit feiner
   Goldlinie wie ein Passepartout, unten mittig ein kleines Siegel. */

.visual {
  background: radial-gradient(120% 85% at 50% 40%, #f8f3ea 0%, var(--sand) 100%);
}

.visual__inner {
  display: grid;
  place-items: center;
  padding: 2rem var(--gutter) 4.25rem;
}

.arch {
  position: relative;
  width: clamp(11.5rem, 52vw, 15.5rem);
  padding: 0.625rem;
  border: 1px solid var(--gold);
  border-radius: 999rem 999rem 0 0;
  background: var(--ivory);
  box-shadow: 0 1.75rem 3rem -1.75rem rgb(28 25 21 / 0.35);
}

.arch__frame {
  overflow: hidden;
  aspect-ratio: 660 / 768;
  border-radius: 999rem 999rem 0 0;
  background: #bcd9e4;
}

.arch__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seal {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: clamp(5.25rem, 22vw, 6.25rem);
  height: auto;
  transform: translate(-50%, 50%);
}

.seal__disc {
  fill: var(--ivory);
  stroke: var(--gold);
}

.seal__ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.5;
}

.seal__text {
  fill: var(--bronze);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-anchor: middle;
  text-transform: uppercase;
}

.seal__star {
  fill: var(--gold);
}

@media (min-width: 60em) {
  /* Der Bogen bleibt in der Bildschirmmitte stehen, auch wenn die linke
     Spalte auf niedrigen Bildschirmen scrollt. */
  .visual__inner {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    padding: 2rem var(--edge) 2rem var(--gutter);
  }

  .arch {
    width: min(100%, 28rem, 50vh);
    width: min(100%, 28rem, 50svh);
    padding: 0.875rem;
  }

  .seal {
    width: 7.5rem;
  }
}

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

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  padding-block: 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

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

.site-footer p {
  margin: 0;
}

/* Rechtsseiten und Fehlerseite ------------------------------------------- */

.prose {
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
}

.prose > * {
  max-width: 44rem;
}

.prose h1 {
  margin-bottom: 2rem;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem);
}

.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-variant-numeric: lining-nums;
  font-weight: 600;
  line-height: 1.2;
}

.prose h3 {
  margin: 1.75rem 0 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.prose p,
.prose ul,
.prose ol,
.prose address {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.375rem;
}

.prose address {
  font-style: normal;
}

.prose a {
  text-decoration-color: var(--gold);
  overflow-wrap: anywhere;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.prose .lead {
  max-width: 36rem;
  margin: 0 0 2rem;
}

.note {
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: var(--sand);
  font-size: 0.9375rem;
}

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

@media (prefers-reduced-motion: no-preference) {
  .arch__frame img {
    animation: drift 30s ease-in-out infinite alternate;
  }
}

@keyframes drift {
  to {
    transform: scale(1.06);
  }
}

@media print {
  .visual,
  .skip-link {
    display: none;
  }
}
