/* ============================================================
   reichle-Marketing — One-Pager Styles
   3 Brand-Richtungen via html[data-theme]
   ============================================================ */

/* Schriften lokal gehostet (DSGVO-konform, kein Google-Fonts-CDN) */
@import url('fonts/fonts.css');

/* ---------- Themes ---------- */
:root {
  --font-sans: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
}

/* A — Petrol neu gedacht (Weiterentwicklung der bestehenden Marke) */
html[data-theme="petrol"] {
  --bg: #F5F4EE;
  --ink: #0D211C;
  --muted: #4D615B;
  --primary: #0E6B5C;
  --primary-deep: #0A5447;
  --primary-ink: #F2F4EE;
  --primary-muted: #A8CCC3;
  --accent: #F2C230;
  --accent-ink: #1F1A05;
  --line: #C9CFC6;
  --card: #FFFFFF;
}

/* B — Ink & Lime (mutige Agentur-Richtung) */
html[data-theme="ink"] {
  --bg: #F1F0E9;
  --ink: #181813;
  --muted: #5B5A50;
  --primary: #181813;
  --primary-deep: #0D0D0A;
  --primary-ink: #F1F0E9;
  --primary-muted: #8E8D80;
  --accent: #D9F24E;
  --accent-ink: #1A1D04;
  --line: #CECDC2;
  --card: #FAF9F4;
}

/* C — Warm editorial (Cream, Oliv & Koralle) */
html[data-theme="warm"] {
  --bg: #F7F1E6;
  --ink: #2B221A;
  --muted: #6E6052;
  --primary: #3C4A33;
  --primary-deep: #2E3A27;
  --primary-ink: #F5EFE2;
  --primary-muted: #A9B49B;
  --accent: #E2592F;
  --accent-ink: #FFF3EA;
  --line: #D8CDBB;
  --card: #FFFCF5;
}

/* Serif-Akzent abschaltbar */
html[data-serif="off"] .serif {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 800;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

section { position: relative; }

/* ---------- Kicker / labels ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 48px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .wm-a { font-weight: 400; }
.wordmark .wm-b { font-weight: 800; }
.wordmark .wm-dot { color: var(--accent); -webkit-text-stroke: 1px var(--ink); }
html[data-theme="petrol"] .wordmark .wm-dot { color: var(--primary); -webkit-text-stroke: 0; }
html[data-theme="warm"] .wordmark .wm-dot { color: var(--accent); -webkit-text-stroke: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 -2px var(--ink); }
.btn-solid {
  background: var(--ink);
  color: var(--bg);
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-accent:hover { box-shadow: 0 6px 0 -2px color-mix(in oklab, var(--accent-ink) 60%, transparent); }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 180px 0 0;
  overflow: hidden;
  transition: background 0.4s ease;
}
.hero-inner { padding-bottom: 96px; }
.hero .kicker { color: var(--accent); }
.hero h1 {
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 28px 0 36px;
  max-width: 18ch;
}
.hero h1 .hl {
  color: var(--accent);
}
.hero h1 .serif {
  font-size: 1.04em;
  letter-spacing: 0;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.55;
  max-width: 52ch;
  color: color-mix(in oklab, var(--primary-ink) 80%, var(--primary));
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hero .btn-ghost {
  border-color: color-mix(in oklab, var(--primary-ink) 45%, transparent);
  color: var(--primary-ink);
}
.hero .btn-ghost:hover { box-shadow: 0 6px 0 -2px color-mix(in oklab, var(--primary-ink) 50%, transparent); }

.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 72px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--primary-ink) 62%, var(--primary));
}

/* Marquee */
.marquee {
  border-top: 1.5px solid color-mix(in oklab, var(--primary-ink) 25%, transparent);
  background: var(--primary-deep);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
}
html[data-motion="off"] .marquee-track { animation: none; }
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--primary-ink) 85%, var(--primary));
}
.marquee .star { color: var(--accent); font-size: 18px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 128px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .kicker { color: var(--muted); margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.section-head h2 .serif { color: var(--primary); }
html[data-theme="ink"] .section-head h2 .serif { color: var(--ink); }
.section-head .lede {
  margin-top: 24px;
  font-size: 19px;
  color: var(--muted);
  max-width: 56ch;
}

/* ---------- Ideenschmiede / Statement ---------- */
.statement {
  border-bottom: 1px solid var(--line);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.statement h2 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-weight: 800;
}
.statement h2 .underline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 92%;
}
.statement-body p + p { margin-top: 20px; }
.statement-body .big {
  font-size: 21px;
  line-height: 1.55;
}
.statement-body .rest { color: var(--muted); }

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
}
.service {
  padding: 44px 44px 52px;
  border: 0 solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--card);
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
}
.service:nth-child(1) { border-right-width: 1.5px; border-bottom-width: 1.5px; }
.service:nth-child(2) { border-bottom-width: 1.5px; }
.service:nth-child(3) { border-right-width: 1.5px; }
.service .num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.service h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.service p {
  color: var(--muted);
  font-size: 16px;
}
.service:hover {
  background: var(--ink);
  color: var(--bg);
}
.service:hover .num,
.service:hover p { color: color-mix(in oklab, var(--bg) 70%, var(--ink)); }
.service:hover h3 { color: var(--bg); }
.service .tag-row { margin-top: auto; padding-top: 10px; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.7;
  white-space: nowrap;
}

