/* ═══════════════════════════════════════════════════════════════
   Bayern Resort — Sitemanual
   styles.css · Version 1.0 · Juni 2026 · perchtold.studio
═══════════════════════════════════════════════════════════════ */

@import url("https://use.typekit.net/zoe1wsv.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&display=swap");

/* Serenity Medium & DemiBold — lokal, da nicht im Typekit-Kit (zoe1wsv hat nur Light 300 + Bold 700) */
@font-face {
  font-family: serenity;
  src: url('./Signatur/Serenity-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: serenity;
  src: url('./Signatur/Serenity-DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Markenfarben */
  --tannengruen:    #083935;
  --pink:           #E53F8B;
  --lindgruen:      #C5C201;
  --orange:         #E0531A;
  --navy:           #002245;
  --sand:           #D8C6A8;

  /* UI-Flächen */
  --bg:             #083935;
  --bg-deep:        #052824;
  --card:           #0C4A45;
  --card-hover:     #0e5249;
  --card-light:     #F6F4F0;
  --text:           #FFFFFF;
  --text-muted:     #C2D4D0;
  --text-on-light:  #083935;
  --line:           rgba(255, 255, 255, .12);

  /* Typografie */
  --font-display:   serenity, 'Inter', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --radius:         10px;
  --radius-sm:      6px;
  --maxw:           1140px;
  --space:          clamp(72px, 10vw, 128px);
  --pad-x:          clamp(20px, 5vw, 48px);
  --nav-h:          64px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* ── Navigation ──────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5, 40, 36, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 200;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 6px 13px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--pink);
}

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--space) 0;
}


/* ── Section Decorator: Drei Rauten ──────────────────────────── */
.section-deco {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
}

.section-deco-img {
  height: 18px;
  width: auto;
  display: block;
}

/* ── Eyebrow + Headlines ─────────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 28px;
}

.lead-text {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--text);
  line-height: 1.65;
  max-width: 64ch;
  margin-bottom: 12px;
}

.body-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 66ch;
}

/* ── Hero (section #marke) ───────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 0;
  text-align: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 52px;
}

.hero-logo {
  width: 100%;
  max-width: 520px;
  filter: brightness(0) invert(1);
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.card-light {
  background: var(--card-light);
  border-radius: var(--radius);
  padding: 28px 32px;
  color: var(--text-on-light);
}

.info-box {
  background: var(--card);
  border-left: 4px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 24px;
  margin-top: 36px;
}

.info-box p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-box a {
  color: var(--pink);
  text-decoration: none;
}
.info-box a:hover { text-decoration: underline; }

/* ── Logo Cards ──────────────────────────────────────────────── */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.logo-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  background: var(--card-light);
  height: 250px;
  /* Frame so the preview keeps a clear edge even when its background matches
     the page (e.g. the Tannengrün pink-version on the Tannengrün page bg). */
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .35s ease;
}

.logo-preview.bg-dark {
  background: #052824;
}

.logo-preview.bg-tannen {
  background: var(--tannengruen);
}

/* Logos are inlined SVGs tinted via currentColor — no fetch, no mask, no
   external resource, so it works identically over file:// and http(s).
   JS sets the colour on each .logo-img; the fill rule below pulls it in. */
.logo-img {
  display: block;
  max-width: 100%;
  max-height: 175px;
  color: var(--pink);
  transition: color .25s ease;
}
.logo-svg path,
.logo-svg polygon,
.logo-svg circle,
.logo-svg rect {
  fill: currentColor !important;
}

.logo-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-variant-label {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px;
}

.logo-variant-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.logo-variant-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.swatch-label {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-right: 4px;
}

.swatch-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid #AFC6C1;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: transform .15s, border-color .15s;
}

.swatch-btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: border-color .2s;
}

