/* Barlow & Barlow Condensed — lokal eingebunden (kein Aufruf an Google-Server, keine IP-Übertragung) */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlowcondensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlowcondensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-text-muted: color-mix(in srgb, #1d1f20 55%, transparent);
  --color-accent: #5980a6;
  --color-accent-600: #597ea3;
  --color-accent-700: #416180;
  --color-accent-800: #2c455d;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);
  --color-divider-soft: color-mix(in srgb, #1d1f20 7%, transparent);
  --color-card: #ffffff;
  --color-accent-tint-bg: #eef6ff;
  --color-accent-tint-text: #2c455d;
  --color-neutral-tag-bg: #f5f5f8;
  --color-neutral-tag-text: #424244;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(43,43,45,.14);
  --shadow-md: 0 3px 10px rgba(43,43,45,.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

a {
  color: var(--color-accent-700);
  text-decoration: none;
}
a:hover { color: var(--color-accent-800); }

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

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.text-muted { color: var(--color-text-muted); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; width: 100%; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--color-divider);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
}
.nav-brand {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--color-text);
}
.nav-brand span.accent { color: var(--color-accent); }
.nav-brand span.suffix { font-size: 16px; color: var(--color-accent-700); font-family: var(--font-body); font-weight: 400;}
.nav-link {
  font-size: 18px;
  padding: 10px 4px;
  color: var(--color-text);
}
.nav-link:hover { color: var(--color-accent-700); }
.nav-link[aria-current="page"] { color: var(--color-accent-700); }
.nav-spacer { flex: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 18px;
  padding: 12px 22px;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-600); color: #fff; }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary {
  border-color: var(--color-divider);
  color: var(--color-text);
  background: transparent;
}
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost {
  color: var(--color-accent-700);
  border: none;
  padding: 8px 4px;
  background: none;
}
.btn-ghost:hover { color: var(--color-accent-800); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 15px;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}
.tag-outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 14px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
}
.tag-accent { background: var(--color-accent-tint-bg); color: var(--color-accent-tint-text); }
.tag-neutral { background: var(--color-neutral-tag-bg); color: var(--color-neutral-tag-text); }

/* ---------- cards ---------- */
.card {
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
a.card, .card.hoverable { transition: box-shadow .15s ease; }
a.card:hover, .card.hoverable:hover { box-shadow: var(--shadow-md); }
.card-pad { padding: 28px; }
.card-kicker {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---------- image slot ---------- */
.image-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #dce6ee, #eef2f5);
  color: var(--color-text-muted);
  font-size: 14px;
  padding: 12px;
  border-radius: inherit;
}

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 18px; }
.table td { padding: 10px 0; border-bottom: 1px solid var(--color-divider-soft); }
.table tr:last-child td { border-bottom: none; }
.table td.num { text-align: right; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 16px; color: var(--color-text-muted); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 18px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: 14px;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); }
textarea.input { min-height: 100px; resize: vertical; font-family: inherit; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-stack { display: flex; flex-direction: column; gap: 20px; }
.field-error {
  font-size: 14px;
  color: #a4372f;
  margin-top: -2px;
}
.input.has-error { border-color: #a4372f; }

/* ---------- sections ---------- */
.section { padding: 40px 0 56px; border-top: 1px solid var(--color-divider); }
.section:first-child { border-top: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--color-divider); margin-top: auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding: 36px 24px;
  font-size: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.footer-brand { font-family: var(--font-heading); font-weight: 600; font-size: 20px; }

/* ---------- grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2-9-11 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.grid-2-9-11-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.grid-2-even { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-form-aside { display: grid; grid-template-columns: 1fr 0.7fr; gap: 56px; align-items: start; }

/* ---------- listing card ---------- */
.listing-card { display: flex; flex-direction: column; color: inherit; }
.listing-card .image-slot { height: 180px; border-radius: 20px 20px 0 0; }
.listing-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.listing-body h3 { font-size: 22px; }
.listing-row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; margin-top: 4px; }
.listing-price { color: var(--color-accent-700); font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; }
.hero h1 { font-size: 58px; }
.hero p.lede { font-size: 21px; line-height: 1.6; max-width: 34em; }
.hero-image { height: 380px; border-radius: 20px; overflow: hidden; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 20px; padding: 16px 28px; }

/* ---------- steps ---------- */
.step-card { display: flex; flex-direction: column; gap: 14px; }
.step-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  color: var(--color-accent);
}
.step-card h3 { font-size: 24px; }
.step-card p { font-size: 17px; line-height: 1.6; opacity: 0.85; }

/* ---------- confirmation ---------- */
.confirm-check {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-accent);
}

/* ---------- utility ---------- */
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.hidden { display: none !important; }

@media (max-width: 860px) {
  .grid-3, .grid-2-9-11, .grid-2-9-11-top, .grid-2-even, .grid-form-aside, .footer-grid, .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 40px; }
  .nav { flex-wrap: wrap; gap: 14px 20px; }
}