/* ---------- Apotheke (Flagship) ---------- */
.flagship {
  background: var(--primary);
  color: var(--primary-ink);
  transition: background 0.4s ease;
}
.flagship .kicker { color: var(--accent); }
.flagship-quote {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 22ch;
  margin: 26px 0 40px;
}
.flagship-quote .serif { color: var(--accent); }
.flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.flagship-body p {
  color: color-mix(in oklab, var(--primary-ink) 78%, var(--primary));
  font-size: 17px;
}
.flagship-body p + p { margin-top: 18px; }
.flagship-aside {
  border: 1.5px solid color-mix(in oklab, var(--primary-ink) 30%, transparent);
  border-radius: 20px;
  padding: 36px;
}
.flagship-aside h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}
.flagship-aside p {
  font-size: 15px;
  color: color-mix(in oklab, var(--primary-ink) 72%, var(--primary));
  margin-bottom: 20px;
}
.flagship-aside .tag { opacity: 0.9; }
.flagship-claim {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1.5px solid color-mix(in oklab, var(--primary-ink) 25%, transparent);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.flagship-claim .serif { font-size: 1.05em; }
.flagship-claim strong { font-weight: 800; color: var(--accent); }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 88px;
  align-items: start;
}
.portrait-wrap { position: sticky; top: 120px; }
.portrait-frame {
  position: relative;
}
.portrait-frame image-slot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
}
.portrait-caption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.about-copy .big {
  font-size: 21px;
  line-height: 1.55;
}
.about-copy .rest {
  margin-top: 20px;
  color: var(--muted);
}
.about-traits {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1.5px solid var(--ink);
}
.trait {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.trait .t-num {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--primary);
}
html[data-theme="ink"] .trait .t-num { color: var(--muted); }

.cv-block { margin-top: 56px; }
.cv-block h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cv-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
}
.cv-list { display: flex; flex-direction: column; }
.cv-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.cv-item .cv-year {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
}
html[data-theme="ink"] .cv-item .cv-year { color: var(--ink); }
.cv-item .cv-role { font-weight: 700; }
.cv-item .cv-sub {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: var(--muted);
}
.cv-item.ph .cv-role,
.cv-item.ph .cv-year { opacity: 0.45; }

.hobby-line {
  margin-top: 44px;
  padding: 26px 30px;
  border-radius: 16px;
  background: color-mix(in oklab, var(--accent) 16%, var(--bg));
  font-size: 16.5px;
}
.hobby-line .hobby-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

/* ---------- Kontakt ---------- */
.contact {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 140px 0;
}
.contact .kicker {
  color: var(--accent);
  justify-content: center;
}
.contact h2 {
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 28px auto 22px;
  max-width: 16ch;
}
.contact h2 .serif { color: var(--accent); }
.contact .contact-sub {
  font-size: 18px;
  color: color-mix(in oklab, var(--bg) 70%, var(--ink));
  max-width: 46ch;
  margin: 0 auto 44px;
}
.contact .btn-accent { font-size: 17px; padding: 18px 36px; }
.contact-mail {
  display: block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: color-mix(in oklab, var(--bg) 60%, var(--ink));
  text-decoration: none;
}
.contact-mail:hover { color: var(--bg); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--bg) 55%, var(--ink));
  border-top: 1px solid color-mix(in oklab, var(--bg) 18%, transparent);
  padding: 28px 0;
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bg); }
.footer-links { display: flex; gap: 28px; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="on"] .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  html[data-motion="on"] .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 170px 48px 120px;
}
.legal-main h1 {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 14px;
}
.legal-main .legal-intro {
  color: var(--muted);
  margin-bottom: 48px;
}
.legal-main h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}
.legal-main p { margin: 0 0 14px; }
.legal-main .ph-field {
  font-family: var(--font-mono);
  font-size: 0.95em;
  background: color-mix(in oklab, var(--accent) 18%, var(--bg));
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
.legal-note {
  margin-top: 56px;
  padding: 22px 26px;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .nav { padding: 12px 24px; }
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1.5px solid var(--ink);
    padding: 8px 24px 16px;
    font-size: 18px;
    z-index: 49;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .statement-grid,
  .flagship-grid,
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right-width: 0 !important; border-bottom-width: 1.5px !important; }
  .service:last-child { border-bottom-width: 0 !important; }
  .portrait-wrap { position: static; max-width: 420px; }
  .section { padding: 88px 0; }
  .hero { padding-top: 130px; }
  .legal-main { padding: 140px 24px 90px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 10px 20px; }
  .nav .btn { padding: 10px 18px; font-size: 14px; }
  .nav-links { top: 63px; }
  .hero { padding-top: 110px; }
  .hero-inner { padding-bottom: 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); margin: 22px 0 26px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas { margin-top: 32px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta { flex-direction: column; gap: 10px; margin-top: 48px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .statement h2 { font-size: clamp(34px, 9.5vw, 44px); }
  .statement-body .big,
  .about-copy .big { font-size: 18.5px; }
  .service { padding: 28px 24px 36px; }
  .flagship-quote { font-size: clamp(28px, 8vw, 38px); }
  .flagship-aside { padding: 26px 22px; }
  .flagship-claim { font-size: clamp(23px, 6.5vw, 30px); margin-top: 48px; padding-top: 32px; }
  .about-traits { grid-template-columns: 1fr; }
  .trait { padding: 14px 4px; font-size: 16.5px; }
  .hobby-line { padding: 20px 22px; }
  .contact { padding: 96px 0; }
  .contact h2 { font-size: clamp(34px, 10vw, 44px); }
  .contact .btn-accent { width: 100%; justify-content: center; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
