/* schmidpower.de – Design-Tokens (helles "Paper"-Theme, nach Stilvorlage
   vom 2026-09-08: warmes Papier-Weiß, Taupe/Gold-Akzente, Manrope, sehr
   zurückhaltende Formensprache statt Neon-Akzent und Pillen-Buttons). */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&display=swap');

:root {
  --background: #FAF9F7;
  --surface: #F3F1ED;
  --border: #E7E3DD;
  --border-2: #D9D3CA;
  --text-primary: #2B2724;
  --text-secondary: #6B645D;
  --text-mute: #A49C93;
  --accent: #8A7D6C;
  --accent-deep: #6A5F50;
  --gold: #B8974E;
  --radius: 2px;
  --max-w: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --font-display: 'Manrope', sans-serif;
  --font-sans: 'Manrope', sans-serif;
  --font-mono: 'Manrope', sans-serif;
  --font-grotesk: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  /* overflow-x:hidden ohne explizites overflow-y macht overflow-y nach
     CSS-Spezifikation automatisch zu "auto" - body wird dadurch ungewollt
     selbst zum Scroll-Container, was position:sticky auf jedem Nachfahren
     zuverlaessig bricht (Sticky bindet sich an den naechsten tatsaechlich
     scrollenden Vorfahren). overflow-x:clip klemmt horizontalen Ueberlauf
     identisch ab, loest die Zwangsumrechnung von overflow-y aber nicht aus. */
  overflow-x: clip;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.14;
  margin: 0 0 0.5em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.75rem, 5vw + 1.5rem, 5.25rem); font-weight: 300; letter-spacing: -0.032em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 200; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 300; }

p { font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.section-border { border-top: 1px solid var(--border); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

/* Original nutzt keine Glasmorphismus-Unschaerfe, sondern eine schlichte
   Papier-Flaeche mit feiner Trennlinie beim Scrollen. */
.glass {
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Karten: duenne Linie statt Inner-Glow, kein Schatten */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card > img:first-child { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }

/* CTA-Buttons: kantig, mit Rahmen, Invertierung statt Farbflaeche */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: var(--radius);
  padding: 0.9rem 1.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--text-primary);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary { background: transparent; color: var(--text-primary); }
.btn-primary:hover { background: var(--text-primary); color: var(--background); }
.btn-outline { border-color: var(--border-2); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--text-primary); color: var(--text-primary); }

/* Konturschrift fuer grosse Ziffern/Marquee - auf hellem Grund ein feiner
   dunkler Umriss statt heller Umriss */
.text-outline {
  -webkit-text-stroke: 1px rgba(43, 39, 36, 0.22);
  color: transparent;
}

/* Kein Filmkorn-Overlay im neuen Papier-Theme */
.grain::before { content: none; }

.accent-glow { box-shadow: 0 0 60px -16px var(--accent); }

::selection { background: var(--accent); color: #fff; }

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

/* Marquee */
@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee-x 40s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
