/* Ferienhaus Salmerhof – Fischbachau */

/* ---------------------------------------------------------------- Schriften */
@font-face {
  font-family: 'Metrophobic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/metrophobic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Metrophobic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/metrophobic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Merienda'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/merienda-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merienda'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/merienda-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- Grundwerte */
:root {
  --blau: #325f93;
  --blau-dunkel: #274b74;
  --blau-tief: #1e3a5c;
  --text: #33302c;
  --grau: #6b665e;
  --hell: #f6f1e8;        /* warmes Creme statt kaltem Grau */
  --sand: #ede3d3;
  --dunkel: #211f1c;
  --weiss: #fff;

  --breite: 1200px;
  --luft: clamp(72px, 8vw, 120px);
  --radius: 12px;
  --radius-klein: 12px;
  --rand: #e6ded1;                       /* eine Rahmenfarbe für alle Karten */
  --schatten: 0 10px 28px rgb(40 34 26 / .07);
  --schatten-hoch: 0 18px 44px rgb(40 34 26 / .13);
  --kurve: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  font: 400 16px/1.75 Metrophobic, sans-serif;
  color: var(--text);
  background: var(--weiss);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }

h1, h2, h3 { font-family: Merienda, cursive; font-weight: 400; letter-spacing: -.03em; }

p { margin: 0 0 1.15em; }

.wrap { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.wrap--schmal { width: min(100% - 2.5rem, 760px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--weiss); padding: .8rem 1.2rem;
}
.skip:focus { left: 0; }

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

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-block;
  padding: .85rem 1.9rem;
  font-size: 1rem; line-height: 1.2;
  color: var(--weiss); background: var(--blau);
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 22px rgb(50 95 147 / .32);
  transition: transform .3s var(--kurve), box-shadow .3s var(--kurve), background .25s;
}
.knopf:hover {
  color: var(--weiss); background: var(--blau-dunkel);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgb(50 95 147 / .4);
}
.knopf--leer {
  color: var(--blau); background: rgb(255 255 255 / .82);
  box-shadow: 0 8px 22px rgb(20 32 48 / .14);
}
.knopf--leer:hover { color: var(--blau-dunkel); background: var(--weiss); }
.knopf--hell { color: var(--blau); background: var(--weiss); box-shadow: none; }
.knopf--hell:hover { color: var(--blau-dunkel); background: #eaf0f7; }

/* ---------------------------------------------------------------- Lesefortschritt */
.fortschritt {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 3px; pointer-events: none;
}
.fortschritt span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--blau), #6f9bc9);
  transform: scaleX(0); transform-origin: left;
}

/* ---------------------------------------------------------------- Kopfleiste */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--weiss);
  transition: background .35s, box-shadow .3s, transform .4s var(--kurve);
}
/* Auf der Startseite liegt die Leiste über der Bühne und ist zunächst durchsichtig. */
.topbar--ueber { position: fixed; left: 0; right: 0; background: transparent; }
.topbar--ueber.ist-fest { background: var(--weiss); }
/* offenes Menü braucht Grund unter den Füßen, sonst steht es auf dem Bild */
.topbar--ueber:has(.nav.offen) { background: var(--weiss); box-shadow: 0 2px 20px rgb(20 32 48 / .12); }
.topbar.ist-weg { transform: translateY(-102%); }
.topbar.ist-fest { box-shadow: 0 2px 20px rgb(20 32 48 / .12); }
/* Die Leiste darf breiter laufen als der Textkörper – sonst bricht das Menü um. */
.topbar .wrap { width: min(100% - 3rem, 1440px); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem); min-height: 100px;
  transition: min-height .3s var(--kurve);
}
.topbar__rechts { display: flex; align-items: center; gap: 1.2rem; }
.topbar__tel {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-size: 1rem; color: var(--blau-tief); text-decoration: none;
  transition: color .25s;
}
.topbar__tel svg { fill: currentColor; }
.topbar__tel:hover { color: var(--blau); }
.topbar__knopf {
  padding: .7rem 1.6rem;
  font-size: 1rem; color: var(--weiss); background: var(--blau);
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background .25s, transform .3s var(--kurve), box-shadow .3s var(--kurve);
}
.topbar__knopf:hover {
  color: var(--weiss); background: var(--blau-dunkel);
  transform: translateY(-2px); box-shadow: 0 10px 22px rgb(50 95 147 / .35);
}
.topbar.ist-fest .topbar__inner { min-height: 80px; }
.topbar__logo img { width: 172px; transition: width .3s var(--kurve); }
.topbar.ist-fest .topbar__logo img { width: 145px; }

