/* ═══════════════════════════════════════════════════════════
   KüstenGlanz Immobilienservice — light theme
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sand: #f6f1e7;
  --sand-deep: #eae1cd;
  --sea: #1f5d74;
  --sea-deep: #0f3b52;
  --ink: #24303a;
  --ink-muted: #5b6b72;
  --gold: #c69a5a;
  --gold-strong: #9a7846;
  --gold-light: #dcb27a;
  --white: #ffffff;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--sand);
  color: var(--ink);
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 4rem;
  background: rgba(246, 241, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 6px 30px rgba(31, 93, 116, 0.08); }

.nav-logo {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none;
}
.nav-logo img { height: 112px; width: 112px; display: block; object-fit: contain; transition: height 0.3s, width 0.3s; }
.nav-word {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-word .nav-word-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 500; color: var(--ink);
}
.nav-word .nav-word-main span { color: var(--gold-strong); }
.nav-word .nav-word-sub {
  font-size: 0.58rem; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-muted);
}

.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-muted);
  text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover { color: var(--sea); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switcher { display: flex; gap: 0.3rem; align-items: center; }
.lang-switcher a {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-muted);
  text-decoration: none; padding: 0.3rem 0.6rem;
  border: 1px solid transparent; border-radius: 2px;
  transition: all 0.3s;
}
.lang-switcher a:hover { color: var(--sea); border-color: rgba(31, 93, 116, 0.3); }
.lang-switcher a.active { color: var(--sea); border-color: var(--sea); }

.nav-cta {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.6rem 1.6rem;
  border: 1px solid var(--sea); color: var(--sea);
  background: transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--sea); color: var(--white); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 2.2rem; height: 2.2rem;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink); transition: transform 0.3s, opacity 0.3s;
}
nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 13rem 4rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(31, 93, 116, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 5% 90%, rgba(31, 93, 116, 0.035) 0%, transparent 60%),
    var(--sand);
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem; align-items: center;
  max-width: 1280px; margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-strong);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 2.5rem; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  font-weight: 300; line-height: 1.08;
  color: var(--ink); margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--gold-strong); }

.hero-sub {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8;
  color: var(--ink-muted); max-width: 480px;
  margin-bottom: 2.8rem;
}

.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.btn-primary {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 1rem 2.4rem;
  background: var(--sea); color: var(--white);
  border: none; cursor: pointer; text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--sea-deep); transform: translateY(-2px); }

.btn-outline {
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 1rem 2.4rem;
  background: transparent; color: var(--sea);
  border: 1px solid rgba(31, 93, 116, 0.3); cursor: pointer;
  text-decoration: none; transition: var(--transition);
  display: inline-block;
}
.btn-outline:hover { border-color: var(--sea); }

.hero-figure { position: relative; }
.hero-figure::before {
  content: '';
  position: absolute; top: 1.2rem; right: -1.2rem; bottom: -1.2rem; left: 1.2rem;
  border: 1px solid rgba(31, 93, 116, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.hero-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(31, 93, 116, 0.14);
}

.hero-stats {
  max-width: 1280px; margin: 4rem auto 0;
  border-top: 1px solid rgba(36, 48, 58, 0.1);
  display: flex; gap: 4rem;
  padding: 2rem 0 2.2rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 300;
  color: var(--ink); line-height: 1;
}
.stat-num span { color: var(--gold-strong); }
.stat-label {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted);
  margin-top: 0.4rem;
}

/* ── SECTION BASE ── */
section { padding: 6rem 4rem; }

.section-inner { max-width: 1280px; margin: 0 auto; }

.section-tag {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-strong);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.section-tag::before {
  content: ''; display: block; width: 1.8rem; height: 1px;
  background: var(--gold);
}
.section-tag.centered { justify-content: center; }
.section-tag.centered::before { display: none; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300; line-height: 1.15;
  color: var(--ink); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold-strong); }

/* ── SERVICES ── */
.services { background: var(--white); }

.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end;
  margin-bottom: 4rem;
}
.services-intro {
  font-size: 0.95rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-muted);
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--sand-deep);
}

