/* ---------------------------------------------------------------------------
   Villa Smokvica, Raslina. Entwurf v2, Bento.

   Vibe:   Soft Structuralism. Silberweisser Grund, kraeftige Grotesk,
           schwebende Flaechen mit sehr weichem Umgebungsschatten.
   Layout: Asymmetrisches Bento. Vier Spalten, unterschiedlich grosse Kacheln.
   Bau:    Doppelrand. Jede Kachel ist eine aeussere Schale mit Haarlinie und
           6 px Polsterung, darin ein eigener Kern mit eigenem Radius. Die
           Radien sind konzentrisch gerechnet, 30 minus 6 ergibt 24.
   Farbe:  Ein einziger Akzent, das Petrol des Prokljan-Sees. Er traegt genug
           Kontrast, um auch als Text auf Weiss zu bestehen (5.9:1).
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/works-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/works-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Token ---------------------------------------------------------------- */

:root {
  --ground:   #f1f3f1;
  --card:     #ffffff;
  --ink:      #0d2226;
  --muted:    #5b7176;
  --deep:     #0b3a3f;
  --on-deep:  #e7efee;
  --on-deep-2:#9fb9b9;
  --accent:   #0b6b74;
  --on-accent:#ffffff;

  --hair:     rgba(13, 34, 38, .09);
  --shell:    rgba(13, 34, 38, .045);
  --gloss:    rgba(255, 255, 255, .65);

  --sh:       0 1px 2px rgba(11, 58, 63, .04), 0 10px 30px -12px rgba(11, 58, 63, .16);
  --sh-lift:  0 2px 6px rgba(11, 58, 63, .05), 0 30px 62px -20px rgba(11, 58, 63, .28);
  --sh-pill:  0 1px 2px rgba(11, 58, 63, .05), 0 16px 40px -14px rgba(11, 58, 63, .22);

  --r-shell:  30px;
  --r-core:   24px;
  --r-media:  18px;

  --shell-pad: 6px;
  --gap:      14px;
  --page:     1240px;
  --band:     clamp(6rem, 10vw, 10rem);

  --e:        cubic-bezier(.32, .72, 0, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground:   #081a1d;
    --card:     #0e2529;
    --ink:      #e8efee;
    --muted:    #92a9ab;
    --deep:     #051215;
    --accent:   #52bcc2;
    --on-accent:#03181a;
    --hair:     rgba(232, 239, 238, .11);
    --shell:    rgba(232, 239, 238, .045);
    --gloss:    rgba(255, 255, 255, .06);
    --sh:       0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .5);
    --sh-lift:  0 2px 6px rgba(0, 0, 0, .35), 0 30px 62px -20px rgba(0, 0, 0, .66);
    --sh-pill:  0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -14px rgba(0, 0, 0, .55);
  }
}
:root[data-theme="dark"] {
  --ground:   #081a1d;
  --card:     #0e2529;
  --ink:      #e8efee;
  --muted:    #92a9ab;
  --deep:     #051215;
  --accent:   #52bcc2;
  --on-accent:#03181a;
  --hair:     rgba(232, 239, 238, .11);
  --shell:    rgba(232, 239, 238, .045);
  --gloss:    rgba(255, 255, 255, .06);
  --sh:       0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .5);
  --sh-lift:  0 2px 6px rgba(0, 0, 0, .35), 0 30px 62px -20px rgba(0, 0, 0, .66);
  --sh-pill:  0 1px 2px rgba(0, 0, 0, .35), 0 16px 40px -14px rgba(0, 0, 0, .55);
}

/* --- Grundlagen ----------------------------------------------------------- */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Korn: fest, ueber allem, nie auf einem scrollenden Container. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, .num {
  font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  margin: 0;
  letter-spacing: -.035em;
  line-height: 1.02;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.042em; }
h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.2; }

p { margin: 0; }
.lead  { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--muted); }
.body  { color: var(--muted); }
.body + .body { margin-top: 1.05em; }

.page {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.band { padding-block: var(--band); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--on-accent);
  padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Marke: Pille als Auszeichnung ---------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--shell);
  border: 1px solid var(--hair);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Schaltflaechen: Insel mit eingesetztem Kreis -------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: .975rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .7s var(--e), background-color .7s var(--e),
              box-shadow .7s var(--e), border-color .7s var(--e);
}
.btn__ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .875rem;
  line-height: 1;
  transition: transform .7s var(--e), background-color .7s var(--e);
}
.btn:active { transform: scale(.98); }

