:root {
  --orange: #e39b40;
  --orange-dark: #d08930;
  --cream: #fbf6ee;
  --sage: #9aa978;
  --sage-deep: #7d8f62;
  --brown: #4a2c16;
  --brown-deep: #3a2210;
  --ink: #3f3a34;
  --muted: #6b645c;
  --line: #e4d7c4;
  --paper: #ffffff;
  --profile-bg: #e8edf1;
  --profile-title: #6a7d8f;
  --radius: 8px;
  --header-h: 96px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Raleway", "Source Sans 3", sans-serif;
  --green-soft: #7a9a62;
  --shadow: 0 6px 18px rgba(62, 48, 28, .14);
  --shadow-btn: 0 3px 8px rgba(62, 48, 28, .16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--orange);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 20px;
  z-index: 20;
}
.header-inner {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}
.logo img { width: 100%; height: 100%; object-fit: cover; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .10em;
  font-weight: 500;
}
.nav a {
  color: #fff;
  padding: 8px 16px;
  text-decoration: none !important;
  border-bottom: 0;
}
.nav a:hover, .nav a.is-active { color: #fff8ea; }
.nav .sep {
  display: inline-block;
  width: 22px;
  height: 2px;
  margin: 0 6px;
  background: #f4c078;
  border: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-decoration: none !important;
  overflow: hidden;
  vertical-align: middle;
}
.nav .sep::before, .nav .sep::after { content: none; }
.nav details { position: relative; }
.nav details summary {
  list-style: none;
  color: #fff;
  cursor: pointer;
  padding: 8px 16px;
  letter-spacing: .12em;
}
.nav details summary::-webkit-details-marker { display: none; }
.nav details summary::after { content: " ▾"; font-size: 11px; }
.nav .drop {
  position: absolute;
  top: 100%;
  left: 8px;
  background: #fff;
  min-width: 240px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  z-index: 30;
}
.nav .drop a {
  display: block;
  color: var(--ink);
  letter-spacing: .04em;
  font-size: 15px;
  padding: 8px 16px;
}
.nav .drop a:hover { background: var(--cream); text-decoration: none; }

.toggles {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .04em;
  color: #fff;
}
.seg {
  display: flex;
  align-items: center;
  gap: 6px;
}
.seg-lab { opacity: .85; font-weight: 600; }
.seg-lab.is-on { color: #e8f3dc; }
.seg-track {
  width: 42px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  position: relative;
  cursor: pointer;
  padding: 0;
}
.seg-track.is-on { background: var(--green-soft); }
.seg-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: left .2s ease;
}
.seg-track.is-on .seg-knob { left: 22px; }

.site-main { flex: 1; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.hero {
  position: relative;
  min-height: 78vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.48)),
    url("../bilder/marke/hintergrund.jpg") center 30% / cover no-repeat;
  text-align: center;
  padding: 64px 20px 80px;
}
.hero-box .hero-title, .hero-box .hero-sub {
  display: block;
  background: transparent;
  padding: 0;
  text-shadow: none;
}
.hero h1, .hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 66px);
  color: var(--orange);
  margin: 0 0 16px;
  letter-spacing: .01em;
}
.hero h2, .hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 36px);
  color: var(--orange-dark);
  margin: 0 0 22px;
}
.hero-box {
  max-width: 860px;
  margin: 0 auto 8px;
  background: rgba(255,255,255,.68);
  padding: 22px 26px 20px;
  border-radius: 12px;
  text-align: center;
}
.hero-box p {
  margin: 0 0 12px;
  color: #2c2c2c;
  font-size: 19px;
  background: none;
  padding: 0;
}
.hero-box p:last-child { margin-bottom: 0; }
.hero strong { color: #1f1f1f; }
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  min-width: 210px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: var(--shadow-btn);
}
.btn:hover { background: var(--orange-dark); }
.btn-ghost {
  background: #fff;
  color: var(--ink) !important;
  border: 1px solid #d7d0c6;
  min-width: auto;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-btn);
}
.btn-line {
  background: #fff;
  color: var(--orange) !important;
  border: 1px solid var(--orange);
  min-width: 140px;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-btn);
}

