/* Michael Sprengler | statische Website */
:root {
  --white: #ffffff;
  --stone: #eeedea;
  --ink: #1d1d1f;
  --muted: #69696e;
  --line: #dedcd7;
  --gold: #806331;
  --gold-hover: #6d5328;
  --gold-light: #c9a961;
  --gold-lighter: #dcc48c;
  --gap: clamp(48px, 8vw, 110px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 125%;
  font-display: swap;
  src: url('../fonts/archivo-expanded-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}

.fd {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  font-stretch: 125%;
}

.wrap {
  max-width: 1108px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 40px);
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }

p { max-width: 62ch; }

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

/* Sprungmarke */
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  transition: top .15s ease-out;
}
.skip:focus-visible { top: 0; }

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

/* Kopfzeile */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  padding: 0;
}
.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease-out, border-color .2s ease-out;
}
.nav-list a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-call {
  font-weight: 600;
  color: var(--gold) !important;
}
.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 1px);
  background: var(--white);
  border: 1px solid var(--line);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  min-width: 230px;
  z-index: 50;
}
.menu-list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.menu-list a:hover { background: var(--stone); }

@media (max-width: 899px) {
  .nav-list { display: none; }
  .menu { display: block; }
}

/* Auftakt */
.hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: end;
}
.role {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: .005em;
  margin-bottom: 26px;
}
.shimmer {
  color: var(--ink);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .shimmer {
    background-image: linear-gradient(105deg, var(--ink) 0 44%, var(--gold-light) 50%, var(--ink) 56% 100%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 1.9s linear .35s 1 both;
  }
}
@keyframes shimmer {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}
.hero-text {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 36px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  border-radius: 0;
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-secondary {
  background: var(--white);
  color: var(--gold);
}
.btn-secondary:hover { background: var(--stone); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
}

.portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
  border: 1px solid var(--line);
  max-width: 460px;
  justify-self: end;
  width: 100%;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .74), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.portrait-name {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
}
.portrait::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  z-index: 3;
  background: linear-gradient(115deg, transparent 44%, rgba(255, 255, 255, .5) 50%, transparent 56%);
  transform: translateX(-70%);
  animation: sheen 1.9s linear .9s 1 both;
  pointer-events: none;
}
.portrait:hover::after { animation: sheen 1.2s linear 1 both; }
@keyframes sheen {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .portrait { justify-self: start; max-width: 340px; margin-top: 8px; }
}

/* Abschnitte */
.section { padding-block: var(--gap); }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}
.section-lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

/* Zahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 52px);
  margin-block: clamp(36px, 5vw, 60px);
  list-style: none;
  padding: 0;
}
.stat {
  position: relative;
  padding-top: 26px;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  animation: drawx 1.1s cubic-bezier(.2, .6, .2, 1) .3s backwards;
}
.stats li:nth-child(2) .stat::before, .stat.s2::before { animation-delay: .5s; }
.stat-num {
  display: block;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 6px;
}
.stat-label {
  display: block;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}
.stat p { color: var(--muted); font-size: 15.5px; }

/* Karte */
.map-fig {
  margin-block: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 36px);
}
.map-fig svg { display: block; width: 100%; height: auto; }
.map-fig figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}
.map-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-stretch: 125%;
  font-size: 15px;
  fill: var(--ink);
  text-anchor: middle;
  paint-order: stroke;
  stroke: #f7f5ef;
  stroke-width: 3px;
}
@media (max-width: 640px) {
  .map-label { font-size: 26px; stroke-width: 5px; }
}

/* Tueren */
.doors {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.door {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(26px, 3.6vw, 42px);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.door .tag {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.door h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.door p { color: var(--muted); font-size: 16px; }
.door .text-link { margin-top: auto; padding-top: 8px; }
.door-line {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
}
.door-line rect {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-dasharray: 392;
  stroke-dashoffset: 392;
  transition: stroke-dashoffset 1s linear;
}
.door:hover .door-line rect,
.door:focus-within .door-line rect { stroke-dashoffset: 0; }

.text-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color .2s ease-out, border-color .2s ease-out;
}
.text-link:hover { color: var(--gold-hover); border-color: var(--gold-hover); }

/* Fragen und Antworten */
.qa {
  border-top: 1px solid var(--line);
  padding-block: clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  gap: clamp(20px, 4vw, 56px);
}
.qa:first-of-type { border-top: 0; padding-top: 0; }
.qa h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.qa-body p + p { margin-top: 14px; }
.qa-body p { color: var(--ink); }

/* Metall-Plaketten */
.medals {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 40px);
  margin-top: 26px;
}
.medal { width: clamp(88px, 11vw, 118px); text-align: center; }
.medal svg { display: block; width: 100%; height: auto; }
.medal figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Gespraechsschritte */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  position: relative;
  counter-reset: step;
  margin-block: clamp(34px, 4.5vw, 56px);
}
.steps::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.steps li { position: relative; padding-top: 34px; }
.steps li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--gold);
}
.step-num {
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  margin-right: 6px;
}
.step-title { font-weight: 600; font-size: 18px; }
.steps p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

/* App */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.features { list-style: none; padding: 0; }
.features li {
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.features li:last-child { border-bottom: 1px solid var(--line); }
.features h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 6px; }
.features p { color: var(--muted); font-size: 15.5px; }

