/*
Theme Name: Wien Weekly Landing
Theme URI: https://wienweekly.com
Author: Dominik
Description: Schlanke One-Page-Landingpage für den Wien Weekly Newsletter. Keine Abhängigkeiten, keine externen Schriften.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wienweekly
*/

:root {
  --green: #1d3b2c;
  --green-dark: #132a1f;
  --gold: #c9a24b;
  --gold-soft: #e3cf9d;
  --ivory: #f5efdf;
  --ivory-dark: #ebe3cd;
  --ink: #1b2a21;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--green); color: var(--ivory); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(201,162,75,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--gold-soft); }
.nav .nav-cta { background: var(--gold); color: var(--green-dark); padding: 9px 18px; border-radius: 999px; font-weight: 500; opacity: 1; }
.nav .nav-cta:hover { background: var(--gold-soft); color: var(--green-dark); }
.nav-toggle, .nav-burger { display: none; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 500; font-size: 1.05rem; padding: 15px 30px; border-radius: 999px; border: 2px solid var(--gold); transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost { color: var(--ivory); background: transparent; }
.btn-ghost:hover { background: rgba(201,162,75,.15); }
.btn-green { background: var(--green); color: var(--ivory); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); }

/* Hero */
.hero { position: relative; background: var(--green); color: var(--ivory); overflow: hidden; padding: 96px 0 104px; text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; border: 1.5px solid rgba(201,162,75,.28); border-radius: 50%; pointer-events: none; }
.hero::before { width: 620px; height: 620px; left: -220px; top: -240px; box-shadow: 0 0 0 38px rgba(201,162,75,.06), 0 0 0 76px rgba(201,162,75,.04); }
.hero::after { width: 480px; height: 480px; right: -160px; bottom: -220px; box-shadow: 0 0 0 30px rgba(201,162,75,.06); }
.hero .wrap { position: relative; z-index: 1; max-width: 800px; }
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p.lead { font-size: 1.22rem; max-width: 600px; margin: 0 auto 36px; color: #e6dfca; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .note { margin-top: 22px; font-size: .9rem; color: var(--gold-soft); opacity: .85; }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.section-head .eyebrow { color: #8a6a1f; margin-bottom: 14px; }
.on-green .section-head .eyebrow { color: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fbf7ec; border: 1px solid var(--ivory-dark); border-top: 4px solid var(--gold); border-radius: 6px; padding: 32px 28px; }
.card h3 { font-size: 1.4rem; }
.card p { margin: 0; color: #3b4a40; }
.card .num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }

.on-green { background: var(--green); color: var(--ivory); }
.on-dark { background: var(--green-dark); color: var(--ivory); }
.on-ivory-dark { background: var(--ivory-dark); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding: 8px 0 8px 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); }
.panel { border: 1.5px solid var(--gold); border-radius: 6px; padding: 40px 34px; text-align: center; background: rgba(255,255,255,.04); }
.panel .big { font-family: var(--serif); font-size: 1.7rem; color: var(--gold); display: block; margin-bottom: 10px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two .card { text-align: left; }
.two .card .btn { margin-top: 22px; }
.card p + .btn { margin-top: 22px; }

.final { text-align: center; padding: 96px 0; }
.final h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.final p { max-width: 520px; margin: 0 auto 32px; color: #e6dfca; }

/* Footer */
.site-footer { background: var(--green-dark); color: #cfc7ae; padding: 40px 0; font-size: .92rem; border-top: 1px solid rgba(201,162,75,.3); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Normale WordPress-Seiten (Impressum, Datenschutz) */
.page-body { padding: 72px 0 96px; }
.page-body .wrap { max-width: 760px; }
.page-body h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.page-body a { color: #8a6a1f; }

/* Mobil */
@media (max-width: 860px) {
  .cards, .two, .split { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 80px; }
  .nav-burger { display: block; cursor: pointer; width: 28px; height: 20px; position: relative; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 28px; height: 2px; background: var(--ivory); transition: .2s; }
  .nav-burger span { top: 9px; }
  .nav-burger span::before { top: -8px; }
  .nav-burger span::after { top: 8px; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--green); flex-direction: column; align-items: flex-start; gap: 0; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .25s ease; border-bottom: 1px solid rgba(201,162,75,.35); }
  .nav a { padding: 14px 0; width: 100%; }
  .nav .nav-cta { margin: 6px 0 20px; width: auto; }
  .nav-toggle:checked ~ .nav { max-height: 420px; }
  .nav-toggle { display: block; position: absolute; opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav { transition: none; }
}