.accordion-wrap { padding: 28px 16px 72px; }
.accordion {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid #eadfce;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.acc-item + .acc-item { border-top: 1px solid #eadfce; }
.acc-item button {
  width: 100%;
  text-align: left;
  background: #f6efe3;
  border: 0;
  padding: 13px 18px;
  font: inherit;
  font-size: 17px;
  color: #c47a2c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.acc-item button span.chev { color: #8a7a66; }
.acc-item.is-open button { background: #fbf6ee; }
.acc-panel {
  display: none;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 17.5px;
  background: #fff;
}
.acc-item.is-open .acc-panel { display: block; }

.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 62px);
  color: var(--orange);
  text-align: center;
  margin: 48px 0 28px;
}
.lead-sage {
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: 56px 24px 72px;
}
.lead-sage p {
  width: min(920px, 100%);
  margin: 0 auto 16px;
  font-size: 17.5px;
  line-height: 1.65;
}
.two-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.timeline { position: relative; padding: 20px 0 80px; }
.tl-spine {
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: #ead9c2;
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 0;
}
.tl-spine-fill {
  width: 100%;
  height: 0;
  background: var(--orange);
  border-radius: 3px;
}
.tl-row {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  gap: 8px;
  align-items: center;
  margin: 28px 0;
  position: relative;
  z-index: 1;
}
.tl-card {
  background: var(--sage);
  color: #2d3326;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.tl-card img.cover {
  width: 100%;
  height: 158px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center;
}
.tl-card .inner { padding: 18px 20px 22px; }
.tl-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--orange);
  text-align: center;
}
.tl-card p { margin: 0; font-size: 17px; text-align: center; color: #2f342b; }
.tl-card a.block { color: inherit; text-decoration: none; display: block; }
.tl-card {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.tl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(62,48,28,.22);
  filter: brightness(1.04);
}
.tl-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.tl-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: 16px;
  box-shadow: var(--shadow-btn);
}
.tl-row.right .tl-card { grid-column: 3; }
.tl-row.left .tl-card { grid-column: 1; }
.tl-row.right .tl-mid, .tl-row.left .tl-mid { grid-column: 2; grid-row: 1; }

.back { margin: 28px 0 8px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: calc(100vh - var(--header-h) - 88px);
}
.split .copy {
  background: var(--profile-bg);
  padding: 48px 48px 64px;
  font-size: 21.5px;
  line-height: 1.55;
}
.split .copy p { font-size: 1em; font-weight: 400; }
@media (max-width: 760px) {
  .split .copy { font-size: 18px; padding: 28px 22px 40px; }
}
.split .copy h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--profile-title);
  margin: 0 0 8px;
}
.split .copy .beruf {
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  color: #7b8b99;
  margin: 0 0 22px;
}
.split .copy p, .split .copy li { color: #4c5560; font-size: 19px; font-weight: 300; }
.split .portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  min-height: 520px;
}
.kontakt { margin-top: 22px; font-size: 16px; }

.intro-fach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 12px 0 36px;
}
.intro-fach h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6vw, 58px);
  color: #8a93a0;
  margin: 12px 0 18px;
}
.intro-fach p { color: var(--muted); margin: 0 0 12px; }
.intro-fach img { width: 100%; object-fit: cover; max-height: 360px; border-radius: var(--radius); }