.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.nav a {
  position: relative; white-space: nowrap;
  font-size: 18px; color: var(--blau); text-decoration: none;
  padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--kurve);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a.ist-aktiv::after { transform: scaleX(1); }
.nav a.ist-aktiv { color: var(--blau-tief); }

.burger {
  display: none; width: 44px; height: 40px; padding: 8px;
  background: none; border: 0; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--blau);
  transition: transform .25s, opacity .2s;
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------------- Bühne */
.hero {
  position: relative;
  height: 100svh; max-height: 940px; min-height: 560px;
  display: grid; align-items: center;
  padding-top: 100px;           /* Platz für die Leiste darüber */
  background: #f7f6f2;
  overflow: hidden;
}
.hero__bild {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  transform-origin: 60% 55%;
  animation: heroZoom 32s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.16); }
}
/* heller Schleier wie im Original – nimmt der Zeichnung die Härte */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgb(252 249 242 / .94) 0%, rgb(252 249 242 / .74) 34%, rgb(252 249 242 / .22) 64%, rgb(252 249 242 / .06) 100%),
    linear-gradient(180deg, rgb(252 249 242 / .8) 0%, transparent 20%),
    linear-gradient(0deg, rgb(252 249 242 / .32), transparent 30%);
}

.hero__inhalt {
  position: relative; z-index: 1;
  width: min(100% - 3rem, var(--breite));
  margin-inline: auto;
}
.hero__schrift { width: min(78%, 520px); margin-bottom: 2.2rem; }
.hero__zeile {
  margin: .4rem 0 2rem;
  font-family: Merienda, cursive;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--blau-tief);
}
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }

.hero__weiter {
  position: absolute; left: 50%; bottom: 2.2rem; z-index: 1;
  width: 26px; height: 44px;
  border: 1px solid rgb(50 95 147 / .5); border-radius: 999px;
  transform: translateX(-50%);
}
.hero__weiter span {
  position: absolute; left: 50%; top: 9px;
  width: 4px; height: 8px; margin-left: -2px;
  background: var(--blau); border-radius: 2px;
  animation: weiter 1.9s ease-in-out infinite;
}
@keyframes weiter {
  0%, 100% { opacity: 0; transform: translateY(0); }
  35%      { opacity: 1; }
  75%      { opacity: 0; transform: translateY(16px); }
}

/* ---------------------------------------------------------------- Abschnitte */
.sec { position: relative; padding: var(--luft) 0; background-size: cover; background-position: center; }
.sec::before { content: ""; position: absolute; inset: 0; }
.sec > .wrap { position: relative; }

.sec--weiss { background: var(--weiss); }
.sec--weiss::before { display: none; }

.sec--creme { background: var(--hell); }
.sec--creme::before { display: none; }

/* Blau ist der einzige kräftige Block der Seite. */
.sec--blau { background: var(--blau); }
.sec--blau::before { display: none; }
.sec--blau { color: var(--weiss); }
.sec--blau a:not([class*="knopf"]) { color: var(--weiss); }
.sec--blau a:not([class*="knopf"]):hover { color: #dbe6f2; }

/* Der Abschluss vor dem Fuß: Holz, dunkel abgedeckt. */
.sec--foto { background-image: url(../img/holz.webp); }
.sec--foto::before { background: linear-gradient(180deg, rgb(28 26 24 / .84), rgb(28 26 24 / .74)); }
.sec--foto { color: var(--weiss); }
.sec--foto a:not([class*="knopf"]) { color: var(--weiss); }
.sec--foto a:not([class*="knopf"]):hover { color: #dbe6f2; }

.hl {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--blau-tief);
  margin: 0 0 2.6rem;
  display: flex; align-items: center; gap: 1.6rem;
}
.hl::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .22; }
.hl--hell { color: var(--weiss); }
.hl--klein { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 1.8rem; }

