/* ============================================================
   HORN & STRICKER – ZENTRALE GESTALTUNG
   ------------------------------------------------------------
   Alle Schriften, Größen, Farben und Abstände werden hier
   zentral definiert. Die HTML-Dateien enthalten nur die
   semantischen Elemente (h1, h2, p usw.) und CSS-Klassen.
   ============================================================ */

:root {
  /* Schriftfamilien – bewusst ohne externe Webfonts */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Schriftgrößen */
  --font-size-body: 1rem;
  --font-size-small: 0.88rem;
  --font-size-lead: clamp(1.05rem, 2vw, 1.30rem);
  --font-size-h1: clamp(2.55rem, 7vw, 5.65rem);
  --font-size-h2: clamp(1.85rem, 4.2vw, 3rem);
  --font-size-h3: 1.35rem;

  /* Schriftschnitte */
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-bold: 750;
  --font-weight-heading: 800;

  /* Zeilenhöhen */
  --line-height-body: 1.65;
  --line-height-heading: 1.08;

  /* Farben */
  --bg: #f7f2ec;
  --surface: #ffffff;
  --paper: #fffdf9;
  --text: #2a2522;
  --muted: #6e655d;
  --line: #e7ddd2;
  --accent: #b56d47;
  --accent-dark: #8f5231;
  --accent-soft: #f3e0d3;

  /* Layout */
  --max-width: 1200px;
  --radius: 22px;
  --radius-small: 16px;
  --shadow: 0 10px 30px rgba(70, 40, 20, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-body);
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }

/* Überschriften: Aussehen zentral hier ändern */
h1, h2, h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  letter-spacing: -0.025em;
}
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

.lead {
  max-width: 65ch;
  font-size: var(--font-size-lead);
  line-height: 1.55;
  color: #473f3a;
}
.muted { color: var(--muted); }
.eyebrow,
.kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.80rem;
  font-weight: var(--font-weight-heading);
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  background: #fff;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(231, 221, 210, 0.85);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 78px;
  margin: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}
.brand-logo {
  width: 170px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.site-header nav a {
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  color: var(--muted);
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}

/* Hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.hero-copy,
.hero-visual,
.panel,
.card,
.contact-card,
.story-step {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(1.7rem, 4vw, 3rem); }
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 1rem;
  padding: 1rem;
}
.visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f4eee7;
}
.visual-card.tall { grid-row: span 2; }
.visual-card img,
.image-card img,
.process-image img,
.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.visual-card:hover img,
.image-card:hover img,
.process-image:hover img,
.team-image:hover img {
  transform: scale(1.08);
}
.caption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(8px);
}

/* Buttons */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: var(--font-weight-bold);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { border-color: var(--line); background: #fff; }
.button.secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* Inhaltsbereiche */
.section { padding: 1rem 0 2.6rem; }
.page-title { padding: 2.5rem 0 1.25rem; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-body, .panel-body { padding: 1.2rem 1.25rem 1.35rem; }
.image-card { display: flex; flex-direction: column; }
.image-frame {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f1ebe4;
}
.image-frame.square { aspect-ratio: 1 / 1; }
.image-frame.tall { aspect-ratio: 4 / 5; }
.team-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f1ebe4;
}
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.list { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.list li + li { margin-top: 0.35rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.tag {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: #5c524a;
  background: #fff;
}
.quote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  color: #584f48;
  background: #fbf7f1;
}

/* Prozess */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.story-step { padding: 1rem; }
.process-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 0.9rem;
  border-radius: 18px;
  background: #f2ece5;
}
.process-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-weight: var(--font-weight-heading);
}
.process-number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

/* Kontakt und Footer */
.contact-band { padding-bottom: 3rem; }
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: 1.4rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}
.contact-links a { font-size: 1.08rem; font-weight: var(--font-weight-bold); }
.info-table {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1rem;
}
.site-footer {
  margin-top: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: auto;
  font-size: var(--font-size-small);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Kleine Sprungnavigation */
.mini-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.mini-nav a {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  color: var(--muted);
  background: #fff;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split-panel, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 0.75rem 0; }
  .brand-logo { width: 150px; }
  .site-header nav { width: 100%; justify-content: flex-start; }
  .site-header nav a { padding: 0.45rem 0.62rem; font-size: 0.9rem; }
  .grid-2, .grid-3, .grid-4, .process-grid { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: 1fr; grid-template-rows: none; }
  .visual-card, .visual-card.tall { grid-row: auto; min-height: 220px; }
  .contact-card { padding: 1.1rem; }
  .info-table { grid-template-columns: 1fr; }
}
