/* @fontface-start */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
/* @fontface-end */

/* Layout: sticky Header, abwechselnde 50/50 Bild/Text-Sektionen, dann zentrierte Preise und Kontakt */
:root {
  --bg: #ffffff;
  --bg-soft: #f2f2f2;
  --ink: #434746;
  --text: #646867;
  --accent: #a7b7b4;
  --button: #62716e;
  --button-hover: #566865;
  --font: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --header-h: 92px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 300; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
h2, h3, p, li { overflow-wrap: break-word; hyphens: auto; }
strong { font-weight: 400; color: var(--ink); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--ink); color: var(--bg); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: clamp(16px, 3.7vw, 74px);
}
.logo {
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; gap: clamp(14px, 1.6vw, 32px); }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 20px;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
a:focus-visible, .btn:focus-visible, .menu-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; }
picture { display: contents; }

/* Split-Sektionen */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--header-h));
}
/* Bild so hoch wie der Abschnitt und in voller Höhe sichtbar; main.js schiebt es beim Scrollen seitlich durch */
.split .media { min-width: 0; }
.pan { position: relative; height: 100%; overflow: hidden; }
.split .media .pan img {
  position: absolute; top: 0; left: 50%;
  width: auto; height: 100%; max-width: none; min-width: 100%;
  object-fit: cover;
  transform: translateX(-50%);
  will-change: transform;
}
.split .content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px clamp(16px, 3vw, 56px);
}
.split.text-left .content { order: -1; }
.split .inner { max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
.split h2 { font-size: 30px; }

/* Hero */
.hero h1 {
  font-size: clamp(54px, 5.6vw, 92px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hero .role {
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.55;
  letter-spacing: normal;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 36px;
}
.hero .role::before {
  content: ""; width: 72px; height: 2px; background: var(--accent); flex: none;
}
.hero .lead { color: var(--ink); font-size: 19px; }
.hero .inner { gap: 22px; }

/* Listen */
.items { display: flex; flex-direction: column; gap: 16px; }
.item h3 { font-size: 19px; color: var(--ink); }

/* Preise */
.prices {
  background: var(--bg-soft);
  text-align: center;
  padding: 72px 16px 52px;
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
}
.prices h2, .contact h2 { font-size: 46px; margin-bottom: 26px; }
.prices .stack { display: flex; flex-direction: column; gap: 26px; }
.prices .price { color: var(--ink); font-size: 19px; }
.buttons {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px 90px; margin-top: 30px;
}
.btn {
  background: var(--button);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 11px 26px;
  transition: background .2s;
}
.btn:hover { background: var(--button-hover); }

/* Kontakt */
.contact { padding: 64px 16px 0; min-height: calc(100vh - var(--header-h)); }
.contact .intro {
  max-width: 1120px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 26px;
  font-size: 19px;
}
.contact .columns {
  max-width: 1120px; margin: 72px auto 0;
  display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 40px;
  font-size: 18px;
}
.contact h3 { font-size: 30px; margin-bottom: 22px; }
.contact .col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact .col a { text-decoration: none; }
.contact .col a:hover { color: var(--ink); }
.travel { grid-column: 1 / 3; line-height: 1.85; }
.travel h4 { font-size: 18px; color: var(--ink); }
.hours { display: grid; grid-template-columns: 120px 1fr; row-gap: 14px; margin: 0; font-variant-numeric: tabular-nums; }
.hours dt, .hours dd { margin: 0; }
.right-col { grid-column: 3; grid-row: 1 / 3; }
.map {
  max-width: 1146px; margin: 64px auto 0;
  min-height: 180px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.maplink { color: var(--ink); text-align: center; padding: 16px; }
.map-consent { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; text-align: center; max-width: 560px; }
.map-load { border: 0; font-family: inherit; cursor: pointer; }
.map-note { margin: 0; font-size: 14px; line-height: 1.6; }
.map-consent .maplink { padding: 0; font-size: 14px; }
.map.loaded { display: block; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  font-size: 14px; padding: 40px 16px;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* Rechtsseiten und 404 */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 72px;
  display: flex; flex-direction: column; gap: 18px;
}
.legal h1 { font-size: clamp(36px, 4vw, 46px); margin-bottom: 18px; }
.legal h2 { font-size: 24px; margin-top: 26px; }
.legal h3 { font-size: 19px; margin-top: 8px; }
.legal ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--ink); }
.legal .meta { font-size: 15px; }

/* Niedrige Bildschirme (Laptops): Text kompakter, damit jeder Abschnitt auf eine Bildschirmhöhe passt */
@media (min-width: 1081px) and (max-height: 860px) {
  .split .content { font-size: 15px; line-height: 1.5; padding-block: 20px; }
  .split h2 { font-size: 26px; }
  .item h3 { font-size: 17px; }
  .split .inner { gap: 14px; }
  .items { gap: 12px; }
}

/* Tablet */
@media (max-width: 1280px) {
  .nav a { font-size: 17px; }
  .logo { font-size: 20px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .js .menu-btn {
    display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 8px;
  }
  .menu-btn span { width: 26px; height: 1px; background: var(--ink); }
  html:not(.js) .header { height: auto; flex-wrap: wrap; padding-block: 14px; }
  .nav { flex-wrap: wrap; gap: 4px 16px; }
  .js .nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); padding: 8px clamp(16px, 3.7vw, 74px) 20px;
    border-top: 1px solid var(--bg-soft);
  }
  .js .nav a { padding: 10px 0; font-size: 20px; }
  .js .nav.open { display: flex; }
  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split .media { max-width: 100%; }
  .pan { height: auto; }
  .split .media .pan img { position: static; width: 100%; height: auto; min-width: 0; transform: none !important; }
  .split.text-left .content { order: 0; }
  .split .content { padding: 56px 16px; align-items: center; }
  .contact .columns { grid-template-columns: 1fr; }
  .travel, .right-col { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo { font-size: 17px; white-space: normal; }
  .prices h2, .contact h2 { font-size: 38px; }
  .contact .intro { font-size: 17px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