.galerie + .hl, .zwei + .hl, .preis-text + .hl { margin-top: var(--luft); }
.galerie:last-child { margin-bottom: 0; }
.galerie + .galerie { margin-top: 1.5rem; }

.hl__text { display: block; }
.wort { display: inline-block; white-space: pre; }

.vorspann {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6; color: var(--grau);
  max-width: 62ch; margin-bottom: 2rem;
}
.sec--blau .vorspann, .sec--foto .vorspann { color: rgb(255 255 255 / .85); }
.signatur { font-family: Merienda, cursive; font-size: 1.05rem; }

/* ---------------------------------------------------------------- Kicker */
.kicker {
  margin: 0 0 .8rem;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grau);
}
.kicker--hell { color: rgb(255 255 255 / .78); }
.sec--blau .kicker { color: rgb(255 255 255 / .78); }
.hero__inhalt .kicker { color: var(--grau); }

/* ---------------------------------------------------------------- Bausteine */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.karte { display: grid; grid-template-columns: 536px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.karte__bild { border-radius: var(--radius); box-shadow: var(--schatten); }

.stapel { display: grid; gap: 14px; align-content: start; }
.stapel__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.galerie { display: grid; gap: 12px; margin-bottom: 1.5rem; }

/* Die Spaltenzahl richtet sich nach der Bildzahl, damit jede Reihe voll wird
   und die Galerie unten bündig abschließt. */
.galerie--acht  { grid-template-columns: repeat(4, 1fr); }
.galerie--zehn  { grid-template-columns: repeat(5, 1fr); }
.galerie--fuenf { grid-template-columns: repeat(5, 1fr); }
.galerie--drei  { grid-template-columns: repeat(3, 1fr); }
.galerie--paar  { grid-template-columns: repeat(2, 1fr); }

.galerie .bild img { aspect-ratio: 4 / 3; height: auto; }
.galerie--paar .bild img, .galerie--drei .bild img { aspect-ratio: 3 / 2; }

.bild { grid-column: span 1; grid-row: span 1; }


.galerie--drei { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.galerie--paar { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }

/* In der Mosaikform füllt das Bild die Kachel – nicht das Bild bestimmt die Höhe. */

.bild {
  display: block; overflow: hidden;
  background: rgb(0 0 0 / .06);
  border-radius: var(--radius-klein);
  transition: transform .4s var(--kurve), box-shadow .4s var(--kurve);
}
.bild img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .6s var(--kurve);
}
.bild:hover, .bild:focus-visible { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.bild:hover img, .bild:focus-visible img { transform: scale(1.07); }
.stapel .bild { border-radius: var(--radius); }
.stapel .bild img { aspect-ratio: 3 / 2; }

.alm-text { columns: 2; column-gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2rem; }
.alm-text p { break-inside: avoid; }

.spruch {
  font-family: Merienda, cursive;
  color: var(--blau);
  font-size: 1.05rem; line-height: 1.5;
  padding-left: 1.2rem; border-left: 3px solid rgb(50 95 147 / .35);
}

/* ---------------------------------------------------------------- Ausstattung */
.merkmale {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: .9rem; margin: 2.6rem 0 0; padding: 0; list-style: none;
}
/* Luft zwischen den Ausstattungs-Kacheln und der Bilderreihe darunter */
.merkmale + .galerie { margin-top: 3.6rem; }
.merkmale li {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--weiss); border: 1px solid var(--rand);
  border-radius: var(--radius); font-size: .98rem;
  transition: transform .35s var(--kurve), box-shadow .35s var(--kurve);
}
.merkmale li:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.merkmale svg {
  flex: none; width: 24px; height: 24px;
  fill: none; stroke: var(--blau); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.js .merkmale svg path { stroke-dasharray: 120; stroke-dashoffset: 120; }
.js .merkmale li.ist-da svg path {
  stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--kurve);
}

/* ---------------------------------------------------------------- Freizeit-Kacheln */
.kacheln {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.kachel {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.6rem 1.7rem;
  background: var(--weiss); border: 1px solid var(--rand);
  border-radius: var(--radius); text-decoration: none;
  transition: transform .35s var(--kurve), box-shadow .35s var(--kurve), border-color .3s;
}
.kachel:hover { border-color: transparent; }
.kachel { position: relative; overflow: hidden; }
.kachel::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blau); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--kurve);
}
.kachel:hover { transform: translateY(-5px); box-shadow: var(--schatten-hoch); }
.kachel:hover::before { transform: scaleY(1); }
.kachel--weit { grid-column: span 2; }
.kachel__symbol {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: .4rem;
  background: var(--hell); border-radius: 999px;
}
.kachel__symbol svg {
  width: 22px; height: 22px; fill: none; stroke: var(--blau);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.kachel__thema {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau);
}
.kachel__titel {
  font-family: Merienda, cursive; font-size: 1.2rem; line-height: 1.35;
  color: var(--blau);
}
.kachel__mehr {
  margin-top: auto; padding-top: .8rem;
  font-size: .9rem; color: var(--grau);
}
.kachel__mehr::after {
  content: " ↗"; display: inline-block;
  transition: transform .3s var(--kurve);
}
.kachel:hover .kachel__mehr::after { transform: translate(3px, -3px); }