.service-card {
  background: var(--white);
  padding: 2.8rem 2rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--sea); transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover { background: #fbf7ee; }

.service-icon {
  width: 48px; height: 48px; margin-bottom: 1.8rem;
  color: var(--sea);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: rgba(198, 154, 90, 0.18);
  position: absolute; top: 1.5rem; right: 1.5rem;
  line-height: 1;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.88rem; font-weight: 300; line-height: 1.8;
  color: var(--ink-muted);
}

/* ── INTRO SECTION ── */
.intro-section { background: var(--sand); }

.intro-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}

.intro-body {
  font-size: 0.93rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-muted); margin-bottom: 1rem;
}

.intro-trust { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }

.trust-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.88rem; font-weight: 300; color: var(--ink-muted);
}
.trust-icon {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--sea); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 500; flex-shrink: 0;
}

.intro-figure { position: relative; }
.intro-figure::before {
  content: '';
  position: absolute; top: 1.2rem; left: -1.2rem; bottom: -1.2rem; right: 1.2rem;
  border: 1px solid rgba(31, 93, 116, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.intro-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 6px;
  box-shadow: 0 25px 50px rgba(31, 93, 116, 0.12);
}

/* ── BANNER ── */
.banner-strip {
  background: var(--sand-deep);
  padding: 4rem;
  text-align: center;
}
.banner-strip::before, .banner-strip::after {
  content: '';
  display: block; width: 4rem; height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}
.banner-strip::after { margin: 1.5rem auto 0; }

.banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--ink);
  line-height: 1.2;
}

/* ── SPLIT SECTIONS ── */
.split-section {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
  padding: 0;
}

.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-image { overflow: hidden; min-height: 500px; }
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.8s ease;
}
.split-image:hover img { transform: scale(1.03); }

.split-content {
  padding: 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--white);
}
.split-reverse .split-content { background: var(--sand); }

.split-text {
  font-size: 0.92rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-muted); margin-bottom: 1rem;
}
.split-lead {
  font-weight: 400; color: var(--gold-strong);
  font-size: 0.9rem; letter-spacing: 0.05em;
}

.package-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }

.package-item {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: 0.88rem; font-weight: 300; line-height: 1.6; color: var(--ink-muted);
}
.package-item strong { color: var(--ink); font-weight: 500; }
.package-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sea); margin-top: 0.45em; flex-shrink: 0;
}

/* ── PROCESS ── */
.process { background: var(--sand-deep); }

.process-header { text-align: center; margin-bottom: 1rem; }

.process-steps {
  max-width: 1280px; margin: 4rem auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 2rem; left: 10%; right: 10%;
  height: 1px; background: linear-gradient(to right, transparent, rgba(31, 93, 116, 0.4), transparent);
}

.process-step { padding: 0 1.5rem; text-align: center; }

.step-num-wrap {
  width: 4rem; height: 4rem; border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; background: var(--sand-deep);
  position: relative; z-index: 1;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--gold-strong);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.8rem;
}
.step-desc {
  font-size: 0.83rem; font-weight: 300; line-height: 1.8;
  color: var(--ink-muted);
}

/* ── CONTACT ── */
.contact { background: var(--white); }

.contact-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: start;
}

.contact-sub {
  font-size: 0.93rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-muted); margin-bottom: 2.5rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  font-size: 0.88rem; font-weight: 300; color: var(--ink-muted);
  line-height: 1.6;
}
.contact-item a { color: var(--ink-muted); text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: var(--sea); }
.contact-item-label {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-strong);
  min-width: 5.5rem;
  padding-top: 0.15rem;
}

.contact-form-card {
  background: var(--sand);
  border: 1px solid rgba(36, 48, 58, 0.1);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(31, 93, 116, 0.07);
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-strong);
}

.form-input, .form-textarea {
  background: var(--white);
  border: 1px solid rgba(36, 48, 58, 0.15);
  border-radius: 3px;
  color: var(--ink); padding: 0.9rem 1rem;
  font-family: 'Jost', sans-serif; font-size: 0.88rem; font-weight: 300;
  transition: border-color 0.3s; resize: none; outline: none;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--sea); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(91, 107, 114, 0.55); }

