@import url("fonts.css");

/* ==================================================================
   Ostsee-Ferienwohnung Marysol, Scharbeutz
   Farbwelt aus den Fotos der Wohnung und des Strandes abgeleitet.
   ================================================================== */

:root {
  /* Ostsee */
  --c-deep:      #0F3C4C;
  --c-deep-2:    #145065;
  --c-sea:       #1C6B87;
  --c-sea-light: #54A4D3;
  --c-sky:       #DCEAF3;
  --c-sky-soft:  #EEF5FA;
  /* Sand & Duene */
  --c-sand:      #F7F2E9;
  --c-sand-2:    #EFE7D8;
  --c-sand-dk:   #D9C9AC;
  --c-dune:      #7E8466;
  /* Strandkorb */
  --c-amber:     #C0682C;
  --c-amber-dk:  #A2551F;
  /* Text */
  --c-ink:       #1E2A30;
  --c-muted:     #5A6A72;
  --c-line:      #E3DED3;
  --c-white:     #FFFFFF;

  --ff-head: 'Lora', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
             'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --sh-1: 0 1px 2px rgba(15, 60, 76, .06), 0 4px 12px rgba(15, 60, 76, .06);
  --sh-2: 0 2px 6px rgba(15, 60, 76, .08), 0 16px 40px rgba(15, 60, 76, .10);

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-deep);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.35vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.4rem); }
h4 { font-size: 1.0625rem; font-family: var(--ff-body); font-weight: 600; }

p  { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; color: var(--c-deep); }

a { color: var(--c-sea); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-amber-dk); }

:focus-visible {
  outline: 3px solid var(--c-sea-light);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 8px; top: -100px;
  z-index: 200; background: var(--c-deep); color: #fff;
  padding: .7em 1.2em; border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(3rem, 1.8rem + 5vw, 6rem) 0; }
.section--tight { padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 0; }
.section--sand { background: var(--c-sand); }
.section--sky  { background: var(--c-sky-soft); }
.section--deep { background: var(--c-deep); color: #DCE7EC; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep a { color: var(--c-sky); }

.lede {
  font-size: clamp(1.1rem, 1.02rem + .38vw, 1.32rem);
  line-height: 1.6;
  color: var(--c-deep-2);
}

/* Kopfzeile eines Abschnitts */
.sec-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem); }
.sec-head.is-center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-sea);
  margin-bottom: .7rem;
}
.eyebrow::after {
  content: ""; display: block; width: 34px; height: 2px;
  background: var(--c-amber); margin-top: .55rem; border-radius: 2px;
}
.sec-head.is-center .eyebrow::after { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--ff-body);
  font-size: .97rem; font-weight: 600; line-height: 1;
  padding: .95em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-amber); color: #fff; }
