/* ZAHNGESUND - Uebergangsseite */

:root {
  --papier: #fbfaf7;
  --tinte: #1a1a18;
  --grau: #6d6a63;
  --grau-hell: #94908a;
  --linie: #ded9d0;
  --linie-zart: #ebe7e0;
  --akzent: #d99407;
  --akzent-flaeche: #fdaf17;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bahn: 64rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.bahn { max-width: var(--bahn); margin: 0 auto; padding: 0 2rem; }

/* ---------- Kopfleiste ---------- */

.kopfleiste {
  border-bottom: 1px solid var(--linie);
}

.kopfleiste .bahn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.wortmarke { display: block; }
.wortmarke img { display: block; width: 158px; height: auto; }

.kopf-telefon {
  font-size: .95rem;
  color: var(--tinte);
  text-decoration: none;
  white-space: nowrap;
}
.kopf-telefon span { color: var(--grau); margin-right: .55rem; }
.kopf-telefon:hover { color: var(--akzent); }

/* ---------- Aufmacher ---------- */

.aufmacher { padding: 5rem 0 4rem; border-bottom: 1px solid var(--linie); }

.aufmacher .bahn {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.ueberzeile {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 1.4rem;
  font-weight: 600;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 0 0 1.6rem;
}

.vorspann { font-size: 1.12rem; line-height: 1.62; margin: 0; max-width: 34rem; }

.notiz {
  margin: 0;
  padding-top: .9rem;
  border-top: 2px solid var(--tinte);
  font-size: .96rem;
  color: var(--grau);
}

/* ---------- Abschnitte ---------- */

.block { padding: 3.5rem 0; border-bottom: 1px solid var(--linie); }

.doppel .bahn {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

h2 {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grau);
  font-weight: 600;
  margin: 0 0 1.75rem;
}

/* ---------- Tasten ---------- */

.tasten { display: flex; flex-direction: column; gap: .55rem; }

.taste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  border: 1px solid var(--linie);
  border-radius: 10px;
  background: transparent;
  color: var(--tinte);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 550;
  letter-spacing: -.005em;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.taste:hover, .taste:focus-visible {
  border-color: var(--tinte);
  background: rgba(0, 0, 0, .025);
}

.taste-pfeil { color: var(--grau-hell); transition: transform .16s ease, color .16s ease; }
.taste:hover .taste-pfeil { transform: translateX(4px); color: var(--tinte); }

.taste-voll {
  background: var(--akzent-flaeche);
  border-color: var(--akzent-flaeche);
  color: #221a05;
  font-weight: 650;
  font-size: 1.08rem;
  padding: 1.2rem 1.35rem;
}
.taste-voll:hover, .taste-voll:focus-visible {
  background: #f0a40b;
  border-color: #f0a40b;
  color: #221a05;
}
.taste-voll .taste-pfeil { color: #6b5311; }
.taste-voll:hover .taste-pfeil { color: #221a05; }

.hinweis-klein { font-size: .9rem; color: var(--grau); margin: 1.4rem 0 0; }

/* ---------- Sprechzeiten ---------- */

.zeiten { margin: 0; }

.zeiten div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--linie-zart);
}
.zeiten div:first-child { border-top: 1px solid var(--linie-zart); }

.zeiten dt { color: var(--grau); font-size: .95rem; }
.zeiten dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Anfahrt ---------- */

.karte-bild {
  display: block;
  position: relative;
  margin-bottom: 2rem;
  border: 1px solid var(--linie);
}
.karte-bild img { display: block; width: 100%; height: auto; }

.karte-knopf {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--papier);
  border-top: 1px solid var(--linie);
  border-right: 1px solid var(--linie);
  color: var(--tinte);
  font-size: .88rem;
  font-weight: 600;
  padding: .7rem 1.1rem;
}
.karte-bild:hover .karte-knopf { color: var(--akzent); }

.spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2.25rem;
}

.spalte h3 {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--grau-hell);
  font-weight: 600;
  margin: 0 0 .65rem;
}

.spalte p, .spalte address {
  margin: 0;
  font-style: normal;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--grau);
}
.spalte address { color: var(--tinte); }

.quelle { font-size: .76rem; color: var(--grau-hell); margin: -1.4rem 0 2rem; }

/* ---------- Fuß ---------- */

.fussleiste { padding: 2.25rem 0 3rem; }

.fussleiste .bahn {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .88rem;
  color: var(--grau-hell);
}

.fussleiste a { color: var(--grau); text-decoration: none; }
.fussleiste a:hover { color: var(--akzent); }
.fuss-links a + a { margin-left: 1.5rem; }

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

/* ---------- Rechtstexte ---------- */

.rechtstext { padding: 3.5rem 0 1rem; max-width: 42rem; }
.rechtstext h1 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin-bottom: 2rem; }
.rechtstext h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tinte);
  font-weight: 400;
  margin: 2.4rem 0 .7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--linie-zart);
}
.rechtstext h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.rechtstext p, .rechtstext address, .rechtstext li { font-size: 1rem; line-height: 1.68; }
.rechtstext address { font-style: normal; margin-bottom: 1rem; }
.rechtstext ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.rechtstext li { margin-bottom: .45rem; }