/* ---------------------------------------------------------------- Preis-Fakten */
.fakten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem; margin-bottom: 2.6rem;
}
.fakt {
  padding: 1.8rem;
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .25);
  border-radius: var(--radius);
  transition: transform .35s var(--kurve), background .35s;
}
.fakt:hover { transform: translateY(-4px); background: rgb(255 255 255 / .14); }
.fakt--betont { background: var(--weiss); border-color: var(--weiss); color: var(--text); }
.fakt--betont .fakt__zahl { font-size: 2.9rem; color: var(--blau-tief); }
.fakt--betont .fakt__text { color: var(--grau); }
.fakt--betont .fakt__zahl { font-size: 2.9rem; }
.fakt__zahl {
  display: block;
  font-family: Merienda, cursive; font-size: 2.3rem; line-height: 1.1;
  margin-bottom: .5rem;
}
.fakt__text { display: block; font-size: .98rem; color: rgb(255 255 255 / .88); }
.preis-text { max-width: 74ch; }

/* ---------------------------------------------------------------- Buchung */
.buchung {
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(1.5rem, 3vw, 3rem); align-items: start;
}
.buchung__info { font-size: 1rem; }
.buchung__info > p:first-child { color: var(--grau); }
.daten { margin: 1.6rem 0; }
.daten > div {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem;
  padding: .7rem 0; border-top: 1px solid var(--rand);
}
.daten > div:last-child { border-bottom: 1px solid var(--rand); }
.daten dt { color: var(--grau); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .15rem; }
.daten dd { margin: 0; }
.buchung__tel { margin-top: 1.8rem; color: var(--grau); }
.buchung__tel .knopf { margin-top: .6rem; }

.formular {
  margin-inline: auto;
  background: var(--weiss);
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--rand); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.formular .hl { color: var(--blau); }

form label { display: block; margin-bottom: .9rem; font-size: 14px; color: var(--grau); }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.feldreihe--strasse { grid-template-columns: 3fr 1fr; }
.feldreihe--plz { grid-template-columns: 1fr 2fr; }