.btn--solid { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-pill); }
.btn--solid .btn__ico { background: rgba(255, 255, 255, .18); }
.btn--solid:hover .btn__ico { transform: translate(3px, -2px) scale(1.06); background: rgba(255, 255, 255, .28); }

.btn--quiet { background: var(--card); color: var(--ink); border-color: var(--hair); box-shadow: var(--sh); }
.btn--quiet .btn__ico { background: var(--shell); }
.btn--quiet:hover .btn__ico { transform: translate(3px, -2px) scale(1.06); }

.btn--sm { padding: 5px 5px 5px 18px; font-size: .9rem; gap: 10px; }
.btn--sm .btn__ico { width: 28px; height: 28px; font-size: .8rem; }

/* --- Schwebende Glaspille als Navigation ---------------------------------- */

.nav {
  position: sticky;
  top: 16px;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  margin-top: 16px;
}
.nav__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: color-mix(in srgb, var(--card) 74%, transparent);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--sh-pill), inset 0 1px 0 var(--gloss);
}
.mark {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  padding-right: 6px;
}
.mark span { color: var(--muted); font-weight: 400; }

.nav__links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0 4px;
  border-left: 1px solid var(--hair);
}
.nav__links a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .925rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .5s var(--e), background-color .5s var(--e);
}
.nav__links a:hover { color: var(--ink); background: var(--shell); }

/* Hamburger, zwei Striche, die sich zum Kreuz drehen. */
.burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--shell);
  cursor: pointer;
}
.burger i {
  position: absolute;
  left: 11px;
  width: 16px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .6s var(--e), opacity .3s var(--e);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 22px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  place-content: center;
  gap: .5rem;
  padding: 2rem;
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--e), visibility .6s var(--e);
}
.sheet[data-open="true"] { opacity: 1; visibility: visible; }
.sheet a {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.045em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .7s var(--e), transform .7s var(--e);
  transition-delay: calc(var(--i) * 60ms);
}
.sheet[data-open="true"] a { opacity: 1; transform: none; }

@media (max-width: 979px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__pill > .btn { display: none; }
}
@media (min-width: 980px) {
  .sheet { display: none; }
}

/* --- Kachel: Doppelrand --------------------------------------------------- */

.tile {
  position: relative;
  padding: var(--shell-pad);
  border-radius: var(--r-shell);
  background: var(--shell);
  border: 1px solid var(--hair);
  transition: transform .7s var(--e);
}
.tile__core {
  height: 100%;
  border-radius: var(--r-core);
  background: var(--card);
  box-shadow: var(--sh), inset 0 1px 0 var(--gloss);
  overflow: hidden;
  transition: box-shadow .7s var(--e);
}
.tile--lift:hover { transform: translateY(-4px); }
.tile--lift:hover .tile__core { box-shadow: var(--sh-lift), inset 0 1px 0 var(--gloss); }

.tile__pad { padding: clamp(1.4rem, 2.2vw, 2rem); height: 100%; display: flex; flex-direction: column; }
.tile__pad--between { justify-content: space-between; gap: 1.5rem; }
.tile__pad--mid { justify-content: center; }
/* Kurze Kacheln brauchen keine volle Zeilenhoehe. */
.bento--slim { grid-auto-rows: minmax(178px, auto); }

/* Das Bild wird absolut gesetzt, damit seine natuerliche Hoehe nicht die
   Zeilenhoehe des Rasters bestimmt. Sonst zieht ein 450x337-Foto in einer
   581 px breiten Kachel die ganze Zeile auf 435 px auf. */
.tile--media .tile__core { background: var(--deep); position: relative; }
.tile--media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.03);
  transition: transform 1.2s var(--e);
}
.tile--media.tile--lift:hover img { transform: scale(1.04); }

.tile--deep .tile__core { background: var(--deep); color: var(--on-deep); }
.tile--deep .body { color: var(--on-deep-2); }
.tile--deep .eyebrow { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: var(--on-deep-2); }

/* --- Bento ---------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
  gap: var(--gap);
}
.c2 { grid-column: span 2; }
.c3 { grid-column: span 3; }
.c4 { grid-column: span 4; }
.r2 { grid-row: span 2; }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c3, .c4 { grid-column: span 2; }
}
@media (max-width: 719px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .c2, .c3, .c4 { grid-column: span 1; }
  .r2 { grid-row: span 1; }
  .tile--media .tile__core { aspect-ratio: 4 / 3; height: auto; }
}

/* Zahlenkachel */
.num-tile { justify-content: space-between; gap: 1.5rem; }
.num {
  font-size: clamp(3rem, 5.2vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -.055em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.num i { font-style: normal; font-size: .36em; letter-spacing: -.02em; }
/* Ein Wort statt einer Zahl, etwa "Gäste-Favorit": kleiner, damit es in eine Kachel passt. */
.num--word { font-size: clamp(1.7rem, 2.4vw, 2.15rem); letter-spacing: -.04em; line-height: 1.05; }
.num-tile p { font-size: .95rem; color: var(--muted); }

/* --- Auftakt -------------------------------------------------------------- */

.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 2.75rem); }
.hero h1 { max-width: 13ch; margin-top: 1.6rem; }
.hero .lead { max-width: 44ch; margin-top: 1.7rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.4rem; }

