/* ABI 87 Weinheim – vollständiges responsives Design */
:root {
  --bg: #f4efe3;
  --bg-alt: #ece2cd;
  --paper: #fffdf7;
  --ink: #2b2319;
  --soft: #62574c;
  --bordeaux: #6c1f2e;
  --bordeaux-dark: #481420;
  --gold: #a9772f;
  --gold-dark: #80581f;
  --line: #d8ccb4;
  --success: #2f6b44;
  --error: #9d2b2b;
  --radius: 20px;
  --shadow: 0 18px 50px -30px rgba(43, 35, 25, .55);
  --width: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  margin: 0 0 .55em;
  color: var(--bordeaux-dark);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.7rem, 8vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  width: min(calc(100% - 40px), var(--width));
  margin-inline: auto;
}

.section { padding: clamp(64px, 9vw, 110px) 0; }

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.center-text {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--bordeaux);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  color: #fff;
  background: var(--bordeaux);
  border-radius: 0 0 10px 10px;
}

.skip-link:focus { top: 0; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(216, 204, 180, .9);
  background: rgba(244, 239, 227, .95);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--bordeaux);
  border: 2px solid var(--bordeaux-dark);
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.16);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav > a:not(.button) {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--soft);
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--ink);
  background: rgba(169,119,47,.13);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .96rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: .9rem;
}

.button-primary {
  color: #fff;
  background: var(--bordeaux);
}

.button-primary:hover {
  color: #fff;
  background: var(--bordeaux-dark);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-secondary:hover {
  color: #fff;
  background: var(--ink);
}

/* Hero */
.hero {
  overflow: hidden;
  padding: clamp(70px, 10vw, 125px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(169,119,47,.17), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(108,31,46,.11), transparent 35%),
    var(--bg);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(38px, 7vw, 80px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
}

.hero-copy { max-width: 700px; }

.kicker {
  padding: 7px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.claim {
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
}

.lead {
  max-width: 62ch;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.forward-note {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--soft);
  font-size: .92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(72,20,32,.13), rgba(169,119,47,.16)),
    linear-gradient(145deg, #d9cdae, #a9895c);
  box-shadow: var(--shadow);
}

.hero-visual.has-photo {
  background-position: center;
  background-size: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(43,35,25,.55), transparent 65%);
}

.hero-year {
  position: absolute;
  color: rgba(72,20,32,.65);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 20vw, 13rem);
  font-weight: 700;
  line-height: 1;
}

.hero-visual p {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
}

/* Meeting */
.year-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 42px);
  margin: 34px 0 46px;
}

.year-line strong {
  color: var(--bordeaux);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 1;
}

.year-line strong:last-child { color: var(--gold-dark); }

.year-line span {
  width: min(18vw, 130px);
  height: 2px;
  background: var(--ink);
}

.status-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-card {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.status-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--bordeaux);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--bordeaux-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.status-card p:last-child { margin-bottom: 0; }

.center {
  margin-top: 34px;
  text-align: center;
}

/* Form */
.form-layout {
  display: grid;
  align-items: start;
  gap: 40px;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
}

.privacy-box {
  margin-top: 28px;
  padding: 26px;
  color: #fff;
  background: var(--bordeaux-dark);
  border-radius: var(--radius);
}

.privacy-box h3 { color: #fff; }
.privacy-box p { color: rgba(255,255,255,.82); }
.privacy-box p:last-child { margin-bottom: 0; }

.contact-form {
  padding: clamp(24px, 5vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.field { margin-bottom: 4px; }
.field-full { grid-column: 1 / -1; }

.field label,
.checkbox-group legend {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-weight: 800;
}

.field label span { color: var(--bordeaux); }

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bfb29b;
  border-radius: 10px;
  font: inherit;
}

.field textarea {
  min-height: 125px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--bordeaux);
  outline: 3px solid rgba(108,31,46,.14);
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin: 24px 0 18px;
  padding: 0;
  border: 0;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 4px;
  accent-color: var(--bordeaux);
}

.checkbox span { font-size: .96rem; }

.consent {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.consent a {
  color: var(--bordeaux);
  font-weight: 800;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.submit-button {
  width: 100%;
  margin-top: 22px;
}

.submit-button[disabled] {
  cursor: wait;
  opacity: .65;
}

.form-hint {
  margin-top: 12px;
  color: var(--soft);
  font-size: .86rem;
}

.form-message {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.form-message.is-success {
  display: block;
  color: var(--success);
  background: #e7f2ea;
  border: 1px solid #b8d6c0;
}

.form-message.is-error {
  display: block;
  color: var(--error);
  background: #fae7e7;
  border: 1px solid #e7baba;
}

/* WhatsApp */
.whatsapp-panel {
  display: grid;
  align-items: center;
  gap: 30px;
  grid-template-columns: auto 1fr;
  padding: clamp(30px, 6vw, 56px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.whatsapp-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #2f7c52;
  background: #e5f3e9;
  border-radius: 50%;
}

.whatsapp-icon svg {
  width: 44px;
  height: 44px;
  fill: currentColor;
}

/* Sharing */
.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.copy-status {
  min-height: 28px;
  margin-top: 14px;
  color: var(--success);
  text-align: center;
  font-weight: 800;
}

/* Legal pages */
.legal-page {
  min-height: 65vh;
  padding: clamp(60px, 9vw, 100px) 0;
}

.legal-content {
  max-width: 820px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 1.7em;
  font-size: 1.55rem;
}

/* Footer */
.site-footer {
  padding: 48px 0 24px;
  color: rgba(255,255,255,.82);
  background: var(--bordeaux-dark);
}

.site-footer .brand-mark {
  background: var(--gold);
  border-color: rgba(255,255,255,.5);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.footer-brand p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.58);
  font-size: .84rem;
}

.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .menu-button { display: grid; }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .main-nav a { width: 100%; }
  .main-nav .button { margin-top: 8px; }

  .hero-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 340px; }
}

@media (max-width: 760px) {
  .brand-copy small { display: none; }

  .status-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full { grid-column: auto; }

  .whatsapp-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .year-line { gap: 12px; }
  .year-line span { width: 45px; }

  .button-row .button,
  .share-actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--width)); }
  .brand-mark { width: 43px; height: 43px; }
  .brand-copy strong { font-size: .98rem; }
  .hero-visual { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* Überschrift auf Datenschutz- und Impressumsseite */
.legal-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}

/* Bildmotiv im Hero-Bereich */
.hero-photo {
  padding: 0;
  overflow: hidden;
  background: #d9cdae;
}

.hero-photo::after {
  display: none;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}