/* Gärtnerei Hartmann — shared editorial styles */

:root {
  /* Default theme: Cream (warm paper) */
  --cream: #f1ebdd;
  --cream-deep: #e8dfc9;
  --paper: #f7f2e6;
  --ink: #1b1f17;
  --ink-soft: #3a4034;
  --moss: #2e5339;
  --moss-deep: #1d3725;
  --terracotta: #8b3a1e;
  --ochre: #c5a463;
  --rule: #b9ad90;
  --mark-filter: none;
  --serif: "Fraunces", "Hoefler Text", Garamond, serif;
  --sans: "Geist", "Söhne", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

/* Theme: Wiesengrün — pale meadow green */
[data-theme="wiesengruen"] {
  --cream: #e3e8d4;
  --cream-deep: #cfd7bb;
  --paper: #edf0e0;
  --ink: #1a2213;
  --ink-soft: #3a4430;
  --moss: #4e6d3f;
  --moss-deep: #2f4a23;
  --terracotta: #9b3e1f;
  --ochre: #8c7a3b;
  --rule: #a8ad8e;
  --mark-filter: none;
}

/* Theme: Minze — light mint, fresh */
[data-theme="minze"] {
  --cream: #d6e4d1;
  --cream-deep: #bdcfb6;
  --paper: #e2edde;
  --ink: #152317;
  --ink-soft: #384432;
  --moss: #3d6b4a;
  --moss-deep: #254030;
  --terracotta: #a04a2a;
  --ochre: #9e8a3a;
  --rule: #95a48b;
  --mark-filter: none;
}

/* Theme: Salbei — sage green medium */
[data-theme="salbei"] {
  --cream: #8ca289;
  --cream-deep: #748b70;
  --paper: #9aae95;
  --ink: #0f1a0f;
  --ink-soft: #2a3a2c;
  --moss: #f0ecd4;
  --moss-deep: #ffffff;
  --terracotta: #c05e32;
  --ochre: #e4c682;
  --rule: #6a7e68;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Farn — fern green mid */
[data-theme="farn"] {
  --cream: #4a6b3f;
  --cream-deep: #3a5732;
  --paper: #5b7e50;
  --ink: #f0ecd4;
  --ink-soft: #c9cba4;
  --moss: #e8dfc9;
  --moss-deep: #ddd2a8;
  --terracotta: #e8a07a;
  --ochre: #d5b873;
  --rule: #6e8a62;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Moos — deep moss, cream text (flips the palette) */
[data-theme="moos"] {
  --cream: #2e5339;
  --cream-deep: #1d3725;
  --paper: #3a6245;
  --ink: #f1ebdd;
  --ink-soft: #d4cbb4;
  --moss: #e8dfc9;
  --moss-deep: #f1ebdd;
  --terracotta: #e8a07a;
  --ochre: #d4b679;
  --rule: #5a7a61;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Oliv — dark olive-green */
[data-theme="oliv"] {
  --cream: #4d5534;
  --cream-deep: #3a4228;
  --paper: #5b6342;
  --ink: #e9e4c4;
  --ink-soft: #b9b392;
  --moss: #d9cf95;
  --moss-deep: #eee3a8;
  --terracotta: #d68a5a;
  --ochre: #d2b873;
  --rule: #6b7350;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Waldgrün — deep forest */
[data-theme="waldgruen"] {
  --cream: #1a2e1f;
  --cream-deep: #0d1710;
  --paper: #243829;
  --ink: #dde4c4;
  --ink-soft: #a0a886;
  --moss: #9cb682;
  --moss-deep: #c8d4a7;
  --terracotta: #d07a4b;
  --ochre: #c5a463;
  --rule: #2e4034;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Efeu — ivy dark warm green */
[data-theme="efeu"] {
  --cream: #2b4033;
  --cream-deep: #1a2a20;
  --paper: #345040;
  --ink: #e5ddbc;
  --ink-soft: #b8ae8a;
  --moss: #c5a463;
  --moss-deep: #d9c088;
  --terracotta: #e88c5c;
  --ochre: #c5a463;
  --rule: #4c6755;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

/* Theme: Rohpapier — kraft paper */
[data-theme="rohpapier"] {
  --cream: #d6c9a8;
  --cream-deep: #bfb188;
  --paper: #ddd0b2;
  --ink: #1b1f17;
  --ink-soft: #3a4034;
  --moss: #2e5339;
  --moss-deep: #1d3725;
  --terracotta: #8b3a1e;
  --ochre: #8b6f2e;
  --rule: #97895f;
  --mark-filter: none;
}

/* Theme: Mitternacht — near-black with sage accent (dark mode) */
[data-theme="mitternacht"] {
  --cream: #13170f;
  --cream-deep: #0c0f09;
  --paper: #1e241a;
  --ink: #e8dfc9;
  --ink-soft: #a89e84;
  --moss: #b4cfaf;
  --moss-deep: #d4e0d0;
  --terracotta: #d68a60;
  --ochre: #c5a463;
  --rule: #2e3827;
  --mark-filter: invert(96%) sepia(8%) saturate(420%) hue-rotate(10deg);
}

img.mark { filter: var(--mark-filter); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(ellipse at top left, rgba(46,83,57,0.04), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(139,58,30,0.03), transparent 55%);
  min-height: 100vh;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--moss); }

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible, button:focus-visible {
  outline-color: var(--terracotta);
  outline-offset: 4px;
}

img { max-width: 100%; display: block; }

/* reusable utilities */
.drop-serif {
  font-family: var(--serif);
  font-size: 22px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  line-height: 1.4;
  color: var(--ink);
}
.cap-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* photo-slot for <img> elements */
img.photo-slot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--cream-deep);
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────── MASTHEAD ─────────── */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding: 14px 0 10px;
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}

.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 72px;
  row-gap: 8px;
  padding: 4px 0;
}

.masthead-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
}

.masthead-meta .dot { width: 5px; height: 5px; background: var(--moss); border-radius: 50%; }

.masthead-logo {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  white-space: nowrap;
}
.masthead-logo .mark { width: 210px; height: 210px; }
.masthead-logo .wordmark {
  font-family: var(--serif);
  font-size: 26px;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.01em;
  line-height: 1;
}
.masthead-logo .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

.masthead-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.masthead-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.masthead-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--moss);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.masthead-tel:hover { background: var(--terracotta); color: var(--cream); }
.masthead-tel::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ochre);
  box-shadow: 0 0 0 3px rgba(197,164,99,0.25);
}
.masthead-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
}
.masthead-nav a.active { color: var(--moss); }
.masthead-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--moss);
}
.masthead-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--terracotta);
}