/* --- Abschnittskopf ------------------------------------------------------- */

.head { max-width: 52ch; margin-bottom: clamp(2.2rem, 3.5vw, 3.2rem); }
.head h2 { margin-top: 1.2rem; }
.head .body { margin-top: 1.2rem; }

/* --- Appartements --------------------------------------------------------- */

.apts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none; margin: 0; padding: 0;
}
.apts--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--gap); }
@media (max-width: 899px) { .apts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .apts, .apts--pair { grid-template-columns: 1fr; } }

.apt__name { font-family: 'Outfit', sans-serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.04em; }
.apt__meta { margin-top: .5rem; font-size: .93rem; color: var(--muted); }
.apt__price {
  margin-top: auto; padding-top: 1.2rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem;
  font-variant-numeric: tabular-nums;
}
.apt__price b { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 500; letter-spacing: -.04em; color: var(--accent); white-space: nowrap; }
.apt__price span { font-size: .875rem; color: var(--muted); }

.group-label {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin: clamp(2.2rem, 3.5vw, 3rem) 0 1.3rem;
}
.group-label:first-of-type { margin-top: 0; }
.group-label h3 { font-size: 1.05rem; font-weight: 600; }
.group-label span { font-size: .93rem; color: var(--muted); }

.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.kit h3 { font-size: .95rem; font-weight: 600; font-family: 'Work Sans', sans-serif; letter-spacing: 0; }
.kit ul { margin: 1rem 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.kit li + li { margin-top: .5rem; }
@media (max-width: 719px) { .kit { grid-template-columns: 1fr; } }

/* --- Umgebung: waagerechte Spur ------------------------------------------- */

.around-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 3vw, 2.6rem); }

.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(272px, 24vw);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 1.5rem;
  margin-inline: -4px;
  scrollbar-width: thin;
}
.track::-webkit-scrollbar { height: 4px; }
.track::-webkit-scrollbar-thumb { background: var(--hair); border-radius: 999px; }
.stop { scroll-snap-align: start; }
.stop .tile__core { display: flex; flex-direction: column; }
.stop__media { aspect-ratio: 3 / 2; overflow: hidden; flex: none; }
.stop__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.03); transition: transform 1.2s var(--e); }
.stop:hover .stop__media img { transform: scale(1.04); }
.stop__txt { padding: 1.25rem 1.35rem 1.5rem; }
.stop__name { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.stop__name strong { font-family: 'Outfit', sans-serif; font-size: 1.16rem; font-weight: 500; letter-spacing: -.03em; }
.stop__name em { font-style: normal; font-size: .82rem; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stop__txt p { margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* --- Preise --------------------------------------------------------------- */

.rate__who { font-size: .95rem; color: var(--muted); }
.rate__who strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 500; letter-spacing: -.035em; color: var(--ink); margin-bottom: .35rem; }
.tile--deep .rate__who strong { color: var(--on-deep); }
.rate__pair { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3rem); margin-top: auto; padding-top: 1.6rem; }
.rate__cell b { display: block; font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.rate__cell span { display: block; margin-top: .15rem; font-size: .8rem; color: var(--muted); }

.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); font-size: .93rem; color: var(--muted); }
.extras b { display: block; color: var(--ink); font-weight: 600; margin-bottom: .2rem; }
@media (max-width: 719px) { .extras { grid-template-columns: 1fr; } }