.swatch-btn:hover { transform: scale(1.12); }
.swatch-btn.active::after { border-color: var(--pink); }
.swatch-btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.swatch-btn[data-color="tannengruen"] { background: var(--tannengruen); }
.swatch-btn[data-color="pink"]        { background: var(--pink); }
.swatch-btn[data-color="weiss"]       { background: #FFFFFF; }
.swatch-btn[data-color="schwarz"]     { background: #231f20; }

.download-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: .02em;
}

.btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  border-color: var(--pink);
  color: var(--pink);
}
.btn-outline:hover {
  background: var(--pink);
  color: #fff;
}

.btn-solid {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}
.btn-solid:hover { background: #c72f78; border-color: #c72f78; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text-muted);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.35);
  color: var(--text);
}

.btn-todo {
  background: transparent;
  border-color: var(--line);
  color: var(--text-muted);
  opacity: .5;
  cursor: default;
  pointer-events: none;
}

.btn .btn-meta {
  font-size: 12px;
  opacity: .85;
  font-weight: 400;
}

.btn-large {
  padding: 13px 28px;
  font-size: 15px;
}

/* ── Logo Rules Do/Don't ─────────────────────────────────────── */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.rules-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.rules-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.rules-title .rules-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.rules-do .rules-title { color: var(--pink); }
.rules-do .rules-icon  { background: rgba(229,63,139,.15); color: var(--pink); }
.rules-dont .rules-title { color: var(--text); }
.rules-dont .rules-icon  { background: rgba(224,83,26,.18); color: #F2935F; }

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rules-list li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.rules-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.rules-do .rules-list li::before   { content: '✓'; color: var(--pink); }
.rules-dont .rules-list li::before { content: '✕'; color: var(--orange); }

/* ── Farben Section ──────────────────────────────────────────── */
.colors-intro-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.colors-primary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.color-tile {
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .15s;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 170px;
}

.color-tile:hover { transform: translateY(-3px); }
.color-tile:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.color-tile-primary {
  min-height: 190px;
}

.color-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.color-tile-primary .color-name { font-size: 19px; }

.color-hex {
  font-size: 12.5px;
  opacity: .88;
  margin-top: 6px;
  line-height: 1.55;
}

.color-hex::before {
  content: "HEX ";
}

.color-values {
  font-size: 12.5px;
  opacity: .88;
  margin-top: 2px;
  line-height: 1.55;
}

.copy-feedback {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 4px 9px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}

.color-tile.copied .copy-feedback {
  opacity: 1;
}

.color-tile-tannengruen { background: var(--tannengruen); color: #fff; border: 1px solid rgba(255,255,255,.12); }
.color-tile-pink        { background: var(--pink);        color: #fff; }

.color-rule {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--pink);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 8px;
}

.colors-subsection-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.colors-shades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.color-tile-shade          { min-height: 150px; }
.color-tile-shade-deep     { background: #052824; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.color-tile-shade-gruen    { background: #083935; color: #fff; border: 1px solid rgba(255,255,255,.12); }
.color-tile-shade-karte    { background: #0C4A45; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.color-tile-shade-muted    { background: #AFC6C1; color: var(--text-on-light); }
.color-tile-shade-hell     { background: #F6F4F0; color: var(--text-on-light); }
.color-tile-shade-weiss    { background: #FFFFFF; color: var(--text-on-light); border: 1px solid rgba(0,0,0,.1); }

/* ── Schrift Section ─────────────────────────────────────────── */
.type-samples {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.type-sample-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.type-sample-text {
  font-family: serenity, sans-serif;
  color: var(--text);
  line-height: 1.1;
  display: block;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.type-light-sample  { font-weight: 300; font-size: 48pt; font-synthesis: none; }
.type-medium-sample { font-weight: 500; font-size: 48pt; font-synthesis: none; }
.type-bold-sample   { font-weight: 700; font-size: 48pt; font-synthesis: none; }

.type-alphabet {
  font-family: serenity, sans-serif;
  font-size: 16pt;
  color: var(--text-muted);
  letter-spacing: .06em;
  display: block;
  margin-top: 6px;
  opacity: .95;
}

.type-sample-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 6px;
}

.type-sample-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
}

.type-sample-usage {
  font-size: 14px;
  color: var(--text-muted);
}

.fallback-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fallback-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.license-card {
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 4px solid var(--pink);
  padding: 28px 32px;
  margin-top: 32px;
}

.license-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: .05em;
}

.license-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.license-path-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  display: block;
  margin-bottom: 8px;
}

.license-path p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.license-path a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.license-path a:hover { color: var(--pink); border-color: var(--pink); }

.license-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Rauten-Motiv Section ────────────────────────────────────── */
.raute-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.raute-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.raute-preview {
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 160px;
}

.raute-preview img {
  max-height: 80px;
  max-width: 80%;
  width: auto;
}

.raute-card-body {
  padding: 20px 24px 24px;
}

.raute-card-title {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 4px;
}

.raute-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.raute-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.raute-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.raute-color-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.raute-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.raute-usage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  margin-bottom: 8px;
}

.raute-usage-list li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.raute-usage-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 11px;
}

/* ── Signatur Section ────────────────────────────────────────── */
.signatur-preview-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 36px;
}

.preview-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  opacity: .9;
}