.btn--primary:hover { background: var(--c-amber-dk); color: #fff; }

.btn--sea { background: var(--c-sea); color: #fff; }
.btn--sea:hover { background: var(--c-deep); color: #fff; }

.btn--ghost { border-color: currentColor; color: var(--c-deep); background: transparent; }
.btn--ghost:hover { background: var(--c-deep); border-color: var(--c-deep); color: #fff; }

.btn--on-photo { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.btn--on-photo:hover { background: #fff; color: var(--c-deep); border-color: #fff; }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* Kleine Symbole, die mitten im Text stehen (z. B. hinter externen Links) */
a svg:not([class]), p svg:not([class]), li svg:not([class]) {
  display: inline-block;
  width: 1.02em; height: 1.02em;
  vertical-align: -.15em;
  margin-left: .25em;
}

/* ==================================================================
   Header
   ================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--c-sea); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--ff-head); font-weight: 600;
  font-size: 1.24rem; color: var(--c-deep); letter-spacing: .01em;
}
.brand__sub {
  font-size: .705rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; color: var(--c-muted);
}

.nav { display: flex; align-items: center; gap: clamp(.25rem, -.4rem + 1.6vw, 1.4rem); }
.nav__list { display: flex; align-items: center; gap: clamp(.1rem, -.5rem + 1.5vw, 1.1rem); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: block; position: relative;
  padding: .55em .5em;
  font-size: .945rem; font-weight: 500;
  color: var(--c-ink); text-decoration: none;
  transition: color .18s var(--ease);
}
.nav__link:hover { color: var(--c-sea); }
.nav__link::after {
  content: ""; position: absolute; left: .5em; right: .5em; bottom: .12em;
  height: 2px; border-radius: 2px; background: var(--c-amber);
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-deep); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .78em 1.35em; font-size: .92rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--c-line);
  border-radius: var(--r-sm); cursor: pointer; color: var(--c-deep);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: currentColor; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff;
    padding: 1rem 1.25rem 1.75rem;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-2);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .95em .2em; border-bottom: 1px solid var(--c-line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--c-amber-dk); }
  .nav .btn { margin-top: 1.1rem; justify-content: center; }
}

/* ==================================================================
   Hero
   ================================================================== */
.hero { position: relative; overflow: hidden; background: var(--c-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,60,76,.44) 0%, rgba(15,60,76,.12) 34%, rgba(15,60,76,.76) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 62vh; padding: clamp(4rem, 3rem + 7vw, 8rem) 0 clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  color: #fff;
}
.hero--home .hero__inner { min-height: min(78vh, 720px); }
.hero__inner h1 { color: #fff; max-width: 18ch; text-shadow: 0 2px 24px rgba(4,26,34,.45); }
.hero__kicker {
  display: inline-block; align-self: flex-start;
  font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  padding: .5em 1em; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero__sub {
  max-width: 46ch; font-size: clamp(1.05rem, .98rem + .4vw, 1.28rem);
  color: rgba(255,255,255,.94); margin-bottom: 1.9rem;
  text-shadow: 0 1px 14px rgba(4,26,34,.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Faktenleiste unter dem Hero */
.facts { background: var(--c-deep); color: #fff; }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.16);
}
.facts__item {
  padding: 1.6rem 1.25rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.16);
}
.facts__num {
  display: block; font-family: var(--ff-head); font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem);
  font-weight: 600; color: #fff; line-height: 1.1;
}
.facts__label {
  display: block; font-size: .78rem; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255,255,255,.72); margin-top: .35rem;
}
@media (max-width: 700px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); border-left: 0; }
  .facts__item { border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
  .facts__item:nth-child(2n) { border-right: 0; }
}

/* ==================================================================
   Bild/Text-Wechselbloecke
   ================================================================== */
.duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, .8rem + 3.4vw, 4rem);
  align-items: center;
}
.duo + .duo { margin-top: clamp(2.5rem, 1.4rem + 4vw, 5rem); }
.duo--flip .duo__media { order: 2; }
.duo__media { position: relative; }
.duo__media img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.duo__media figcaption {
  margin-top: .8rem; font-size: .875rem; color: var(--c-muted); font-style: italic;
}
.duo__body h3 { margin-bottom: .5em; }
.duo__body > :last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .duo { grid-template-columns: 1fr; gap: 1.4rem; }
  .duo--flip .duo__media { order: 0; }
}

/* Bildrahmen mit dezenter Sandflaeche dahinter */
.framed { position: relative; isolation: isolate; }
.framed::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 62%; height: 62%; background: var(--c-sand-2);
  border-radius: var(--r-lg); z-index: 0;
}
.framed > img { position: relative; z-index: 1; }
.duo--flip .framed::before { inset: auto auto -18px -18px; }
.section--sand .framed::before { background: var(--c-sky); }

/* ==================================================================
   Karten-Raster (Highlights)
   ================================================================== */
.cards {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-md); padding: 1.6rem 1.5rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-1); border-color: var(--c-sand-dk); }
.card__icon {
  width: 40px; height: 40px; color: var(--c-sea);
  margin-bottom: 1rem;
}
.card h3 { font-family: var(--ff-body); font-size: 1.06rem; font-weight: 600; margin-bottom: .35em; }
.card p { font-size: .945rem; color: var(--c-muted); margin: 0; }