select.form-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b72' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
  padding-right: 2.6rem;
  cursor: pointer;
}
select.form-input:invalid { color: rgba(91, 107, 114, 0.55); }

.form-textarea { min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-submit { align-self: flex-start; border: none; font-family: 'Jost', sans-serif; }

/* honeypot — hidden from people, offered to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-consent {
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-top: -0.2rem;
}
.form-consent a { color: var(--sea); text-decoration: none; }
.form-consent a:hover { text-decoration: underline; }

.form-status {
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.6;
  padding: 0.9rem 1rem;
  border-radius: 3px;
  margin-top: 0.2rem;
}
.form-status.is-ok {
  color: var(--sea-deep);
  background: rgba(31, 93, 116, 0.09);
  border: 1px solid rgba(31, 93, 116, 0.25);
}
.form-status.is-error {
  color: #8a3b2f;
  background: rgba(138, 59, 47, 0.08);
  border: 1px solid rgba(138, 59, 47, 0.28);
}

/* ── FOOTER ── */
footer {
  background: var(--sand-deep);
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(36, 48, 58, 0.1);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: var(--ink);
}
.footer-logo span { color: var(--gold-strong); }
.footer-logo .footer-logo-sub {
  font-family: 'Jost', sans-serif;
  color: rgba(91, 107, 114, 0.7); font-weight: 300; font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.72rem; font-weight: 300; letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.72rem; font-weight: 300; letter-spacing: 0.1em;
  color: var(--ink-muted); text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--sea); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-grid > div > * { animation: fadeUp 0.9s ease both; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.55s; }
.hero-figure { animation: fadeUp 0.9s 0.35s ease both; }
.hero-stats > * { animation: fadeUp 0.9s 0.7s ease both; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-grid > div > *, .hero-figure, .hero-stats > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--sea); border-radius: 4px; }

/* ═══ TABLET ═══ */
/* Nav collapses to the hamburger menu from here down — at these widths the
   full nav-links + nav-right no longer fit alongside the logo in one row.
   Measured overflow starts under ~1080px with 5 nav items; 1140px keeps margin. */
