/* Serenissima GmbH – keine externen Fonts/Skripte (DSGVO-freundlich) */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #f4f2ee;
  --ink-dim: rgba(244, 242, 238, .72);
  --line: rgba(244, 242, 238, .35);
  --bg: #111;
  --paper: #fafaf8;
  --text: #1a1a1a;
  --muted: #666;
  --serif: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* ---------- Startseite ---------- */
.home { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }

.bg {
  position: fixed; inset: 0; z-index: -1;
  background: #1c1c1c url("venedig.jpg") center 40% / cover no-repeat;
  filter: grayscale(1) brightness(.78);
  transform: scale(1.04);
  animation: drift 40s ease-in-out infinite alternate;
}
.bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 38% at 50% 48%, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 65%, rgba(0,0,0,.55));
}
@keyframes drift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.10) translate3d(-1%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .bg { animation: none; } }

.hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.eyebrow {
  font-size: .78rem; letter-spacing: .5em; text-transform: uppercase; color: var(--ink-dim);
  margin-bottom: 1.4rem; padding-left: .5em;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 6.4vw, 5.4rem);
  letter-spacing: .28em; text-transform: uppercase; line-height: 1;
  padding-left: .28em; /* optischer Ausgleich fürs Letterspacing */
}
.sub {
  margin-top: 1.4rem; font-size: .85rem; letter-spacing: .6em; text-transform: uppercase; color: var(--ink-dim);
  padding-left: .6em; position: relative;
}
.claim {
  margin-top: 2.6rem; max-width: 40rem;
  font-family: var(--sans); font-style: normal; font-weight: 300;
  font-size: clamp(.95rem, 1.7vw, 1.2rem); line-height: 1.7; letter-spacing: .02em; color: var(--ink);
  opacity: .92;
}
.sub::before, .sub::after {
  content: ""; display: inline-block; width: 2.5rem; height: 1px; background: var(--line);
  vertical-align: middle; margin: 0 1rem;
}

.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  font-size: .78rem; letter-spacing: .08em; color: var(--ink-dim);
}
.foot nav { display: flex; gap: 1.5rem; }
.foot a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.foot a:hover, .foot a:focus-visible { color: var(--ink); border-color: var(--line); }

/* ---------- Rechtstexte ---------- */
.legal { background: var(--paper); color: var(--text); }
.legal header {
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem); border-bottom: 1px solid #e6e4df;
  display: flex; justify-content: space-between; align-items: center;
}
.legal .brand {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .25em; font-size: 1.05rem; text-decoration: none;
}
.legal header a.back { font-size: .8rem; letter-spacing: .08em; color: var(--muted); text-decoration: none; }
.legal header a.back:hover { color: var(--text); }
.legal main { max-width: 42rem; margin: 0 auto; padding: 3.5rem 1rem 5rem; line-height: 1.65; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; letter-spacing: .04em; margin-bottom: 2.5rem; }
.legal h2 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 2.25rem 0 .6rem; font-weight: 600; }
.legal p { margin-bottom: .6rem; }
.legal .todo { background: #fff3c4; padding: 0 .25em; border-radius: 2px; }
.legal footer { text-align: center; font-size: .75rem; color: var(--muted); padding: 2rem 1rem; border-top: 1px solid #e6e4df; }

@media (max-width: 520px) {
  .foot { flex-direction: column-reverse; gap: .6rem; }
  .sub::before, .sub::after { width: 1.25rem; margin: 0 .6rem; }
  .hero h1 { letter-spacing: .22em; padding-left: .22em; }
  .claim br { display: none; }
}
