/* ==========================================================================
   OW Publishing — style.css
   Elegant, ruhig, selbstbewusst. Viel Whitespace. Sparsame Gold-Akzente.
   ========================================================================== */

:root {
  /* Hintergründe */
  --bg-primary: #e6e6e5;
  --bg-secondary: #f5f5f0;
  --bg-dark: #1a3838;
  --bg-dark-deep: #142b2b;
  --bg-card: #ffffff;

  /* Text */
  --text-primary: #2d2d2d;
  --text-secondary: #5a5a5a;
  --text-muted: #8a8a8a;
  --text-heading: #1a1a1a;
  --text-on-dark: #e8dcc4;
  --text-on-dark-soft: #c7bda8;

  /* Akzent */
  --accent-gold: #c9a961;
  --accent-gold-light: #d4b57a;
  --accent-gold-dark: #b89550;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 40px -12px rgba(26, 56, 56, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(26, 56, 56, 0.18);

  /* Typo */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

a:hover {
  color: var(--accent-gold);
}

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

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.container.narrow {
  max-width: var(--maxw-narrow);
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-light {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.section-grey {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(201, 169, 97, 0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(201, 169, 97, 0.05), transparent 60%);
  pointer-events: none;
}

.section-head {
  margin-bottom: 80px;
  max-width: 720px;
}

/* ---------- Typography ---------- */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin: 0 0 24px 0;
  position: relative;
  padding-left: 52px;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--accent-gold);
}

.eyebrow-on-dark {
  color: var(--accent-gold-light);
}

.eyebrow-on-dark::before {
  background: var(--accent-gold-light);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  margin: 0 0 32px 0;
}

.section-title-on-dark {
  color: var(--text-on-dark);
}

.section-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

.prose p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0 0 24px 0;
}

.prose a {
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 1px;
}

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

.pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  color: var(--text-heading);
  border-left: 2px solid var(--accent-gold);
  padding: 8px 0 8px 28px;
  margin: 48px 0 0 0;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  background: transparent;
  transition:
    background 250ms var(--ease),
    box-shadow 250ms var(--ease),
    padding 250ms var(--ease);
}

.nav.is-scrolled {
  background: rgba(245, 245, 240, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

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

.nav-brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  transition: color 250ms var(--ease);
}

.nav.is-scrolled .nav-brand {
  color: var(--text-heading);
}

.nav-brand-dot {
  color: var(--accent-gold);
  margin: 0 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  transition: color 200ms var(--ease);
}

.nav.is-scrolled .nav-links a {
  color: var(--text-secondary);
}

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

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 80% 20%, rgba(201, 169, 97, 0.10), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(232, 220, 196, 0.04), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent-gold));
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 160px 32px 140px;
  text-align: left;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin: 0 0 40px 0;
  padding-left: 52px;
  position: relative;
}

.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--accent-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0 0 36px 0;
}

.hero-subline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: var(--text-on-dark-soft);
  margin: 0 0 56px 0;
  max-width: 640px;
}

.hero-lead {
  max-width: 560px;
}

.hero-lead p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin: 0;
}

.hero-scroll {
  position: absolute;
  left: 32px;
  bottom: 40px;
  width: 24px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent-gold-light));
  animation: scrollPulse 2.6s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 0.9; }
  100% { transform: scaleY(0.4); transform-origin: bottom; opacity: 0.3; }
}

/* ---------- Über ---------- */

.prose .pullquote {
  text-align: left;
}