.section-head {
  text-align: center;
  color: #9aa3ad;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  margin: 18px 0 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-bottom: 80px;
}
.card {
  background: #f6f3ee;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 230px; object-fit: cover; object-position: center 32%; }
.card .body { padding: 16px 16px 20px; text-align: center; flex: 1; display: flex; flex-direction: column; }
.card h3 { color: var(--orange); font-weight: 600; margin: 0 0 6px; font-size: 21px; }
.card .claim { font-size: 16.5px; color: var(--orange); margin: 0 0 10px; font-weight: 500; line-height: 1.35; }
.card p.ex { font-size: 15px; color: #5c564e; flex: 1; }
.card .body .btn-line { margin: 14px auto 0; }
a.card { color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(62,48,28,.22); text-decoration: none; filter: brightness(1.03); }

.ausrichtung {
  background: var(--sage);
  color: #fff;
  text-align: center;
  padding: 16px 20px;
  margin: 8px 0 20px;
  font-size: 20px;
  font-weight: 600;
  border-radius: var(--radius);
}

.site-footer {
  background: var(--brown);
  color: #efe6d8;
  padding: 28px 24px 22px;
  margin-top: auto;
}
.site-footer .wrap { display: grid; gap: 10px; }
.footer-links { font-size: 16px;  display: flex; gap: 36px; flex-wrap: wrap; }
.footer-links a { color: #fff; }
.footer-line { border-top: 1px dotted rgba(255,255,255,.35); margin: 8px 0 10px; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 19px;
  color: #f3eadc;
}

.karte-page { padding-bottom: 40px; background: #eef0f2; }
.karte-lead {
  text-align: center;
  color: var(--muted);
  max-width: 820px;
  margin: -8px auto 20px;
  font-size: 16px;
}
.karte-stage {
  width: 100%;
  padding: 0 0 28px;
}
.karte-feld {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  line-height: 0;
  background: transparent;
  cursor: crosshair;
}
.karte-feld > img { width: 100%; height: auto; pointer-events: none; user-select: none; display: block; }
.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(227, 155, 64, .55);
  animation: pinpulse 2.4s ease-out infinite;
}
@keyframes pinpulse {
  0% { box-shadow: 0 0 0 0 rgba(227,155,64,.85), 0 0 10px 2px rgba(227,155,64,.55); }
  50% { box-shadow: 0 0 0 8px rgba(227,155,64,.25), 0 0 16px 4px rgba(227,155,64,.4); }
  100% { box-shadow: 0 0 0 0 rgba(227,155,64,0), 0 0 8px 2px rgba(227,155,64,.2); }
}
.pin-user {
  width: 16px;
  height: 16px;
  background: #2c4a6e;
  border: 3px solid #fff;
  z-index: 3;
  pointer-events: none;
  animation: none;
  box-shadow: var(--shadow-btn);
}
.karte-hover {
  position: absolute;
  z-index: 5;
  background: #e7eaed;
  color: #333;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  max-width: 240px;
  pointer-events: none;
  box-shadow: var(--shadow);
  line-height: 1.3;
}
.karte-hover img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.karte-hover strong { display: block; font-size: 13px; }
.karte-hover span { font-size: 14px; color: #555; }
.karte-hover em { display:block; font-style:normal; font-size:13.5px; color:#444; margin-top:4px; }
.karte-nahe { padding: 0 20px 72px; max-width: 720px; margin: 0 auto; }
.karte-nahe h2 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--orange);
  font-size: 26px;
}

.legal { padding: 36px 0 80px; }
.legal h1 { color: var(--ink); font-weight: 500; font-size: 22px; letter-spacing: .06em; }
.legal h2 { font-size: 17px; margin: 22px 0 8px; font-weight: 500; }
.legal p { max-width: 720px; color: var(--muted); font-size: 18px; }

@media (max-width: 1100px) {
  .nav { font-size: 17px; }
  .nav a, .nav details summary { padding: 8px 10px; }
}

@media (max-width: 880px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo nav" "toggles toggles";
  }
  .logo { grid-area: logo; width: 64px; height: 64px; }
  .nav { grid-area: nav; justify-content: flex-end; font-size: 16px; letter-spacing: .08em; }
  .toggles { grid-area: toggles; justify-content: flex-end; }
  .tl-row { grid-template-columns: 1fr; }
  .tl-row.right .tl-card, .tl-row.left .tl-card, .tl-mid { grid-column: 1; }
  .tl-spine { left: 18px; }
  .tl-mid { flex-direction: row; justify-content: flex-start; padding-left: 8px; }
  .split, .intro-fach, .cards { grid-template-columns: 1fr; }
  .split .copy { padding: 28px 20px 36px; }
  .split .portrait img { min-height: 360px; }
  .hero p { font-size: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { padding: 8px 10px; }
  .logo { width: 52px; height: 52px; }
  .nav { font-size: 15px; letter-spacing: .06em; }
  .nav a, .nav details summary { padding: 6px 6px; }
  .page-title { margin: 28px 0 18px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .two-actions { gap: 14px; }
  .footer-meta { flex-direction: column; }
  .hero { padding: 36px 14px 48px; min-height: 0; }
}

@media (min-width: 1600px) {
  .header-inner { width: min(1400px, 100%); }
  .karte-feld { width: min(1280px, 96vw); }
  body { font-size: 18px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 0; padding: 28px 16px 36px; }
  .logo { width: 48px; height: 48px; }
  .site-header { min-height: 64px; }
}

.karte-suche {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: end;
  width: min(900px, calc(100% - 24px));
  margin: 0 auto 20px;
}
.karte-suche label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.karte-suche input, .karte-suche select {
  min-width: 220px;
  padding: 8px 10px;
  border: 1px solid #cfd3d7;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.pin { opacity: 1; transition: opacity .45s ease; }
.pin.is-dim { opacity: 0; pointer-events: none; }
.pin.is-on { opacity: 1; }
.karte-treffer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: min(1080px, calc(100% - 32px)); margin: 0 auto 48px; }
@media (max-width: 880px) { .karte-treffer { grid-template-columns: 1fr; } }
.karte-mini { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.karte-mini.is-on { opacity: 1; transform: none; }
.karte-mini img { width: 100%; height: 140px; object-fit: cover; object-position: center 8%; }
.karte-mini .body { padding: 10px 12px 14px; font-size: 14px; }
.footer-meta { font-size: 19px; }

.karte-pop { opacity: 0; transition: opacity .4s ease; pointer-events: none; max-width: 200px; }
.karte-pop.is-on { opacity: 1; }
#karte-minis { position: absolute; inset: 0; pointer-events: none; z-index: 4; }

.karte-suche label.is-active select {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(227,155,64,.28);
  background: #fff8ee;
}
.karte-suche label.is-active { color: var(--orange-dark); font-weight: 600; }
.karte-hover { pointer-events: auto; text-decoration: none; color: inherit; }
.karte-pop { pointer-events: auto; }

.karte-pop.is-front { z-index: 30; transform: scale(1.04); }

.card .ex { font-size: 16.5px; color: var(--muted); line-height: 1.45; }

.profil-sprung {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.profil-sprung a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(184,122,48,.45);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(40,28,18,.08);
  text-decoration: none;
}
.profil-sprung a:hover {
  background: #f7f1e6;
  border-color: var(--orange);
}


/* footer-type-lock */
.site-footer .footer-meta,
.site-footer .footer-meta span,
.site-footer .footer-links,
.site-footer .footer-links a {
  font-size: 20px !important;
  line-height: 1.5 !important;
}