.steps { counter-reset: s; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 26px 1fr; gap: .85rem;
  padding-block: .8rem;
  font-size: .93rem; color: var(--muted);
}
.steps li + li { border-top: 1px solid var(--hair); }
.steps li::before { content: counter(s); font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.tile--deep .steps li { color: var(--on-deep-2); }
.tile--deep .steps li + li { border-top-color: rgba(255, 255, 255, .12); }
.tile--deep .steps li::before { color: var(--on-deep); }

.dl { margin: 1.3rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.3rem; font-size: .95rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; }
.dl a { text-decoration-color: var(--hair); text-underline-offset: 3px; }

/* --- Fuss ----------------------------------------------------------------- */

.foot { padding-block: clamp(3rem, 5vw, 4rem) clamp(2rem, 3vw, 3rem); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.foot h3 { font-family: 'Work Sans', sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: 0; margin-bottom: .9rem; }
.foot p, .foot address { font-size: .93rem; font-style: normal; color: var(--on-deep-2); line-height: 1.75; }
.foot a { color: var(--on-deep); text-underline-offset: 3px; }
/* Muss .foot p schlagen, deshalb mit Element qualifiziert. */
.foot p.foot__mark {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.04em;
  color: var(--on-deep); line-height: 1.2; margin-bottom: .6rem;
}
.foot__legal { margin-top: clamp(2.2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: var(--on-deep-2); }
@media (max-width: 719px) { .foot__grid { grid-template-columns: 1fr; } }

/* --- Bewegung ------------------------------------------------------------- */

/* Versteckt wird nur, wenn Skripte laufen. Ohne JavaScript (oder in Browsern ohne
   die Abfrage "scripting") steht alles sofort da, nur ohne Einblendung. */
@media (scripting: enabled) {
  .rise { opacity: 0; transform: translateY(34px) scale(.975); }
  .rise--soft { filter: blur(9px); }
}
.rise {
  transition: opacity .9s var(--e), transform .9s var(--e);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.rise.in { opacity: 1; transform: none; }

/* Der Weichzeichner liegt nur auf den Kopfzeilen, nicht auf jeder Kachel. */
.rise--soft { transition: opacity .9s var(--e), transform .9s var(--e), filter .9s var(--e); }
.rise--soft.in { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .rise, .rise--soft { opacity: 1; transform: none; filter: none; transition: none; }
  .sheet a { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* --- Anfrage-Rechner (Playground) ------------------------------------------
   Formular im Stil der Kacheln: Felder auf dem Grundton, Haarlinie, Akzent
   nur im Fokus und in der Summe. Keine Inline-Styles, damit die strenge
   Content-Security-Policy der .htaccess nicht im Weg steht. */

.calc[hidden] { display: none; }
.calc__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 2rem; }
.calc__intro { margin: 0; max-width: 58ch; font-size: .93rem; }

.calc__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.1rem; margin-top: 1.5rem; }
.calc__field { display: flex; flex-direction: column; gap: .35rem; font-size: .8rem; color: var(--muted); }
.calc input, .calc select {
  width: 100%; min-height: 48px;
  padding: .65rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ground);
  border: 1px solid var(--hair);
  border-radius: 14px;
  color-scheme: light;
  transition: border-color .4s var(--e), box-shadow .4s var(--e);
}
.calc input:focus-visible, .calc select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}
:root[data-theme="dark"] .calc input, :root[data-theme="dark"] .calc select { color-scheme: dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .calc input, :root:not([data-theme="light"]) .calc select { color-scheme: dark; }
}

.calc__result { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hair); }
.calc__msg { margin: 0; font-size: .93rem; color: var(--muted); }
.calc__msg:empty, .calc__lines:empty, .calc__status:empty { display: none; }
.calc__lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 0; margin: 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.calc__lines dt { color: var(--muted); }
.calc__lines dd { margin: 0; padding-left: 2rem; text-align: right; color: var(--ink); white-space: nowrap; }
.calc__lines .calc__total { margin-top: .35rem; padding-top: .75rem; border-top: 1px solid var(--hair); font-family: 'Outfit', sans-serif; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); }
.calc__lines dd.calc__total { color: var(--accent); }

.calc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.4rem; }
.calc button.btn { cursor: pointer; }
.calc__actions [aria-disabled="true"], .calc__actions button:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.calc__status { margin: .9rem 0 0; font-size: .85rem; color: var(--ink); }
.calc__text { width: 100%; min-height: 13rem; margin-top: .9rem; padding: .8rem; font: .85rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: var(--ground); border: 1px solid var(--hair); border-radius: 14px; }
.calc__note { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }

@media (max-width: 899px) { .calc__form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .calc__form { grid-template-columns: 1fr; } }

/* --- Reisezeit-Regler (Playground) -----------------------------------------
   Kennzahlen als ruhige Kacheln, eine Leiste der Wassertemperatur als
   Hervorhebung: der gewaehlte Monat im Akzent, die anderen im Grau. Keine
   Inline-Styles im HTML; Saeulenhoehen setzt das Skript ueber CSSOM. */

.reise[hidden], .reise__tip[hidden] { display: none; }
.reise__k { display: block; font-size: .8rem; color: var(--muted); }

