:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --ink: #1B2326;
  --dark: #151C1F;
  --muted: #5B666C;
  --line: #E4DCD0;
  --accent: #A8482A;
  --accent-dark: #8A3A21;
  --accent-ink: #FFFFFF;
  --accent-soft: #D9B594;
  --tint: #F1EAE0;
  --error: #A3261F;
  --radius: 4px;
  --radius-control: 2px;
  --pad: clamp(1.25rem, 6vw, 6.5rem);
  --serif: Didot, "Bodoni 72", "Bodoni MT", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --photo: url("https://static.wixstatic.com/media/716382_40bf6e7551d9490abbce708affce5768~mv2.jpg");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); max-width: 17ch; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--accent-soft); }
p { margin: 0 0 1em; }
a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--dark); }
[hidden] { display: none !important; }

.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1.5rem var(--pad);
  border-bottom: 1px solid var(--line);
}
.site-header--overlay {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  border-bottom: 1px solid rgba(250, 247, 242, 0.16);
  color: #FAF7F2;
}
.site-header--overlay a, .site-header--overlay button, .site-header--overlay span { color: #FAF7F2; }
.brand {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.site-nav a, .site-nav .btn-text {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 3px; color: inherit;
}
.site-nav a:hover, .site-nav .btn-text:hover { border-bottom-color: currentColor; color: inherit; }
.session { display: inline-flex; align-items: center; gap: 2rem; min-width: 5rem; min-height: 1.6rem; }

.eyebrow, .section-label {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before, .section-label::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: 0.7; }

.hero { padding: clamp(3rem, 9vw, 7rem) var(--pad) clamp(2.5rem, 6vw, 5rem); }
.hero-dark { position: relative; overflow: hidden; background: var(--dark); color: #FAF7F2; }
.hero-photo {
  background-color: var(--dark);
  background-image:
    linear-gradient(180deg, rgba(21, 28, 31, 0.55) 0%, rgba(21, 28, 31, 0) 22%),
    linear-gradient(90deg, rgba(21, 28, 31, 0.90) 0%, rgba(21, 28, 31, 0.68) 48%, rgba(21, 28, 31, 0.18) 100%),
    var(--photo);
  background-size: cover; background-position: center;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(9rem, 20vh, 13rem);
  padding-bottom: 0;
}
.hero-inner { position: relative; max-width: 58rem; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-dark .eyebrow { color: var(--accent-soft); }
.lead { font-size: 1.18rem; max-width: 50ch; color: var(--muted); }
.hero-dark .lead { color: rgba(250, 247, 242, 0.84); font-weight: 300; }
.actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.4rem; }
.facts {
  list-style: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(250, 247, 242, 0.18);
  background: rgba(21, 28, 31, 0.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: rgba(250, 247, 242, 0.72); font-size: 0.88rem; letter-spacing: 0.03em;
}
.facts li { padding: 1.7rem 2rem 1.8rem 0; }
.facts li + li { padding-left: 2rem; border-left: 1px solid rgba(250, 247, 242, 0.18); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.55rem; color: #FAF7F2; letter-spacing: 0; margin-bottom: 0.15rem; }

.btn {
  display: inline-block; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 1.05rem 2rem; border-radius: var(--radius-control);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #FAF7F2; border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.hero-dark .btn-primary, .cta-band .btn-primary { background: #FAF7F2; color: var(--dark); border-color: #FAF7F2; }
.hero-dark .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-ghost { background: transparent; color: #FAF7F2; border-color: rgba(250, 247, 242, 0.55); }
.btn-ghost:hover { background: rgba(250, 247, 242, 0.12); border-color: #FAF7F2; }
.btn-light { background: #FAF7F2; color: var(--dark); border-color: #FAF7F2; }
.btn-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn-text {
  background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  padding: 0 0 3px; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
}
.btn-text:hover { color: var(--accent-dark); }

.statement { padding: clamp(4.5rem, 11vw, 9rem) var(--pad); max-width: 68rem; margin: 0 auto; text-align: center; }
.statement .section-label { justify-content: center; }
.statement .section-label::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: 0.7; }
.statement h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 1.6rem; }
.statement h2 em { color: var(--accent); }
.statement p:last-child { color: var(--muted); max-width: 56ch; margin: 0 auto; font-size: 1.12rem; }

.band { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.band-tint { background: var(--tint); }
.band-steps { border-top: 1px solid var(--line); }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.band-head h2 { margin: 0; }
.band-head--center { flex-direction: column; align-items: center; text-align: center; }
.band-head--center .section-label::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: 0.7; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 3.5rem; }
.step { border-top: 1px solid var(--ink); padding: 1.8rem 0 2.2rem; }
.step .num { display: block; font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 1.4rem; }
.step p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); background: var(--dark); color: #FAF7F2; }
.split-col { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.split-col + .split-col { border-left: 1px solid rgba(250, 247, 242, 0.14); }
.split-col .section-label { color: var(--accent-soft); }
.split-col h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 18ch; }
.split-col p { color: rgba(250, 247, 242, 0.72); max-width: 46ch; margin-bottom: 2rem; }
.split-col .btn-text { color: var(--accent-soft); }
.split-col .btn-text:hover { color: #FAF7F2; }

.cta-band {
  background-color: var(--dark);
  background-image: linear-gradient(rgba(21, 28, 31, 0.86), rgba(21, 28, 31, 0.90)), var(--photo);
  background-size: cover; background-position: center;
  color: #FAF7F2; text-align: center;
  padding: clamp(4.5rem, 11vw, 9rem) var(--pad);
  display: flex; flex-direction: column; align-items: center;
}
.cta-band .section-label { color: var(--accent-soft); justify-content: center; }
.cta-band .section-label::after { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: 0.7; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 20ch; margin: 0 0 2.4rem; }

.page-head { padding: clamp(3rem, 7vw, 5.5rem) var(--pad) 1.5rem; }
.page-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); max-width: 24ch; }
.page-head h1 em { color: var(--accent); }
.page-body { padding: 1rem var(--pad) clamp(3.5rem, 8vw, 6rem); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.grid.is-fetching { opacity: 0.5; }
.card {
  position: relative;
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.9rem; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before { content: ""; position: absolute; left: 1.9rem; top: 0; width: 2.4rem; height: 2px; background: var(--accent); transition: width 0.25s ease; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(21, 28, 31, 0.10); border-color: #D3C7B6; }
a.card:hover::before { width: 4.5rem; }
.card h3 { margin: 0.2rem 0 0; font-size: 1.45rem; }
.card .meta { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.card .text { margin: 0.4rem 0 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.5rem 0 0.2rem; padding: 0; list-style: none; }
.tags li { border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0.2rem 0.7rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.contact { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; font-size: 0.98rem; }
.contact p { margin: 0 0 0.2rem; }
.state { color: var(--muted); padding: 1rem 0; }
.error { color: var(--error); }

.filters { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 2.2rem; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.field label, .filters label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field .hint { font-size: 0.85rem; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=url], select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s ease;
}
input:hover, select:hover, textarea:hover { border-color: #CFC3B2; }
.filters select { min-width: 13rem; }
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, .btn-text:focus-visible, .tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { margin-top: 0.4rem; accent-color: var(--accent); }
.checks { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.checks label { font-weight: 400; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); display: inline-flex; gap: 0.4rem; align-items: center; }
.checks input { accent-color: var(--accent); }

.form-wrap { max-width: 660px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); margin-bottom: 1.75rem; box-shadow: 0 18px 40px rgba(21, 28, 31, 0.05); }
.tabs { display: flex; gap: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0.8rem 0; font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.tab[aria-selected=true] { color: var(--ink); border-bottom-color: var(--accent); }
.notice { background: var(--tint); border-left: 2px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin-bottom: 1.75rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.4rem; font-size: 1.6rem; }

.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 2.6rem var(--pad); background: var(--dark); color: rgba(250, 247, 242, 0.7);
  border-top: 1px solid rgba(250, 247, 242, 0.14);
}
.site-footer .brand { color: #FAF7F2; }
.site-footer nav { display: flex; gap: 2rem; }
.site-footer nav a { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.site-footer nav a:hover { color: #FAF7F2; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise 0.9s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

@media (max-width: 760px) {
  .site-nav, .session { gap: 1.2rem; }
  .hero-photo {
    background-image:
      linear-gradient(180deg, rgba(21, 28, 31, 0.80) 0%, rgba(21, 28, 31, 0.84) 100%),
      var(--photo);
    min-height: 0;
    padding-top: 10.5rem;
  }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 1.2rem 0; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(250, 247, 242, 0.18); }
  .split-col + .split-col { border-left: 0; border-top: 1px solid rgba(250, 247, 242, 0.14); }
  .actions .btn { width: 100%; text-align: center; }
}
.site-nav a.nav-cta {
  padding: 0.75rem 1.3rem; font-weight: 600;
  background: var(--ink); color: #FAF7F2; border: 1px solid var(--ink); border-radius: var(--radius-control);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.site-nav a.nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #FAF7F2; }
.site-header--overlay .site-nav a.nav-cta { background: #FAF7F2; border-color: #FAF7F2; color: var(--dark); }
.site-header--overlay .site-nav a.nav-cta:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--dark); }
.hero-photo { background-image: none; isolation: isolate; }
.hero-photo::before {
  content: ""; position: absolute; inset: -4%; z-index: -2;
  background-image: var(--photo); background-size: cover; background-position: center;
  animation: hero-drift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(21, 28, 31, 0.55) 0%, rgba(21, 28, 31, 0) 22%),
    linear-gradient(90deg, rgba(21, 28, 31, 0.90) 0%, rgba(21, 28, 31, 0.66) 48%, rgba(21, 28, 31, 0.16) 100%);
}
@keyframes hero-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); }
}
@media (max-width: 760px) {
  .hero-photo { background-image: none; }
  .hero-photo::after { background-image: linear-gradient(180deg, rgba(21, 28, 31, 0.80) 0%, rgba(21, 28, 31, 0.84) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo::before { animation: none; }
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: #FAF7F2;
  padding: clamp(9.5rem, 24vh, 14rem) var(--pad) clamp(6.5rem, 14vh, 9rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: -4%; z-index: -2;
  background-size: cover; background-position: center;
  animation: hero-drift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.page-hero--stellen::before { background-image: url("https://static.wixstatic.com/media/716382_b17b736848cd4c489d567c47acc2ea24~mv2.jpg"); }
.page-hero--profile::before { background-image: url("https://static.wixstatic.com/media/716382_40bf6e7551d9490abbce708affce5768~mv2.jpg"); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(21, 28, 31, 0.55) 0%, rgba(21, 28, 31, 0) 26%),
    linear-gradient(90deg, rgba(21, 28, 31, 0.90) 0%, rgba(21, 28, 31, 0.68) 50%, rgba(21, 28, 31, 0.22) 100%);
}
.page-hero-inner { max-width: 54rem; }
.page-hero-inner > * { animation: rise 0.9s ease both; }
.page-hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
.page-hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); max-width: 17ch; }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero .lead { color: rgba(250, 247, 242, 0.84); font-weight: 300; margin-bottom: 0; }

.filter-bar {
  position: relative; z-index: 2;
  margin: -3.4rem var(--pad) 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 26px 54px rgba(21, 28, 31, 0.14);
  padding: 1.6rem 1.9rem;
  gap: 1.2rem 1.6rem;
}
.filter-bar > div { display: flex; flex-direction: column; gap: 0.45rem; flex: 1 1 13rem; max-width: 20rem; }
.filter-bar .btn { margin-left: auto; }

.list-section { padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(3.5rem, 8vw, 6rem); }
.list-section .more { margin: 2.2rem 0 0; text-align: center; }
.grid > .state {
  grid-column: 1 / -1; text-align: center;
  padding: clamp(2.8rem, 7vw, 4.5rem) 1.5rem;
  border: 1px dashed #CFC3B2; border-radius: var(--radius);
  font-family: var(--serif); font-size: 1.35rem; color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}
.grid > .state.error { color: var(--error); }

@media (max-width: 760px) {
  .page-hero { padding-top: 11rem; padding-bottom: 5.5rem; }
  .page-hero::after { background-image: linear-gradient(180deg, rgba(21, 28, 31, 0.80) 0%, rgba(21, 28, 31, 0.84) 100%); }
  .filter-bar { margin-top: -2.4rem; padding: 1.3rem; }
  .filter-bar > div { max-width: none; }
  .filter-bar .btn { margin-left: 0; width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::before, .page-hero-inner > * { animation: none; }
}
.meine { margin-bottom: 2.5rem; }
.meine:empty { display: none; }
.meine-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.4rem;
}
.meine-row h3 { font-size: 1.25rem; margin: 0.3rem 0 0.2rem; }
.meine-row .meta { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.meine-row .match-badge { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0; }
.meine-actions { display: flex; gap: 1.6rem; }
.meine-delete { color: var(--error); }
.meine-delete:hover { color: #7C1C17; }
.form-cancel { margin-left: 1.6rem; color: var(--muted); }
.unit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; align-items: stretch; }
.unit-row select { width: auto; min-width: 11.5rem; }
@media (max-width: 560px) { .unit-row { grid-template-columns: 1fr; } .unit-row select { width: 100%; } }
/* konto-seiten */
.page-hero--konto::before { background-image: url("https://static.wixstatic.com/media/716382_40bf6e7551d9490abbce708affce5768~mv2.jpg"); background-position: center 30%; }
.page-hero--compact { padding-top: clamp(8.5rem, 20vh, 11rem); padding-bottom: clamp(3rem, 7vh, 4.5rem); }
.page-hero--compact h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.konto-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3.5rem, 8vw, 6rem);
}
.konto-main { min-width: 0; max-width: 46rem; display: grid; gap: 2rem; }
.konto-main > [hidden] { display: none; }
.konto-main #bereich { display: grid; gap: 2rem; }
.konto-main #bereich[hidden] { display: none; }
.konto-main .meine { margin-bottom: 0; }
.konto-aside { position: sticky; top: 2rem; display: grid; gap: 1.25rem; }
.aside-card { border-radius: var(--radius); padding: 2rem 1.8rem; background: var(--dark); color: #FAF7F2; }
.aside-card .section-label { color: var(--accent-soft); }
.aside-card h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li { padding: 0.9rem 0; border-top: 1px solid rgba(250, 247, 242, 0.16); color: rgba(250, 247, 242, 0.78); font-size: 0.96rem; }
.aside-card li strong { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 1.15rem; color: #FAF7F2; }
.aside-card--light { background: var(--tint); color: var(--ink); }
.aside-card--light .section-label { color: var(--accent); }
.aside-card--light p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.2rem; }
.aside-links { display: grid; gap: 0.9rem; justify-items: start; }
.konto-daten { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.9rem 1.5rem; margin: 1.4rem 0 1.8rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.konto-daten dt { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; align-self: center; }
.konto-daten dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.konto-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.4rem; }
.treffer-wrap { max-width: 76rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3.5rem, 8vw, 6rem); }
.matching:empty { display: none; }
.match-panel h2 { margin-bottom: 0.4rem; }
.match-hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.match-block { border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1.6rem; }
.match-block > h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.match-block .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.match-block .card { padding: 1.6rem 1.4rem; background: var(--bg); }
.match-block .card::before { left: 1.4rem; }
.match-block .card h3 { font-size: 1.2rem; }
@media (max-width: 980px) {
  .konto-layout { grid-template-columns: 1fr; }
  .konto-main { max-width: none; }
  .konto-aside { position: static; }
}
/* logo-monogramm */
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand::before {
  content: "PJ"; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border: 1px solid currentColor; border-radius: 50%;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem;
  letter-spacing: 0; text-transform: none; line-height: 1;
}
/* seiten-bilder */
.page-hero--ausschreiben::before { background-image: url("https://static.wixstatic.com/media/716382_7832262705d242c58d02ffca653ccaa6~mv2.jpeg"); background-position: center 40%; }
.page-hero--eintragen::before { background-image: url("https://static.wixstatic.com/media/716382_5bacb7830ea04a32b319bc6d958d74d3~mv2.jpeg"); background-position: center 40%; }
.page-hero--treffer::before { background-image: url("https://static.wixstatic.com/media/716382_c6535ee5d28b4bbcb0d96a7e0fa134f9~mv2.jpeg"); background-position: center 40%; }
.page-hero--konto::before { background-image: url("https://static.wixstatic.com/media/716382_36aa072547af4cd4ae78b666fc41bbba~mv2.jpeg"); background-position: center 40%; }

/* handy-menue */
.nav-toggle { display: none; }
@media (max-width: 1380px) {
  html { overflow-x: clip; }
  html.nav-open { overflow: hidden; }
  .site-header { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1rem; z-index: 50; }
  .site-header:not(.site-header--overlay) { position: relative; }
  .site-header .brand { position: relative; z-index: 1001; min-width: 0; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; flex: none;
    position: relative; z-index: 1001; width: 2.75rem; height: 2.75rem; padding: 0 0.55rem;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; width: 100%; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-header .site-nav {
    position: fixed; inset: 0; z-index: 1000; margin: 0;
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 1.7rem;
    padding: 6rem var(--pad) 3rem; background: var(--dark); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .nav-open .site-header .site-nav { opacity: 1; visibility: visible; }
  .site-header .site-nav .session { display: flex; flex-direction: column; align-items: flex-start; gap: 1.7rem; margin: 0; padding: 1.7rem 0 0; border-top: 1px solid rgba(250, 247, 242, 0.18); width: 100%; }
  .site-header .site-nav a:not(.nav-cta) { color: #FAF7F2; font-size: 1.05rem; margin: 0; padding: 0; }
  .site-header .site-nav .nav-cta { margin: 0; }
  .nav-open .site-header .brand, .nav-open .site-header .nav-toggle { color: #FAF7F2; }
}
@media (max-width: 420px) {
  .site-header .brand { font-size: 0.78rem; letter-spacing: 0.14em; gap: 0.6rem; }
  .site-header .brand::before { width: 2.2rem; height: 2.2rem; font-size: 0.95rem; }
}
/* handy-menue-knopf */
@media (max-width: 1380px) {
  .site-header .site-nav a.nav-cta { background: #FAF7F2; border-color: #FAF7F2; color: var(--dark); padding: 0.9rem 1.5rem; }
}

/* kein-seitliches-scrollen */
html, body { overflow-x: clip; max-width: 100%; }
.hero, .page-hero, main, .site-footer { overflow-x: clip; }

/* auswahl-chips */
.field .chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.field .chips label {
  position: relative; display: inline-flex; align-items: center; width: auto; margin: 0;
  padding: 0.75rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF;
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink);
  cursor: pointer; user-select: none; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.field .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.field .chips label:hover { border-color: var(--ink); }
.field .chips label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #FAF7F2; }
.field .chips label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .chips-label { margin: 0.9rem 0 0.5rem; font-size: 0.8rem; color: var(--muted); }
.field label + .chips-label { margin-top: 0.2rem; }
/* formular-zeiten */
.time-row { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; }
.time-row label { display: flex; align-items: center; gap: 0.6rem; margin: 0; }
.time-row select { width: auto; min-width: 7.5rem; }

/* ausbildungen-seite */
.page-hero--ausbildungen::before { background-image: url("https://static.wixstatic.com/media/716382_132e3c7f5f7e41198480d0c85536114d~mv2.jpeg"); background-position: center 45%; }
.vergleich-bar { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 2rem; padding: 1.4rem 1.6rem; background: var(--tint); border-radius: var(--radius); }
.vergleich-bar label { display: flex; flex-direction: column; gap: 0.4rem; flex: 1 1 11rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.vergleich-bar select { width: 100%; }
.vergleich-row { display: grid; grid-template-columns: minmax(0, 2.4fr) repeat(3, minmax(0, 1fr)) auto; gap: 1.2rem 1.8rem; align-items: start; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.vergleich-row:last-child { border-bottom: 1px solid var(--line); }
.vergleich-row .v-main { grid-row: span 2; }
.vergleich-row h3 { font-size: 1.4rem; margin: 0.3rem 0 0.4rem; }
.vergleich-row .match-badge { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 0; }
.v-text { color: var(--muted); font-size: 0.95rem; margin: 0; }
.v-cell { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.98rem; min-width: 0; overflow-wrap: anywhere; }
.v-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.v-preis { grid-column: 5; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; text-align: right; }
.v-preis strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; white-space: nowrap; }
.vergleich-hinweis { color: var(--muted); font-size: 0.88rem; margin-top: 1.6rem; }
.vergleich-cta { background: var(--dark); color: #FAF7F2; text-align: center; padding: clamp(3.5rem, 8vw, 6rem) var(--pad); }
.vergleich-cta .section-label { color: var(--accent-soft); }
.vergleich-cta h2 { margin-bottom: 0.8rem; }
.vergleich-cta p { color: rgba(250, 247, 242, 0.8); margin-bottom: 1.8rem; }
.vergleich-cta .btn-primary { background: #FAF7F2; color: var(--dark); border-color: #FAF7F2; }
@media (max-width: 860px) {
  .vergleich-row { grid-template-columns: 1fr 1fr; }
  .vergleich-row .v-main { grid-column: 1 / -1; grid-row: auto; }
  .v-preis { grid-column: 1 / -1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}

.hero-schule { margin-top: 1.8rem; }

/* karten-ansicht */
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-control); overflow: hidden; margin-bottom: 1.8rem; }
.view-toggle button { padding: 0.7rem 1.5rem; background: transparent; border: 0; cursor: pointer; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.view-toggle button[aria-pressed=true] { background: var(--ink); color: #FAF7F2; }
.karte { height: min(70vh, 36rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); position: relative; z-index: 0; }
.karte-info { color: var(--muted); font-size: 0.9rem; margin: 1rem 0 2rem; }
.karte .leaflet-popup-content { font-family: inherit; font-size: 0.95rem; margin: 1rem 1.2rem; }
.karte .leaflet-popup-content-wrapper { border-radius: var(--radius); }
.karte-pop h4 { font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin: 0 0 0.2rem; }
.karte-pop p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.85rem; }
.karte-pop a { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.karte-pop + .karte-pop { border-top: 1px solid var(--line); margin-top: 0.8rem; padding-top: 0.8rem; }

/* menue-eine-zeile */
@media (min-width: 1381px) {
  html .site-header { flex-wrap: nowrap; gap: 1rem; }
  html .site-header .brand { flex: none; white-space: nowrap; font-size: clamp(0.7rem, 0.25rem + 0.5vw, 0.82rem); letter-spacing: 0.16em; }
  html .site-header .site-nav { flex: none; flex-wrap: nowrap; gap: clamp(0.7rem, 1vw, 2rem); }
  html .site-header .site-nav .session { flex-wrap: nowrap; gap: clamp(0.7rem, 1vw, 2rem); min-width: 0; }
  html .site-header .site-nav a, html .site-header .site-nav .btn-text, html .site-header .site-nav .lang-switch { white-space: nowrap; font-size: clamp(0.64rem, 0.2rem + 0.5vw, 0.76rem); letter-spacing: 0.1em; }
  html .site-header .site-nav a.nav-cta { padding: 0.6rem 1rem; }
}
@media (min-width: 1600px) {
  html .site-header .brand { letter-spacing: 0.26em; }
  html .site-header .site-nav a, html .site-header .site-nav .btn-text, html .site-header .site-nav .lang-switch { letter-spacing: 0.16em; }
  html .site-header .site-nav a.nav-cta { padding: 0.75rem 1.3rem; }
}