/* ---------- Cards / Leistungen ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--bg-card);
  padding: 44px 36px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition:
    transform 350ms var(--ease),
    box-shadow 350ms var(--ease),
    border-color 350ms var(--ease);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 44px;
  width: 3px;
  height: 0;
  background: var(--accent-gold);
  transition: height 350ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 169, 97, 0.2);
}

.card:hover::before {
  height: 32px;
}

.card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.card-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-heading);
  margin: 0 0 20px 0;
  letter-spacing: -0.005em;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 1px;
  background: var(--accent-gold);
}

.card-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.card-quiet {
  background: transparent;
  border: 1px dashed rgba(45, 45, 45, 0.18);
  box-shadow: none;
}

.card-quiet:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.4);
}

/* ---------- Olive Wilson (dark) ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  margin-top: 40px;
}

.btn-ghost,
.btn-primary,
.btn-link-dark {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 220ms var(--ease);
}

.btn-ghost {
  padding: 16px 28px;
  border: 1px solid var(--accent-gold);
  color: var(--text-on-dark);
  background: transparent;
  border-radius: var(--radius);
}

.btn-ghost:hover {
  background: var(--accent-gold);
  color: var(--bg-dark-deep);
}

.btn-link-dark {
  color: var(--text-on-dark-soft);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 15px;
}

.btn-link-dark:hover {
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
}

/* ---------- Kontakt ---------- */

.contact {
  margin-top: 72px;
  display: grid;
  gap: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  padding: 14px 0 14px 0;
  border: none;
  border-bottom: 1px solid rgba(45, 45, 45, 0.2);
  background: transparent;
  color: var(--text-primary);
  width: 100%;
  resize: vertical;
  transition: border-color 220ms var(--ease);
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
}

.btn-primary {
  padding: 18px 36px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border: 1px solid var(--bg-dark);
  border-radius: var(--radius);
}

.btn-primary:hover {
  background: transparent;
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.form-hint {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.form-hint a {
  color: var(--text-primary);
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 1px;
}

.form-status {
  font-size: 15px;
  margin: 4px 0 0 0;
  min-height: 22px;
  color: var(--text-secondary);
}

.form-status.is-ok { color: #3d6b4a; }
.form-status.is-err { color: #8a3a3a; }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-soft);
  padding: 96px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--text-on-dark);
  margin: 0 0 12px 0;
}

.footer-tag {
  margin: 0;
  color: var(--text-on-dark-soft);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
}

.footer-heading {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin: 0 0 18px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-on-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.footer-col a:hover {
  color: var(--accent-gold-light);
  border-bottom-color: var(--accent-gold-light);
}

.footer-base {
  margin-top: 72px;
  padding: 28px 32px;
  border-top: 1px solid rgba(232, 220, 196, 0.12);
  text-align: center;
  color: var(--text-on-dark-soft);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.footer-base p {
  margin: 0;
}

/* ---------- Legal pages ---------- */

.prose.legal h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  color: var(--text-heading);
  margin: 48px 0 16px 0;
  letter-spacing: -0.005em;
}

.prose.legal h2:first-of-type {
  margin-top: 16px;
}

.prose.legal p,
.prose.legal li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
}

.prose.legal ul {
  padding-left: 20px;
  margin: 0 0 24px 0;
}

.prose.legal li {
  margin-bottom: 6px;
}

.legal-note {
  margin-top: 56px;
  padding: 20px 24px;
  background: rgba(201, 169, 97, 0.08);
  border-left: 2px solid var(--accent-gold);
  font-size: 15px !important;
  color: var(--text-secondary);
}

/* ---------- Reveal Animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-scroll-line {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Breakpoints ---------- */

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .container {
    padding: 0 48px;
  }
  .nav-inner {
    padding: 0 48px;
  }
  .hero-inner {
    padding: 180px 48px 160px;
  }
  .hero-scroll {
    left: 48px;
  }
}

@media (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .section {
    padding: 160px 0;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .section {
    padding: 88px 0;
  }
  .section-head {
    margin-bottom: 56px;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 140px 24px 100px;
  }
  .hero-scroll {
    display: none;
  }
  .container {
    padding: 0 24px;
  }
  .nav-inner {
    padding: 0 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
  .pullquote {
    padding-left: 20px;
    margin-top: 36px;
  }
  body {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