/* ---------- Ausstattungsliste ---------- */
.checklist {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .55rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.checklist li {
  position: relative; padding-left: 1.9em; margin: 0;
  font-size: .97rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.15em; height: 1.15em;
  background: var(--c-sea);
  -webkit-mask: var(--check) center / 74% no-repeat;
          mask: var(--check) center / 74% no-repeat;
  border-radius: 50%;
}
:root {
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Infokasten ---------- */
.note {
  background: var(--c-sky-soft);
  border-left: 4px solid var(--c-sea-light);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.25rem 1.5rem;
}
.note > :last-child { margin-bottom: 0; }
.note--amber { background: #FBF1E9; border-left-color: var(--c-amber); }

/* ==================================================================
   Galerie
   ================================================================== */
.gallery {
  columns: 3 260px;
  column-gap: 1rem;
}
.gallery__item {
  break-inside: avoid; margin: 0 0 1rem;
  display: block; position: relative;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--c-sand-2);
  cursor: zoom-in; border: 0; padding: 0; width: 100%;
  box-shadow: var(--sh-1);
}
.gallery__item img {
  width: 100%; transition: transform .5s var(--ease), filter .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .9rem .75rem;
  font-size: .84rem; color: #fff; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(11,42,54,.82));
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: none; }

.gallery-filter {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.9rem;
}
.gallery-filter button {
  font: inherit; font-size: .92rem; font-weight: 500;
  padding: .5em 1.15em; border-radius: 999px;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink);
  cursor: pointer; transition: all .18s var(--ease);
}
.gallery-filter button:hover { border-color: var(--c-sea-light); color: var(--c-sea); }
.gallery-filter button[aria-pressed="true"] {
  background: var(--c-deep); border-color: var(--c-deep); color: #fff;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(8, 30, 39, .94);
  padding: clamp(.75rem, .3rem + 2vw, 3rem);
}
.lb[open], .lb.is-open { display: flex; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; gap: .9rem; }
.lb__img {
  max-width: 100%; max-height: calc(100dvh - 9rem);
  object-fit: contain; margin-inline: auto;
  border-radius: var(--r-sm); background: #0b2a36;
}
.lb__cap { color: rgba(255,255,255,.86); text-align: center; font-size: .92rem; }
.lb__cap span { color: rgba(255,255,255,.5); margin-left: .6em; font-variant-numeric: tabular-nums; }
.lb button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.24); border-radius: 50%;
  width: 46px; height: 46px; cursor: pointer;
  display: grid; place-items: center;
  transition: background .18s var(--ease);
}
.lb button:hover { background: rgba(255,255,255,.24); }
.lb button svg { width: 22px; height: 22px; }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lb__next  { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lb__prev { left: .5rem; } .lb__next { right: .5rem; }
  .lb button { width: 40px; height: 40px; }
}

/* ==================================================================
   Preistabelle
   ================================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.data {
  width: 100%; border-collapse: collapse;
  font-size: .96rem; background: #fff;
}
table.data caption {
  caption-side: bottom; padding-top: 1rem;
  font-size: .875rem; color: var(--c-muted); text-align: left;
}
table.data th, table.data td {
  padding: .85em 1em; text-align: left;
  border-bottom: 1px solid var(--c-line);
}
table.data thead th {
  background: var(--c-deep); color: #fff;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 0; vertical-align: bottom;
}
table.data thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
table.data thead th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
table.data tbody tr:nth-child(odd) { background: var(--c-sand); }
table.data tbody tr:hover { background: var(--c-sky-soft); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .price { font-weight: 700; color: var(--c-amber-dk); }
table.data .hint { color: var(--c-muted); font-size: .88rem; }
table.data tr.is-highlight { background: #FBF1E9 !important; }

/* Auf Mobil: jede Zeile wird zur Karte */
@media (max-width: 760px) {
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data caption { display: block; width: 100%; caption-side: bottom; }
  table.data thead { display: none; }
  table.data tbody tr {
    border: 1px solid var(--c-line); border-radius: var(--r-md);
    margin-bottom: .9rem; padding: .35rem .25rem; background: #fff !important;
  }
  table.data td {
    border: 0; display: flex; justify-content: space-between;
    align-items: baseline; gap: 1rem; padding: .5em .95em; text-align: right;
  }
  table.data td::before {
    content: attr(data-label);
    font-size: .78rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--c-muted); text-align: left;
  }
  table.data td:empty { display: none; }
  table.data td.num { text-align: right; }
}