.zurueck {
  display: inline-block;
  font-size: .88rem;
  color: var(--grau);
  text-decoration: none;
  margin-bottom: 2rem;
}
.zurueck:hover { color: var(--akzent); }

/* ---------- Schmal ---------- */

@media (max-width: 54rem) {
  .aufmacher .bahn, .doppel .bahn { grid-template-columns: 1fr; gap: 2.5rem; }
  .aufmacher { padding: 3.25rem 0 2.75rem; }
}

@media (max-width: 34rem) {
  .bahn { padding: 0 1.25rem; }
  .kopfleiste .bahn { padding-top: 1rem; padding-bottom: 1rem; }
  .wortmarke img { width: 128px; }
  .kopf-telefon span { display: none; }
  .block { padding: 2.75rem 0; }
  .taste { padding: .95rem 1.15rem; font-size: .98rem; }
  .taste-voll { padding: 1.1rem 1.15rem; font-size: 1.02rem; }
  .zeiten div { flex-direction: column; gap: .1rem; padding: .65rem 0; }
  .zeiten dd { text-align: left; }
  .spalten { gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Mix: Symbole, Tafeln, Waerme ---------- */

body {
  background-image: linear-gradient(180deg, rgba(253, 175, 23, .07), rgba(253, 175, 23, 0) 26rem);
  background-repeat: no-repeat;
}

.taste { gap: .85rem; justify-content: flex-start; }
.taste-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }

.taste-symbol {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--akzent);
  display: block;
}
.taste-symbol svg { width: 100%; height: 100%; display: block; }
.taste-voll .taste-symbol { color: #4a3a0b; }

.tafel {
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: .4rem 1.15rem;
  background: rgba(255, 255, 255, .55);
}
.tafel div { border-bottom: 1px solid var(--linie-zart); }
.tafel div:first-child { border-top: 0; }
.tafel div:last-child { border-bottom: 0; }

.karte-bild { border-radius: 12px; overflow: hidden; }
.karte-knopf { border-radius: 0 10px 0 0; }

.spalte-symbol {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--akzent);
  margin-bottom: .7rem;
}
.spalte-symbol svg { width: 100%; height: 100%; display: block; }

@media (max-width: 34rem) {
  .tafel { padding: .3rem .95rem; }
}

/* ---------- Typografie-Feinschliff ---------- */

:root {
  --papier: #fcfbf8;
  --tinte: #16160f;
  --grau: #65625b;
  --grau-hell: #918d85;
  --linie: #e2ddd3;
  --linie-zart: #edeae3;
}

body {
  font-size: 17.5px;
  line-height: 1.62;
  font-feature-settings: "kern" 1;
  color-scheme: light;
}

.kopfleiste .bahn { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.wortmarke img { width: 168px; }

.kopf-telefon {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.kopf-telefon span {
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grau-hell);
  margin-right: .7rem;
}

.aufmacher { padding: 6rem 0 4.5rem; }

.ueberzeile {
  font-size: .72rem;
  letter-spacing: .2em;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.vorspann {
  font-size: 1.16rem;
  line-height: 1.58;
  color: #3a382f;
  max-width: 35rem;
  text-wrap: pretty;
}

.notiz {
  border-top-width: 1px;
  border-top-color: var(--tinte);
  padding-top: 1rem;
  font-size: .95rem;
  line-height: 1.55;
}

h2, .spalte h3 {
  font-size: .72rem;
  letter-spacing: .16em;
  font-weight: 600;
  color: var(--grau-hell);
}

h2 { margin-bottom: 1.6rem; }

.block { padding: 4rem 0; }

.taste {
  font-size: 1.04rem;
  font-weight: 560;
  letter-spacing: -.012em;
  border-radius: 11px;
}
.taste-voll {
  font-size: 1.12rem;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
}

.tafel { padding: .5rem 1.25rem; background: #fff; }
.zeiten dt { font-size: .97rem; color: var(--grau); }
.zeiten dd { font-size: 1.01rem; font-weight: 600; letter-spacing: -.01em; }

.hinweis-klein { font-size: .91rem; }

.spalte address { font-size: 1rem; line-height: 1.58; font-weight: 500; }
.spalte p { font-size: .97rem; line-height: 1.62; text-wrap: pretty; }

.rechtstext p, .rechtstext li, .rechtstext address { font-size: 1.02rem; line-height: 1.7; }

@media (max-width: 54rem) {
  .aufmacher { padding: 3.5rem 0 3rem; }
  .block { padding: 3rem 0; }
}

@media (max-width: 34rem) {
  body { font-size: 17px; }
  h1 { font-size: 2.05rem; letter-spacing: -.022em; }
  .vorspann { font-size: 1.08rem; }
  .wortmarke img { width: 136px; }
}
