/* Geteilte Styles für Unterseiten (Impressum, Datenschutz, AGB) */

:root {
  --cream:      #F5EFE4;
  --cream-2:    #EDE3D2;
  --sand-light: #F0D89C;
  --sand:       #E4B46C;
  --teal:       #008887;
  --teal-dark:  #006e6d;
  --teal-deep:  #1E5460;
  --navy:       #1C2D4F;
  --navy-deep:  #131E36;
  --ink:        #1C2D4F;
  --ink-soft:   #4a5572;
  --line:       rgba(28, 45, 79, 0.14);
  --line-cream: rgba(245, 239, 228, 0.18);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --container: 880px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-dark); }
::selection { background: var(--teal); color: var(--cream); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(245, 239, 228, 0.9);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); }
.nav a {
  color: var(--navy);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
}
.nav a:hover { color: var(--teal); }
.nav .cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--teal); color: var(--cream);
  text-transform: none; letter-spacing: 0.01em; font-size: 14px;
}
.nav .cta:hover { background: var(--teal-dark); color: var(--cream); }
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden;
  font-size: 11.5px; letter-spacing: 0.08em;
}
.lang button {
  appearance: none; background: transparent; border: 0;
  color: var(--navy); padding: 5px 11px;
  font: inherit; font-weight: 600;
  cursor: pointer; text-transform: uppercase;
}
.lang button.active { background: var(--navy); color: var(--cream); }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }
@media (max-width: 540px) {
  .brand img { height: 38px; }
}

/* Page header */
.page-head {
  padding: clamp(60px, 8vw, 100px) 0 clamp(28px, 4vw, 50px);
}
.page-head .kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
  margin-bottom: 18px;
}
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04; letter-spacing: -0.012em;
  color: var(--navy);
  margin: 0 0 18px;
}
.page-head h1 i { font-style: italic; color: var(--teal-deep); font-weight: 400; }
.page-head .lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Content */
.legal-content {
  padding: clamp(20px, 4vw, 40px) 0 clamp(60px, 10vw, 110px);
}
.legal-content h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2; color: var(--navy);
  margin: clamp(36px, 5vw, 60px) 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-family: var(--sans);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
  margin: 26px 0 8px;
}
.legal-content p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  max-width: 70ch;
}
.legal-content p strong { color: var(--navy); font-weight: 600; }
.legal-content ul {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: grid; gap: 6px;
}
.legal-content ul li {
  padding-left: 18px; position: relative;
  color: var(--ink-soft);
  max-width: 70ch;
}
.legal-content ul li::before {
  content: "·"; color: var(--teal); font-weight: 700;
  position: absolute; left: 6px; top: 0;
}
.legal-content .note {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 24px 0;
}
.legal-content .placeholder {
  background: rgba(228, 180, 108, 0.22);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--navy);
  font-style: italic;
  font-size: 0.92em;
}
.legal-content address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 16px;
}
.legal-content .updated {
  font-size: 13px;
  color: rgba(28, 45, 79, 0.55);
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Footer (kompakte Variante) */
footer {
  background: var(--navy-deep);
  color: rgba(245, 239, 228, 0.7);
  padding: clamp(50px, 6vw, 80px) var(--gutter) clamp(24px, 3vw, 36px);
  font-size: 14px;
}
.foot-inner { max-width: 1240px; margin: 0 auto; }
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(36px, 4vw, 60px);
  padding-bottom: clamp(32px, 4vw, 50px);
  border-bottom: 1px solid rgba(245, 239, 228, 0.1);
}
.foot-brand .foot-word {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 16px;
  display: block;
}
.foot-brand .foot-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: rgba(245, 239, 228, 0.62);
  margin: 0; max-width: 32ch;
}
.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 4px 0 18px;
  font-weight: 600;
}
.foot-col p, .foot-col a {
  color: rgba(245, 239, 228, 0.72);
  font-size: 14px;
  line-height: 1.8;
  display: block;
  text-decoration: none;
  transition: color .25s ease;
}
.foot-col a:hover { color: var(--sand); }
.foot-bottom {
  display: flex; justify-content: space-between;
  padding-top: clamp(22px, 3vw, 32px);
  font-size: 12.5px; color: rgba(245, 239, 228, 0.45);
  gap: 18px; flex-wrap: wrap;
}
.foot-bottom .legal { display: flex; gap: 24px; }
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: var(--sand); }
@media (max-width: 820px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
  .foot-brand { grid-column: 1; }
  .foot-bottom { flex-direction: column; gap: 14px; }
}

/* Language switcher */
[data-de], [data-nl] { display: block; }
body.lang-de [data-nl] { display: none; }
body.lang-nl [data-de] { display: none; }
span[data-de], span[data-nl] { display: inline; }
body.lang-de span[data-nl] { display: none; }
body.lang-nl span[data-de] { display: none; }