.reise__kopf { display: grid; gap: .6rem; }
.reise__monat { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; color: var(--ink); }
.reise__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.reise__range { width: 100%; margin: .4rem 0 0; accent-color: var(--accent); height: 28px; cursor: pointer; }
/* Die Marken sitzen genau unter den 12 Positionen des Reglerknopfs: 0 % bis 100 % der Spur,
   eingerueckt um den halben Knopf (8 px). Jede Marke ist 2.4rem breit und darauf zentriert. */
.reise__ticks { display: flex; justify-content: space-between; margin: 0 calc(8px - 1.2rem); padding: 0; list-style: none; font-size: .75rem; color: var(--muted); }
.reise__ticks li { width: 2.4rem; text-align: center; }
.reise__tick-kurz { display: none; }
@media (max-width: 599px) { .reise__tick-lang { display: none; } .reise__tick-kurz { display: inline; } }

.reise__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 1.6rem; }
.reise__stat { padding: 1rem 1.1rem; border-radius: 18px; background: var(--ground); border: 1px solid var(--hair); display: flex; flex-direction: column; gap: .15rem; }
.reise__stat strong { font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.reise__sub { font-size: .8rem; color: var(--muted); }
@media (max-width: 899px) { .reise__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.reise__dorf { margin: 1.3rem 0 0; font-size: 1rem; color: var(--ink); }

.reise__chart { margin: 1.8rem 0 0; }
.reise__plot { position: relative; height: 170px; margin-top: .7rem; padding-left: 1.8rem; }
.reise__grid { position: absolute; inset: 0 0 1.5rem 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
/* Vier Linien 30/20/10/0 mit gleichem Abstand: die Skala der Saeulen (0 bis 30 Grad).
   Die Zahl sitzt links im Randstreifen, die Linie beginnt erst beim Plot. */
.reise__grid span { position: relative; display: block; height: 0; margin-left: 1.8rem; border-top: 1px solid var(--hair); font-size: .7rem; line-height: 1; color: var(--muted); font-variant-numeric: tabular-nums; text-indent: -1.8rem; }
.reise__grid span { transform: translateY(-.5em); border-top-color: transparent; }
.reise__grid span::after { content: ''; position: absolute; left: 0; right: 0; top: .5em; border-top: 1px solid var(--hair); }
.reise__bars { position: absolute; inset: 0 0 1.5rem 1.8rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; border-bottom: 1px solid var(--hair); }
.reise__col { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0 1px; margin: 0; background: none; border: 0; cursor: pointer; }
.reise__mon { position: absolute; top: 100%; left: 0; right: 0; padding-top: .35rem; font-size: .7rem; line-height: 1; color: var(--muted); text-align: center; }
.reise__col.is-on .reise__mon { color: var(--ink); font-weight: 600; }
.reise__bar { position: relative; width: min(24px, 70%); border-radius: 4px 4px 0 0; background: color-mix(in srgb, var(--muted) 34%, transparent); transition: background-color .4s var(--e); }
.reise__col:hover .reise__bar { background: color-mix(in srgb, var(--muted) 55%, transparent); }
.reise__col.is-on .reise__bar { background: var(--accent); }
.reise__val { display: none; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: .25rem; font-size: .75rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.reise__col.is-on .reise__val { display: block; }
.reise__tip { position: absolute; top: -.4rem; transform: translate(calc(-50% + 1.8rem), -100%); display: flex; flex-direction: column; align-items: center; padding: .35rem .6rem; border-radius: 10px; background: var(--card); border: 1px solid var(--hair); box-shadow: var(--sh); font-size: .75rem; color: var(--muted); white-space: nowrap; pointer-events: none; }
.reise__tip strong { font-size: .9rem; color: var(--ink); }

.reise__tabelle { margin-top: 1.6rem; }
.reise[hidden] + .reise__tabelle { margin-top: 0; }
.reise__tabelle summary { cursor: pointer; font-size: .9rem; color: var(--ink); }
.reise__scroll { overflow-x: auto; margin-top: .8rem; }
.klima { width: 100%; border-collapse: collapse; font-size: .85rem; }
.klima caption { text-align: left; font-size: .8rem; color: var(--muted); padding-bottom: .5rem; }
.klima th, .klima td { padding: .45rem .6rem; border-top: 1px solid var(--hair); text-align: left; vertical-align: top; }
.klima thead th { font-weight: 600; color: var(--ink); border-top: 0; white-space: nowrap; }
.klima td:not([data-wert="dorf"]) { font-variant-numeric: tabular-nums; text-align: right; }
.klima td[data-wert="dorf"] { color: var(--muted); min-width: 16rem; }

.reise__quelle { margin: 1.2rem 0 0; font-size: .75rem; color: var(--muted); }
.reise__quelle a { color: inherit; text-underline-offset: 2px; }

/* --- Wege zur Anfrage (Playground-Umbau) -----------------------------------
   Schnellanfrage im Auftakt, "Anfragen" auf den Wohnungskarten und auf dem
   Handy eine feste Leiste. Alles fuehrt zum Rechner. */

.hero__cta [hidden], .schnell[hidden], .mobil-anfrage[hidden] { display: none; }
#anfrage-rechner { scroll-margin-top: 96px; }

.schnell { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; max-width: 780px; margin-top: 2.2rem; padding: .9rem; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-core); box-shadow: var(--sh); }
.schnell__feld { flex: 1 1 10rem; display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; color: var(--muted); }
.schnell__feld--klein { flex: 0 1 6.5rem; }
.schnell input { width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ground); border: 1px solid var(--hair); border-radius: 14px; color-scheme: light; transition: border-color .4s var(--e), box-shadow .4s var(--e); }
.schnell input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent); }
:root[data-theme="dark"] .schnell input { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .schnell input { color-scheme: dark; } }
.schnell__los { min-height: 48px; cursor: pointer; }
.schnell + .hero__cta { margin-top: 1.2rem; }