input, textarea {
  width: 100%; margin-top: .35rem; padding: .7rem .9rem;
  font: inherit; color: var(--text);
  background: #f7f8f9; border: 1px solid #e3e6e9;
  border-radius: var(--radius-klein);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
input:focus, textarea:focus {
  outline: 0; background: var(--weiss);
  border-color: var(--blau); box-shadow: 0 0 0 3px rgb(50 95 147 / .13);
}
textarea { resize: vertical; }

.pflicht { margin: 1.6rem 0 .5rem; font-weight: 700; color: var(--text); }
.stern { color: #d33; }

.zustimmung { display: flex; gap: .7rem; align-items: flex-start; }
.zustimmung input { width: auto; margin-top: .4rem; }

button[type="submit"] {
  width: 100%; margin-top: 1.6rem; padding: 1rem 1.5rem;
  font: inherit; color: var(--weiss); background: var(--blau);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 22px rgb(50 95 147 / .3);
  transition: background .25s, transform .3s var(--kurve), box-shadow .3s var(--kurve);
}
button[type="submit"]:hover {
  background: var(--blau-dunkel); transform: translateY(-2px);
  box-shadow: 0 14px 30px rgb(50 95 147 / .38);
}
button[type="submit"][disabled] { opacity: .7; cursor: progress; transform: none; }

input:user-invalid, textarea:user-invalid { border-color: #d9534f; background: #fdf6f6; }
input:user-valid, textarea:user-valid { border-color: #b9cbb9; }

.meldung { padding: 1rem 1.2rem; border-left: 3px solid var(--blau); background: #eef3f9; border-radius: var(--radius-klein); }
.meldung--fehler { border-color: #d33; background: #fbeeee; }

/* ---------------------------------------------------------------- Partner + Kontakt */
.partner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
.partner img {
  width: 120px; height: auto;
  filter: grayscale(1); opacity: .72;
  transition: filter .4s, opacity .4s, transform .4s var(--kurve);
}
.partner img:hover { filter: none; opacity: 1; transform: translateY(-4px); }

.kontakt { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.kontakt__daten address { font-style: normal; font-size: 1.15rem; line-height: 2; margin-bottom: 1.4rem; }

.karte-consent {
  display: grid; place-content: center; gap: 1.2rem; justify-items: center;
  min-height: 420px; padding: 2rem; text-align: center;
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .22);
  border-radius: var(--radius);
  overflow: hidden;
}
.karte-consent p { max-width: 42ch; margin: 0; }
.karte-consent button {
  padding: .8rem 1.6rem; font: inherit; color: var(--blau);
  background: var(--weiss); border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .3s var(--kurve);
}
.karte-consent button:hover { transform: translateY(-2px); }
/* Ist die Karte geladen, füllt sie das Feld ohne Rand und Innenabstand. */
.karte-consent.ist-geladen { padding: 0; display: block; background: none; }
.karte-consent iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------- Fuß */
.fuss { background: var(--dunkel); color: #9aa1a8; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.fuss a { color: #c3c9cf; text-decoration: none; }
.fuss a:hover { color: var(--weiss); }

.fuss__oben {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.4rem;
}
.fuss__marke p { font-size: .95rem; line-height: 1.7; max-width: 46ch; }
.fuss__name { margin: 0; color: var(--weiss); font-family: Merienda, cursive; font-size: 1.3rem; }
.fuss__ort { margin: .1rem 0 1rem; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.fuss__insta { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; font-size: .9rem; }
.fuss__insta svg { transition: transform .3s var(--kurve); }
.fuss__insta:hover svg { transform: translateY(-2px); }

.fuss__spalte h2 {
  margin: 0 0 1rem; font-family: Metrophobic, sans-serif;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--weiss);
}
.fuss__spalte ul { margin: 0; padding: 0; list-style: none; }
.fuss__spalte li { margin-bottom: .55rem; font-size: .95rem; }
.fuss__spalte address { font-style: normal; font-size: .95rem; line-height: 1.8; margin-bottom: .8rem; }
.fuss__spalte p { margin: 0; font-size: .95rem; }

.fuss__unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem 2rem;
  padding-top: 1.6rem; border-top: 1px solid rgb(255 255 255 / .1);
}
.fuss__recht { display: flex; gap: 1.6rem; }
.fuss__recht a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9aa1a8; }
.fuss__stempel { margin: 0; font-size: 11px; letter-spacing: .08em; color: #6d747b; }

.made-by {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  opacity: .85; text-decoration: none; transition: opacity .25s;
}
.made-by:hover, .made-by:focus-visible { opacity: 1; }
.made-by > span:first-child {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8b929c;
}
.made-by img { height: 42px; width: auto; }

.destec-pop {
  position: absolute; bottom: calc(100% + 14px); right: 0; width: 270px;
  padding: 18px 20px 20px; text-align: left;
  background: var(--weiss); color: var(--text);
  border-radius: var(--radius);
  box-shadow: 0 26px 50px -20px rgb(0 0 0 / .55);
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--kurve), visibility .3s;
  z-index: 5; text-transform: none; letter-spacing: normal; font-size: 16px;
}
.made-by:hover .destec-pop, .made-by:focus-visible .destec-pop {
  opacity: 1; visibility: visible; transform: none;
}
.destec-pop i {
  display: block; font-style: normal; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blau); margin-bottom: 6px;
}
.destec-pop b {
  display: block; font-family: Merienda, cursive; font-size: 19px; line-height: 1.25;
  color: var(--blau-tief); margin-bottom: 8px;
}
.destec-pop em { display: block; font-style: normal; font-size: 15px; line-height: 1.5; }

/* ---------------------------------------------------------------- Ruf zur Anfrage (Handy) */
.ruf {
  position: fixed; left: 50%; bottom: 1rem; z-index: 45;
  display: none; padding: .85rem 1.9rem;
  color: var(--weiss); background: var(--blau);
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 26px rgb(20 32 48 / .35);
  transform: translate(-50%, 140%);
  transition: transform .45s var(--kurve);
}
.ruf.ist-da { transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- Lightbox */
.lightbox {
  width: min(94vw, 1400px); max-width: none; max-height: 94vh;
  padding: 0; border: 0; background: none; overflow: visible;
}
.lightbox::backdrop { background: rgb(0 0 0 / .9); }
.lightbox img { max-height: 88vh; margin-inline: auto; object-fit: contain; border-radius: var(--radius-klein); }
.lightbox__zu, .lightbox__nav {
  position: absolute; z-index: 2;
  background: rgb(0 0 0 / .45); color: #fff; border: 0; cursor: pointer;
  line-height: 1; font-family: inherit; border-radius: 999px;
  transition: background .25s;
}
.lightbox__zu { top: -.5rem; right: 0; width: 44px; height: 44px; font-size: 28px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox__nav--zurueck { left: .5rem; }
.lightbox__nav--vor { right: .5rem; }
.lightbox__zu:hover, .lightbox__nav:hover { background: rgb(0 0 0 / .8); }
.lightbox__zaehler {
  position: absolute; left: 50%; bottom: -2.4rem; transform: translateX(-50%);
  margin: 0; color: rgb(255 255 255 / .75); font-size: .9rem; letter-spacing: .1em;
}

/* ---------------------------------------------------------------- Recht als Popup */
.recht-modal {
  width: min(94vw, 780px); max-width: none; max-height: 86vh;
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--weiss); color: var(--text);
  box-shadow: 0 30px 80px rgb(0 0 0 / .4);
  overflow: hidden;
}
.recht-modal::backdrop { background: rgb(28 26 24 / .72); }
body.modal-offen { overflow: hidden; }

.recht-modal__kopf {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.4rem, 4vw, 2.6rem) 1rem;
  border-bottom: 1px solid var(--rand);
  background: var(--weiss);
}
.recht-modal__kopf .kicker { margin: 0; }
.recht-modal__zu {
  width: 40px; height: 40px; font-size: 26px; line-height: 1;
  color: var(--grau); background: var(--hell);
  border: 0; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .25s;
}
.recht-modal__zu:hover { color: var(--text); background: var(--sand); }

.recht-modal__inhalt {
  padding: 1.6rem clamp(1.4rem, 4vw, 2.6rem) 2.2rem;
  overflow-y: auto; max-height: calc(86vh - 76px);
  overscroll-behavior: contain;
}
.recht-modal__inhalt h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--blau-tief); margin: 0 0 1.4rem; }
.recht-modal__inhalt h2 { font-size: 1.2rem; color: var(--blau-tief); margin: 2rem 0 .5rem; }
.recht-modal__inhalt address { font-style: normal; line-height: 1.9; }
.recht-modal__inhalt ul { padding-left: 1.2rem; }
.recht-modal__inhalt a { word-break: break-word; }
.stand { margin-top: 2rem; font-size: .85rem; color: var(--grau); }

/* ---------------------------------------------------------------- Rechtsseiten */
.recht { padding: calc(var(--luft) + 60px) 0 var(--luft); background: var(--hell); }
.recht__karte {
  background: var(--weiss); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--schatten);
}
.recht h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--blau-tief); margin: 0 0 2rem; }
.recht h2 { font-size: 1.35rem; color: var(--blau-tief); margin: 2.4rem 0 .6rem; }
.recht h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
.recht a { word-break: break-word; }
.recht address { font-style: normal; line-height: 1.9; }