@media (max-width: 1140px) {
  nav { padding: 0.5rem 2rem; flex-wrap: wrap; }
  .nav-logo img { height: 96px; width: 96px; }
  .nav-toggle { display: flex; }
  .nav-right { display: none; }
  .nav-links {
    display: none;
    order: 10; flex-basis: 100%;
    flex-direction: column; gap: 0;
    border-top: 1px solid rgba(36, 48, 58, 0.1);
    margin-top: 0.7rem; padding: 0.5rem 0;
  }
  nav.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 0.9rem 0.2rem; }
  nav.open .nav-right {
    display: flex; order: 11; flex-basis: 100%;
    flex-direction: column; align-items: center; gap: 1rem;
    margin-bottom: 0.8rem;
  }
  nav.open .nav-cta { width: 100%; text-align: center; }

  section { padding: 4.5rem 2rem; }
  .hero { padding: 11rem 2rem 0; }
  .hero-grid { gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .contact-grid { gap: 3rem; }
  .split-content { padding: 3.5rem 2.5rem; }
  .hero-stats { gap: 2.5rem; }
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  nav { padding: 0.5rem 1.2rem; }
  .nav-logo img { height: 80px; width: 80px; }

  .hero { padding: 9.5rem 1.2rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-sub { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; gap: 0.8rem; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; }
  .hero-figure::before { display: none; }
  .hero-stats {
    flex-direction: row; justify-content: space-between;
    gap: 1rem; margin-top: 2.5rem; padding: 1.5rem 0;
    text-align: center;
  }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 0.58rem; letter-spacing: 0.1em; }

  section { padding: 3rem 1.2rem; }

  .services-header { grid-template-columns: 1fr; gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.5rem; }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-figure::before { display: none; }
  .intro-figure img { max-height: 340px; }

  .banner-strip { padding: 2.5rem 1.2rem; }

  .split-section { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .split-image { min-height: 0; max-height: 320px; }
  .split-content { padding: 2.5rem 1.2rem; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-card { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  footer {
    flex-direction: column;
    text-align: center; gap: 1rem;
    padding: 2rem 1.2rem;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .hero-stats { gap: 0.6rem; }
  .stat-num { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   APARTMENT LISTING PAGE (Küsten Moments Apartment)
   ═══════════════════════════════════════════════════════════ */

.apt-hero {
  padding: 13rem 4rem 5rem;
  background: var(--sand);
  text-align: center;
}
.apt-hero-inner { max-width: 720px; margin: 0 auto; }
.apt-hero-logo { width: 220px; height: auto; margin: 0 auto 2rem; display: block; }
.apt-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 300; line-height: 1.15;
  color: var(--ink); margin-bottom: 1.5rem;
}
.apt-hero-text {
  font-size: 1rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-muted); margin-bottom: 1.5rem;
}
.apt-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.3rem; font-weight: 400;
  color: var(--sea); margin-bottom: 2.5rem;
}
.apt-hero .btn-primary { display: inline-block; }

.apt-stats {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: center; gap: 4rem;
  padding: 3rem 4rem; flex-wrap: wrap;
  border-top: 1px solid rgba(36, 48, 58, 0.1);
}
.apt-stat { text-align: center; }
.apt-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; color: var(--ink); line-height: 1;
}
.apt-stat-label {
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-muted); margin-top: 0.5rem;
}

.apt-gallery-section { background: var(--white); }
.apt-gallery {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.apt-gallery-item { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.apt-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.apt-gallery-item:hover img { transform: scale(1.05); }
.apt-gallery-item:nth-child(7):last-child { grid-column: 2 / 3; }
.apt-gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(to top, rgba(15, 59, 82, 0.75), transparent);
  color: var(--white);
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
}

.apt-amenities { background: var(--sand); }
.apt-amenities-inner { max-width: 820px; margin: 0 auto 3.5rem; text-align: center; }
.apt-amenities-inner .split-text { text-align: left; }
.apt-amenities-closing {
  max-width: 820px; margin: 3rem auto 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem; font-weight: 400;
  color: var(--sea); text-align: center;
}

.apt-room-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--sand-deep);
}
.apt-room-card { background: var(--white); padding: 2.4rem 2rem; }
.apt-room-card:nth-child(7):last-child { grid-column: 2 / 3; }
.apt-room-icon { width: 40px; height: 40px; color: var(--sea); margin-bottom: 1.2rem; }
.apt-room-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: var(--ink);
  margin-bottom: 0.6rem;
}
.apt-room-card p {
  font-size: 0.86rem; font-weight: 300; line-height: 1.75; color: var(--ink-muted);
}

.apt-full-amenities { background: var(--sand); }
.apt-amenity-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 3rem;
}
.apt-amenity-cat h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(198, 154, 90, 0.35);
}
.apt-amenity-cat ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.apt-amenity-cat li {
  position: relative; padding-left: 1.6rem;
  font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: var(--ink-muted);
}
.apt-amenity-cat li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--sea); font-weight: 500; font-size: 0.85rem;
}
.apt-amenity-cat-excluded h3 { border-bottom-color: rgba(91, 107, 114, 0.25); }
.apt-amenity-cat-excluded li { color: rgba(91, 107, 114, 0.65); }
.apt-amenity-cat-excluded li::before {
  content: '–'; color: rgba(91, 107, 114, 0.5); font-weight: 400;
}

.apt-form-section { background: var(--white); }
.apt-form-inner { max-width: 640px; margin: 0 auto; }
.apt-form-inner .contact-form-card { background: var(--sand); }