.apt__anfrage { align-self: flex-start; margin-top: .9rem; cursor: pointer; }
.apt__anfrage:disabled { opacity: .5; pointer-events: none; box-shadow: none; }

/* Suche -> Wohnungen: Ergebniszeile und persoenlicher Preis auf jeder Karte */
.schnell__msg { flex: 1 1 100%; margin: 0; font-size: .85rem; color: var(--ink); }
.schnell__msg:empty { display: none; }
.suche[hidden], .apt__persoenlich[hidden] { display: none; }
.suche, #appartements .group-label { scroll-margin-top: 96px; }
.suche { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; margin: 0 0 var(--gap); padding: .9rem 1.1rem; border-radius: 18px; background: color-mix(in srgb, var(--accent) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.suche:focus { outline: none; }
.suche__text { margin: 0; max-width: 70ch; font-size: .95rem; color: var(--ink); }
.suche__aendern { min-height: 40px; padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer; }
.apt__persoenlich { display: flex; flex-direction: column; gap: .1rem; margin-top: .75rem; padding-top: .7rem; border-top: 1px solid var(--hair); }
.apt__persoenlich b { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.apt__persoenlich span { font-size: .8rem; color: var(--muted); }
.apts .is-zu-klein { opacity: .55; }
.apts .is-zu-klein .apt__persoenlich b { font-family: inherit; font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }

.mobil-anfrage { display: none; }
@media (max-width: 719px) {
  .schnell__los { flex: 1 1 100%; justify-content: center; }
  .mobil-anfrage { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; justify-content: center; transition: opacity .4s var(--e), transform .4s var(--e); }
  .mobil-anfrage.is-weg { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .hat-mobil-anfrage footer { padding-bottom: 6rem !important; }
}

/* --- Mehrere Wohnungen (Playground) ----------------------------------------
   Im Rechner eine Zeile je Wohnung; ab 6 Personen auf den Karten
   "Hinzufuegen" und in der Suchzeile die Auswahl mit gemeinsamem Preis. */

.calc__field--wohnungen { grid-column: 1 / -1; }
/* Name und Adresse brauchen mehr Platz als eine Spalte, Telefon passt daneben. */
.calc__field--weit { grid-column: span 2; }
@media (max-width: 719px) { .calc__field--weit { grid-column: 1 / -1; } }
.calc__wohnungen { display: flex; flex-wrap: wrap; gap: .6rem; }
.calc__wohnung { display: flex; align-items: center; gap: .4rem; flex: 1 1 15rem; max-width: 24rem; }
.calc__wohnung select { flex: 1 1 auto; min-width: 0; }
.calc__weg { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer; }
.calc__wohnung:only-child .calc__weg { display: none; }
.calc__plus { align-self: flex-start; min-height: 40px; margin-top: .2rem; padding: .45rem .95rem; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--muted) 60%, transparent); background: none; color: var(--ink); font: inherit; font-size: .85rem; cursor: pointer; }
.calc__plus[hidden] { display: none; }

.apts .is-gewaehlt .tile__core { box-shadow: 0 0 0 2px var(--accent), var(--sh); }
.apt__anfrage[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.suche__auswahl { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-top: .75rem; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.suche__auswahl[hidden] { display: none; }
.suche__summe { margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.suche__weiter { cursor: pointer; }
.suche__weiter:disabled { opacity: .45; pointer-events: none; box-shadow: none; }

/* --- Wohnungsgalerien (Playground) -----------------------------------------
   Titelfoto oben in jeder Karte, ohne JavaScript ein aufklappbares Fotoraster,
   mit JavaScript eine Uebersicht als Dialog. Keine Inline-Styles im HTML. */

/* Karten mit Titelfoto: Kern als Spalte, damit der Inhalt unter dem Foto nicht abgeschnitten wird. */
.apts > li > .tile__core { display: flex; flex-direction: column; }
.apts > li > .tile__core > .tile__pad { height: auto; flex: 1 1 auto; }
/* Ohne JavaScript klappt das Fotoraster in der Karte auf. Damit die Nachbarkarte dann nicht
   mitwaechst (und ihr Preis ans untere Ende rutscht), richten sich die Karten nur dort oben aus. */
@media (scripting: none) { .apts { align-items: start; } }
.apt__titel { flex: none; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--shell); }
.apt__titel img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e); }
.apt__titel img.ist-klickbar { cursor: zoom-in; }
.tile--lift:hover .apt__titel img { transform: scale(1.03); }

.apt__fotos { margin-top: .9rem; font-size: .85rem; }
.apt__fotos[hidden] { display: none; }
.apt__fotos summary { cursor: pointer; color: var(--ink); }
.apt__raster { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.apt__raster img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--shell); }

.apt__aktionen { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.apt__aktionen .apt__anfrage { margin-top: 0; }
.apt__galerie { cursor: pointer; }

html.hat-dialog { overflow: hidden; }
.uebersicht { width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--hair); border-radius: var(--r-core); background: var(--card); color: var(--ink); box-shadow: var(--sh-lift); overflow: auto; }
.uebersicht::backdrop { background: rgba(4, 18, 20, .62); backdrop-filter: blur(3px); }
.uebersicht__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem .6rem; }
.uebersicht__kopf h3 { margin: 0; font-size: 1.5rem; }
.uebersicht__zu, .uebersicht__pfeil { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); color: var(--ink); font: inherit; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.uebersicht__buehne { position: relative; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: 0 1.2rem; touch-action: pan-y; }
.uebersicht__bild { margin: 0; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.uebersicht__bild img { display: block; width: auto; height: auto; max-height: min(52vh, 580px); object-fit: contain; border-radius: 14px; background: var(--shell); }
.uebersicht__bild figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.uebersicht__leiste { display: flex; gap: 6px; overflow-x: auto; padding: .8rem 1.2rem; }
.uebersicht__daumen { flex: none; padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; opacity: .65; transition: opacity .3s var(--e), border-color .3s var(--e); }
.uebersicht__daumen:hover { opacity: .9; }
.uebersicht__daumen img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--shell); }
.uebersicht__daumen[aria-current="true"] { border-color: var(--accent); opacity: 1; }
.uebersicht__info { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding: .8rem 1.2rem 1.1rem; border-top: 1px solid var(--hair); }
.uebersicht__angaben { flex: 1 1 auto; min-width: 0; }
.uebersicht__anfrage { flex: none; }
.uebersicht__meta { margin: 0; font-size: .95rem; color: var(--ink); }
.uebersicht__preis { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }
.uebersicht__anfrage { cursor: pointer; }
.uebersicht__anfrage[hidden] { display: none; }
.uebersicht__anfrage:disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.uebersicht__anfrage[aria-pressed="true"] { background: var(--card); color: var(--ink); border-color: var(--accent); }