.iframe-shell {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 580px;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}

.iframe-shell iframe {
  width: 580px;
  max-width: 100%;
  border: none;
  display: block;
  height: 600px;
}

.signatur-instructions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.instr-heading {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.instr-accordion {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.instr-accordion summary {
  padding: 17px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  user-select: none;
}

.instr-accordion summary::-webkit-details-marker { display: none; }

.instr-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  transition: transform .2s;
}

.instr-accordion[open] .instr-summary-dot {
  transform: scale(1.4);
}

.instr-summary-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.instr-body {
  padding: 0 24px 22px 44px;
}

.instr-body ol {
  counter-reset: steps;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.instr-body ol li {
  counter-increment: steps;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.instr-body ol li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instr-body ol li code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-deep);
  padding: 2px 6px;
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: 500;
}

.signatur-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(229,63,139,.08);
  border: 1px solid rgba(229,63,139,.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.signatur-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 56px 0 48px;
  margin-top: var(--space);
}

.footer-schriftzug {
  display: block;
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .6;
  margin-bottom: 32px;
}

.footer-rule {
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-address-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  opacity: .85;
}

.footer-address-loc {
  font-size: 13px;
  color: var(--text-muted);
  opacity: .85;
}

.footer-credit {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.footer-version {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  opacity: .7;
}

.footer-studio {
  font-size: 13px;
  color: var(--pink);
  text-decoration: none;
  opacity: .85;
}
.footer-studio:hover { opacity: 1; text-decoration: underline; }

.footer-contact {
  font-size: 13px;
  color: var(--text-muted);
  opacity: .85;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--pink); }

.footer-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  opacity: .6;
  text-align: center;
  line-height: 1.55;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* ── Fade-in Animation ───────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s ease, transform .45s ease;
  }
  .fade-up.is-visible {
    opacity: 1;
    transform: none;
  }
  .fade-up:nth-child(2) { transition-delay: .07s; }
  .fade-up:nth-child(3) { transition-delay: .14s; }
  .fade-up:nth-child(4) { transition-delay: .21s; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .colors-shades-grid { grid-template-columns: repeat(2, 1fr); }
  .license-paths { grid-template-columns: 1fr; gap: 20px; }
  .raute-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .logo-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
  .footer-disclaimer { text-align: left; max-width: none; }
  .iframe-shell iframe { height: 380px; }
}

@media (max-width: 500px) {
  .colors-primary-grid { grid-template-columns: 1fr 1fr; }
  .type-light-sample, .type-medium-sample, .type-bold-sample { font-size: clamp(28px, 9vw, 46px); }
}