.apt-distances { background: var(--sand); }
.apt-distances-note {
  max-width: 640px; margin: -0.5rem auto 3rem; text-align: center;
  font-size: 0.82rem; font-weight: 300; color: var(--ink-muted); line-height: 1.7;
}
.apt-distance-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--sand-deep);
}
.apt-distance-card {
  background: var(--white);
  padding: 2.2rem 1.5rem;
  text-align: center;
}
.apt-distance-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500; color: var(--ink);
  margin-bottom: 1.4rem;
}
.apt-distance-modes { display: flex; justify-content: center; gap: 1.6rem; }
.apt-distance-mode { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.apt-distance-mode svg { width: 26px; height: 26px; color: var(--sea); }
.apt-distance-mode span { font-size: 0.76rem; color: var(--ink-muted); font-weight: 400; }

@media (max-width: 1140px) {
  .apt-hero { padding: 11rem 2rem 4rem; }
  .apt-gallery { grid-template-columns: repeat(2, 1fr); }
  .apt-gallery-item:nth-child(7):last-child { grid-column: 1 / -1; width: 50%; margin: 0 auto; }
  .apt-distance-grid { grid-template-columns: repeat(2, 1fr); }
  .apt-room-grid { grid-template-columns: repeat(2, 1fr); }
  .apt-room-card:nth-child(7):last-child { grid-column: 1 / -1; width: 50%; margin: 0 auto; }
  .apt-amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .apt-hero { padding: 9.5rem 1.2rem 3rem; }
  .apt-hero-logo { width: 160px; }
  .apt-stats { gap: 1.5rem 2.5rem; padding: 2rem 1.2rem; }
  .apt-gallery { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .apt-distance-grid { grid-template-columns: 1fr 1fr; }
  .apt-distance-modes { gap: 1rem; }
  .apt-room-grid { grid-template-columns: 1fr 1fr; }
  .apt-amenity-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 480px) {
  .apt-gallery { grid-template-columns: 1fr; }
  .apt-gallery-item:nth-child(7):last-child { grid-column: auto; width: 100%; margin: 0; }
  .apt-distance-grid { grid-template-columns: 1fr; }
  .apt-room-grid { grid-template-columns: 1fr; }
  .apt-room-card:nth-child(7):last-child { grid-column: auto; width: 100%; margin: 0; }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (Impressum / Datenschutz — IT-Recht Kanzlei)
   ═══════════════════════════════════════════════════════════ */

.legal-page {
  padding: 13rem 4rem 6rem;
  background: var(--sand);
  min-height: 70vh;
}
.legal-inner { max-width: 720px; margin: 0 auto; }
.legal-inner .section-tag { justify-content: flex-start; }
.legal-inner .section-title { margin-bottom: 2.5rem; }
.legal-note {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-muted);
  background: var(--sand-deep);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
}
.legal-note a { color: var(--sea); text-decoration: none; }
.legal-note a:hover { text-decoration: underline; }

.thanks-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.thanks-inner .section-title { margin-bottom: 1.2rem; }
.thanks-text {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

/* Text injected by itrk-legaltext.js (falls back to the static markup in the div) */
.itrk-legaltext {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-muted);
}
.itrk-legaltext > div { margin-bottom: 1.4rem; }
.itrk-legaltext p { margin-bottom: 1rem; }
.itrk-legaltext strong, .itrk-legaltext b { color: var(--ink); font-weight: 500; }
.itrk-legaltext a { color: var(--sea); text-decoration: none; word-break: break-word; }
.itrk-legaltext a:hover { text-decoration: underline; }
.itrk-legaltext h1, .itrk-legaltext h2, .itrk-legaltext h3, .itrk-legaltext h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  margin: 2.4rem 0 0.9rem;
}
.itrk-legaltext > div > :first-child { margin-top: 0; }
.itrk-legaltext h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin: 0.4rem 0 1.8rem;
}
.itrk-legaltext h2 { font-size: 1.4rem; }
.itrk-legaltext h3 { font-size: 1.15rem; }
.itrk-legaltext h4 { font-size: 1rem; }
.itrk-legaltext ul, .itrk-legaltext ol { margin: 0 0 1rem 1.4rem; }
.itrk-legaltext li { margin-bottom: 0.4rem; }
.itrk-legaltext hr {
  border: none;
  border-top: 1px solid var(--sand-deep);
  margin: 2rem 0;
}
.itrk-legaltext table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.itrk-legaltext th, .itrk-legaltext td {
  text-align: left;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--sand-deep);
  vertical-align: top;
}
#itkanzlei_txt_copyright {
  margin-top: 3rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sand-deep);
  color: var(--ink-muted);
  opacity: 0.65;
}

@media (max-width: 1140px) {
  .legal-page { padding: 11rem 2rem 4.5rem; }
}
@media (max-width: 768px) {
  .legal-page { padding: 9.5rem 1.2rem 3rem; }
}