@media (max-width: 599px) {
  .uebersicht { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .uebersicht__buehne { padding: 0 .6rem; }
  .uebersicht__pfeil { position: absolute; top: calc(50% - 1rem); z-index: 1; background: color-mix(in srgb, var(--card) 88%, transparent); }
  .uebersicht__pfeil--zurueck { left: 1rem; }
  .uebersicht__pfeil--weiter { right: 1rem; }
  .uebersicht__bild img { max-height: 56vh; }
  .uebersicht__info { flex-direction: column; align-items: stretch; }
  .uebersicht__anfrage { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .apt__titel img, .uebersicht__daumen { transition: none; }
  .tile--lift:hover .apt__titel img { transform: none; }
}

/* --- Übersicht Haus und Innenhof (Playground) -----------------------------
   Im Abschnitt Appartements: Haus, Innenhof und Garten statt Zimmerfotos,
   die stehen jetzt bei den einzelnen Wohnungen. Staffelung hier statt style="--i". */
figure.tile { margin: 0; }
.bento--uebersicht { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.bento--uebersicht > :nth-child(2), .bento--uebersicht > :nth-child(5) { --i: 1; }
.bento--uebersicht > :nth-child(3), .bento--uebersicht > :nth-child(6) { --i: 2; }
.bento--uebersicht > :nth-child(4), .bento--uebersicht > :nth-child(7) { --i: 3; }
.foto--tisch img { object-position: 50% 62%; }


/* --- Hilfsklassen statt style="" ------------------------------------------
   Die Sicherheitsregel (CSP style-src 'self') blockiert style-Attribute.
   !important, damit sie so stark wirken wie vorher die Inline-Angaben. */
.i-0 { --i: 0 !important; } .i-1 { --i: 1 !important; } .i-2 { --i: 2 !important; } .i-3 { --i: 3 !important; }
.i-4 { --i: 4 !important; } .i-5 { --i: 5 !important; } .i-6 { --i: 6 !important; } .i-7 { --i: 7 !important; }
.i-8 { --i: 8 !important; } .i-9 { --i: 9 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-05 { margin-top: .5rem !important; }
.mt-06 { margin-top: .6rem !important; }
.mt-07 { margin-top: .7rem !important; }
.mt-12 { margin-top: 1.2rem !important; }
.mt-13 { margin-top: 1.3rem !important; }
.mt-16 { margin-top: 1.6rem !important; }
.mt-gap { margin-top: var(--gap) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-bento { margin-bottom: clamp(2.5rem, 4vw, 3.5rem) !important; }
.pb-fuss { padding-bottom: clamp(2rem, 4vw, 3.5rem) !important; }
.fs-93 { font-size: .93rem !important; }
.farbe-hell { color: var(--on-deep) !important; }

/* --- Datenschutzerklärung ------------------------------------------------- */
.rechtstext { max-width: 72ch; padding-top: clamp(7rem, 12vw, 9rem); }
.rechtstext h1 { margin-top: 1.2rem; font-size: clamp(2rem, 5vw, 3.2rem); }
.rechtstext h2 { margin-top: 2.4rem; font-size: 1.35rem; }
.rechtstext .body, .rechtstext address { margin-top: .8rem; font-style: normal; }
.rechtstext a { color: var(--accent); }
.rechtstext__fuss { max-width: 72ch; }

/* --- Sprachwahl DE / EN --------------------------------------------------- */
.sprache {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 2.6rem; height: 2.4rem; padding: 0 .75rem; border-radius: 999px;
  border: 1px solid var(--hair); color: inherit; text-decoration: none;
  font: 600 .78rem/1 'Outfit', sans-serif; letter-spacing: .08em;
  transition: border-color .3s var(--e), color .3s var(--e);
}
.sprache:hover, .sprache:focus-visible { border-color: var(--accent); color: var(--accent); }


/* --- Datumshinweis --------------------------------------------------------
   Ein leeres <input type="date"> zeigt in Chrome immer das Datumsformat der
   Browsersprache — auf einem deutschen Rechner also tt.mm.jjjj, auch auf der
   englischen Seite. Der Feldtyp bleibt date (Kalender, min, und der Wert im
   Format yyyy-mm-dd, mit dem der Rechner arbeitet); im leeren Zustand wird
   der native Text nur verdeckt. Den Text setzt script.js je nach Sprache. */
.schnell__feld[data-hint], .calc__field[data-hint] { position: relative; }
.schnell__feld[data-hint].is-empty input,
.calc__field[data-hint].is-empty input { color: transparent; }
.schnell__feld[data-hint].is-empty input::-webkit-calendar-picker-indicator,
.calc__field[data-hint].is-empty input::-webkit-calendar-picker-indicator { opacity: 1; }
.schnell__feld[data-hint].is-empty::after,
.calc__field[data-hint].is-empty::after {
  content: attr(data-hint);
  position: absolute; bottom: 0; height: 48px;
  display: flex; align-items: center;
  font-size: 1rem; color: var(--muted);
  pointer-events: none;
}
.schnell__feld[data-hint].is-empty::after { left: .8rem; }
.calc__field[data-hint].is-empty::after { left: .85rem; }
.schnell__feld[data-hint].is-empty:focus-within input,
.calc__field[data-hint].is-empty:focus-within input { color: var(--ink); }
.schnell__feld[data-hint].is-empty:focus-within::after,
.calc__field[data-hint].is-empty:focus-within::after { content: none; }