.phone {
  width: min(266px, 64vw);
  aspect-ratio: 9 / 19;
  border: 3px solid var(--ink);
  border-radius: 42px;
  background: var(--white);
  padding: 10px;
  justify-self: end;
}
.phone-screen {
  border: 1px solid var(--line);
  border-radius: 32px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  overflow: hidden;
}
.phone-app {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.phone-title { font-size: 17px; margin-top: 6px; }
.phone-step { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.phone-list { list-style: none; padding: 0; margin-top: 14px; font-size: 12.5px; }
.phone-list > li {
  border-top: 1px solid var(--line);
  padding: 9px 2px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.phone-list > li.phone-open { display: block; }
.phone-done { color: var(--muted); font-size: 11.5px; }
.phone-open { display: block; }
.phone-open .phone-open-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.phone-open dl {
  margin: 8px 0 2px;
  padding: 8px 10px;
  background: var(--stone);
  font-size: 11.5px;
}
.phone-open dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-block: 3px;
}
.phone-open dt { color: var(--muted); flex: 1 1 auto; }
.phone-open dd { margin: 0; font-weight: 600; white-space: nowrap; }
.phone-next {
  margin-top: auto;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px;
  border-radius: 10px;
}

/* Seneca */
.seneca {
  background: var(--stone);
  padding-block: clamp(64px, 9vw, 120px);
}
.seneca .zitate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.seneca blockquote {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.seneca cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-stretch: normal;
}
@media (max-width: 52rem) {
  .seneca .zitate { grid-template-columns: 1fr; }
}

/* Drei Wege */
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-block: clamp(32px, 4.5vw, 52px);
  list-style: none;
  padding: 0;
}
.ways li { border-top: 1px solid var(--line); padding-top: 24px; }
.ways svg {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}
.ways h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.ways p { color: var(--muted); font-size: 15.5px; }

/* Fragen als offene Karten */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.faq-card {
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 34px);
}
.faq-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
.faq-card p { font-size: 15.5px; }
.faq-card p + p { margin-top: 12px; }

/* Karten-Fuellung: Grundzustand ist gefuellt, die Animation ist eine Zugabe */
.map-play .hl { animation: landfuellung .5s ease-out both; }
.map-play .hl-at { animation-delay: .3s; }
.map-play .hl-hu { animation-delay: .6s; }
.map-play .hl-ro { animation-delay: .9s; }
@keyframes landfuellung {
  from { fill: #eeedea; }
}
.map-play .map-label { animation: namenblende .5s ease-out both; }
.map-play .lbl-at { animation-delay: .3s; }
.map-play .lbl-hu { animation-delay: .6s; }
.map-play .lbl-ro { animation-delay: .9s; }
@keyframes namenblende {
  from { opacity: 0; }
}

/* Luecken */
.luecke {
  display: block;
  background: #ffe23f;
  color: var(--ink);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 14px;
}
.luecke strong { font-weight: 700; }

/* Podcast */
.episode {
  border: 1px solid var(--line);
  padding: clamp(26px, 3.6vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.episode-title { font-size: 20px; font-weight: 600; line-height: 1.35; margin-bottom: 10px; }
.episode p { color: var(--muted); font-size: 15.5px; }
.episode-meta { font-size: 14px; color: var(--muted); margin-top: 12px; }
.episode-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
}
.face {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid var(--gold);
  margin-bottom: 24px;
  position: relative;
}
.face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-rows { list-style: none; padding: 0; }
.contact-rows li {
  border-top: 1px solid var(--line);
  padding-block: 16px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.contact-rows li:last-child { border-bottom: 1px solid var(--line); }
.contact-rows .k { color: var(--muted); font-size: 14px; }
.contact-rows a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
  transition: color .2s ease-out;
}
.contact-rows a:hover { color: var(--gold); }

.form { display: grid; gap: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { color: var(--ink); }
.form-status {
  font-size: 15px;
  border: 1px solid var(--gold);
  padding: 12px 16px;
  margin: 0;
}

/* Fuss */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 30px;
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.site-foot a {
  color: var(--ink);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}
.site-foot a:hover { border-bottom-color: var(--gold); color: var(--gold); }

/* Unterseiten */
.page-body { padding-block: clamp(40px, 6vw, 80px); }
.page-body h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 28px; }
.page-body h2 { font-size: 20px; margin-top: 36px; margin-bottom: 10px; }
.page-body p, .page-body address, .page-body ul { max-width: 68ch; font-size: 16px; }
.page-body address { font-style: normal; }
.page-body ul { padding-left: 22px; }
.page-body p + p { margin-top: 12px; }
.page-body a { color: var(--gold); }

/* Mobile */
@media (max-width: 899px) {
  .doors, .contact-grid, .episode, .app-grid, .faq-grid { grid-template-columns: 1fr; }
  .phone { justify-self: start; }
  .qa { grid-template-columns: 1fr; gap: 14px; }
  .ways { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; padding-left: 30px; }
  .steps::before { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .steps li { padding-top: 0; }
  .steps li::before { left: -30px; top: 5px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .contact-rows li { grid-template-columns: 1fr; gap: 2px; }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .shimmer {
    background-image: none;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
}