/* ==================================================================
   Zwei-Klick-Einbettung (Karte / Belegungskalender)
   ================================================================== */
.embed {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--c-line); background: var(--c-sand);
}
.embed__consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center;
  padding: clamp(2rem, 1.2rem + 3vw, 4rem) 1.5rem;
  min-height: 320px;
  background-size: cover; background-position: center;
}
.embed__consent p { max-width: 52ch; color: var(--c-muted); font-size: .95rem; margin: 0; }
.embed__consent h3 { margin: 0; }
.embed__icon { width: 42px; height: 42px; color: var(--c-sea); }
.embed iframe { display: block; width: 100%; border: 0; }
.embed__frame { min-height: 460px; }

/* ==================================================================
   Formular
   ================================================================== */
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--c-deep); }
.field .req { color: var(--c-amber-dk); }
.field .help { font-size: .82rem; color: var(--c-muted); font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field textarea,
.field select {
  font: inherit; font-size: 1rem;
  width: 100%; padding: .8em .95em;
  color: var(--c-ink); background: #fff;
  border: 1px solid var(--c-sand-dk); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-sea);
  box-shadow: 0 0 0 3px rgba(84, 164, 211, .28);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4402F; }

.consent {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .92rem; line-height: 1.55; color: var(--c-muted);
}
.consent input[type="checkbox"] {
  width: 1.25em; height: 1.25em; margin: .18em 0 0; flex: none;
  accent-color: var(--c-sea); cursor: pointer;
}
.consent label { cursor: pointer; }

/* Honeypot - fuer Menschen unsichtbar, fuer Bots verlockend */
.hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-msg {
  padding: 1rem 1.25rem; border-radius: var(--r-sm);
  font-size: .96rem; margin-bottom: 1.5rem;
}
.form-msg--ok   { background: #E8F3EC; border-left: 4px solid #2E7D52; color: #1D4F35; }
.form-msg--err  { background: #FBEDEA; border-left: 4px solid #B4402F; color: #7C2A1E; }
.form-msg--info { background: var(--c-sky-soft); border-left: 4px solid var(--c-sea-light); color: var(--c-deep); }
.form-msg > :last-child { margin-bottom: 0; }

/* ==================================================================
   Kontakt-Teaser / CTA-Band
   ================================================================== */
.cta-band {
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 54ch; margin-inline: auto; }
.cta-band .btn { margin-top: .6rem; }

/* ==================================================================
   Rechtstexte
   ================================================================== */
.legal { max-width: 74ch; }
.legal h2 {
  font-size: clamp(1.3rem, 1.15rem + .7vw, 1.65rem);
  margin-top: 2.4em; padding-top: 1.2rem; border-top: 1px solid var(--c-line);
}
.legal h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.9em; }
.legal p, .legal li { font-size: .965rem; }
.legal a { word-break: break-word; }

/* ==================================================================
   Footer
   ================================================================== */
.site-footer { background: var(--c-deep); color: #B9CCD4; font-size: .945rem; }
.site-footer a { color: #DCEAF3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: 1.35fr 1fr 1fr;
  padding: clamp(2.75rem, 2rem + 3vw, 4.25rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  color: #fff; font-family: var(--ff-body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand { font-family: var(--ff-head); font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact svg { width: 1.1em; height: 1.1em; margin-top: .35em; flex: none; color: var(--c-sea-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 1.35rem 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  align-items: center; justify-content: space-between;
  font-size: .875rem; color: #8FA9B4;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-bottom li { margin: 0; }

/* ==================================================================
   Scroll-Einblendung
   ================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==================================================================
   Druck
   ================================================================== */
@media print {
  .site-header, .site-footer, .hero, .cta-band, .gallery-filter, .lb, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .section { padding: .5rem 0; }
}