/* ---------------------------------------------------------------- Animationen */
/* Startzustände nur setzen, wenn JavaScript sie auch wieder aufhebt */
.js [data-reveal],
.js [data-reveal-gruppe] > *,
.js .hero__inhalt > *,
.js [data-worte] .wort { opacity: 0; }
.js .topbar--ueber .nav a,
.js .topbar--ueber .topbar__logo,
.js .topbar--ueber .topbar__rechts { opacity: 0; }

/* Die Linie neben der Überschrift wächst beim Erscheinen mit */
.js .hl::after { transform: scaleX(0); transform-origin: left; }
.js .hl.ist-da::after { transform: scaleX(1); transition: transform 1s .25s var(--kurve); }

/* ---------------------------------------------------------------- Schmale Geräte */
@media (max-width: 1180px) {
  .topbar__tel { display: none; }
}

@media (max-width: 980px) {
  .karte { grid-template-columns: 1fr; }
  .kachel--weit { grid-column: span 1; }
}

@media (max-width: 980px) {
  .zwei, .kontakt { grid-template-columns: 1fr; }

  .burger { display: block; }
  .nav {
    display: none; width: 100%; flex-direction: column; gap: 0;
    padding-bottom: 1rem;
  }
  .nav.offen { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid #e6e6e6; }
  .nav a::after { display: none; }
  .topbar__inner { flex-wrap: wrap; min-height: 72px; padding-block: .6rem; }
  .topbar__logo img, .topbar.ist-fest .topbar__logo img { width: 128px; }

  .hero { height: 92svh; max-height: 780px; padding-top: 76px; }
  .hero__schrift { width: min(88%, 340px); }

  .feldreihe { grid-template-columns: 1fr; }
  .ruf { display: block; }

  /* Fuß einspaltig – die drei Spalten passen nicht nebeneinander */
  .fuss__inner { grid-template-columns: 1fr; justify-items: start; }
  .fuss__nav { flex-wrap: wrap; gap: 1rem 1.4rem; }
  .fuss { padding-bottom: 6rem; }   /* Platz für den Anfrage-Knopf */
  .destec-pop {
    position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto;
    transform: translateY(10px);
  }
  .made-by:hover .destec-pop, .made-by:focus-visible .destec-pop { transform: none; }
  .hero__punkte { bottom: 5.2rem; }

  .merkmale { grid-template-columns: 1fr 1fr; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .kachel--weit { grid-column: span 2; }
  .buchung { grid-template-columns: 1fr; }
  .alm-text { columns: 1; }
  .fuss__oben { grid-template-columns: 1fr; }
  .fuss__unten { justify-content: flex-start; }

  /* Mosaik auf zwei Spalten, sonst werden die Kacheln zu schmal */
    .galerie--drei { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .galerie--drei .bild:first-child { grid-column: span 2; }
}

@media (max-width: 520px) {
  .merkmale, .kacheln { grid-template-columns: 1fr; }
  .recht-modal { width: 100vw; max-height: 92vh; border-radius: var(--radius) var(--radius) 0 0; }
  .kachel--weit { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal],
  .js [data-reveal-gruppe] > *,
  .js .hero__inhalt > *,
  .js [data-worte] .wort { opacity: 1 !important; }
}