.masthead-rule {
  border-top: 1px solid var(--rule);
  margin-top: 10px;
  padding-top: 6px;
}
.masthead-rule .wrap {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.masthead-rule .wetter {
  color: var(--ochre);
  font-weight: 500;
}
.masthead-rule .wetter .pulse {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre);
  vertical-align: 1px;
  margin-right: 6px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ─────────── HERO ─────────── */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-issue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 48px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.hero-issue .line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--rule);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(58px, 11vw, 168px);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 32px;
}
.hero-headline em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--moss);
}

.hero-sub {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 8px 0 28px;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.btn-call {
  border-color: var(--moss) !important;
  color: var(--moss) !important;
}
.btn-call:hover {
  background: var(--moss) !important;
  color: var(--cream) !important;
}
@media (max-width: 560px) {
  .hero-cta-row .btn { width: 100%; justify-content: center; }
}

.hero-deck {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: 24px;
  align-items: start;
}

.hero-lede {
  font-family: var(--serif);
  font-size: 22px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 560px;
}
.hero-lede .drop {
  font-family: var(--serif);
  font-size: 72px;
  float: left;
  line-height: 0.85;
  margin: 8px 8px 0 -4px;
  color: var(--moss);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.hero-side {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-side h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.hero-side p { margin: 0 0 18px; font-size: 14px; }
.hero-side .big-date {
  font-family: var(--serif);
  font-size: 44px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
.hero-side .big-date em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--moss);
}

/* ─────────── SECTION HEADERS ─────────── */
.section-head {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: end;
  gap: 32px;
  padding: 60px 0 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.section-head h2 {
  font-size: clamp(36px, 6vw, 72px);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.025em;
}
.section-head h2 em {
  font-style: italic;
  color: var(--moss);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.section-head .aside {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
}

/* ─────────── SERVICES ─────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.service {
  padding: 34px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  position: relative;
  transition: background 0.25s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service:hover { background: var(--paper); }
.service .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.service .label--moss  { color: var(--moss); }
.service .label--ochre { color: var(--ochre); }
.service .label--terra { color: var(--terracotta); }
.service .label--ink   { color: var(--ink-soft); }

.service:nth-child(even) { background: var(--paper); }
.service:nth-child(even):hover { background: var(--cream); }
.service h3 {
  font-size: 30px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  margin-bottom: 14px;
  line-height: 1;
}
.service h3 em { font-style: italic; color: var(--moss); font-variation-settings: "opsz" 144, "SOFT" 100; }
.service p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.service .foot {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.service .arrow { transition: transform 0.2s; }
.service:hover .arrow { transform: translateX(4px); color: var(--moss); }

/* ─────────── FOOTER ─────────── */
.footer {
  margin-top: 120px;
  border-top: 2px solid var(--ink);
  padding: 56px 0 28px;
  background: var(--cream);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 16px;
}
.footer .stmt {
  font-family: var(--serif);
  font-size: 22px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 380px;
}
.footer .stmt em { font-style: italic; color: var(--moss); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: 13px; }
.footer-rule {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─────────── GENERIC PAGE BLOCKS ─────────── */
.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--rule);
}
.page-head .issue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 40px;
}
.page-head h1 {
  font-size: clamp(52px, 9vw, 128px);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 24px;
}
.page-head h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--moss);
}
.page-head .sub {
  font-family: var(--serif);
  font-size: 22px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.4;
}

/* two-column editorial */
.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 48px 0;
}
.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
}

.col-2 p, .col-3 p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }

/* testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  margin: 48px 0 0;
}
.testimonial {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 20px;
  font-variation-settings: "opsz" 14, "SOFT" 100;
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 20px;
}
.testimonial cite {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  text-transform: uppercase;
  font-style: normal;
  display: block;
}
.testimonial .project {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-top: 2px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* pull-quote */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 56px);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-style: italic;
  line-height: 1.15;
  color: var(--moss-deep);
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 64px 0;
  max-width: 960px;
}
.pullquote .cite {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 24px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 1px solid var(--ink);
}
.btn:hover { background: var(--moss); border-color: var(--moss); color: var(--cream); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }

/* responsive */
@media (max-width: 900px) {
  .masthead-inner { grid-template-columns: auto auto; }
  .masthead-meta { display: none; }
  .masthead-right { gap: 12px; }
  .masthead-nav { font-size: 11px; gap: 14px; }
  .masthead-tel { padding: 6px 10px; font-size: 10px; }
  .hero-deck { grid-template-columns: 1fr; gap: 32px; }
  .hero-side { border-left: 0; border-top: 1px solid var(--rule); padding: 24px 0 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head .aside { text-align: left; }
  .col-2, .col-3 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .masthead-tel { display: none; }
  .masthead-nav { gap: 10px; font-size: 10px; }
  .masthead-rule .wrap span:nth-child(2) { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
