/* ==========================================================================
   RuhrUmbau — Design System
   Editorial Luxury: Cormorant Garamond (display) + DM Sans (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Color tokens */
  --rb-ink:        #0d0d0d;   /* near-black warm charcoal */
  --rb-ink-soft:   #16140f;
  --rb-panel:      #17150f;
  --rb-panel-2:    #1e1b14;
  --rb-cream:      #f5f0ea;   /* warm cream */
  --rb-cream-dim:  #eae2d6;
  --rb-gold:       #c9a96e;   /* brushed brass / gold accent — decorative/on-dark use only */
  --rb-gold-text:  #7d5f30;   /* AA-safe brass for text on light backgrounds (5.2:1 on cream) */
  --rb-gold-soft:  #ddc79a;
  --rb-gold-dim:   rgba(201, 169, 110, 0.16);
  --rb-stone:      #a9a296;   /* travertine stone */
  --rb-line:       rgba(245, 240, 234, 0.12);
  --rb-line-dark:  rgba(13, 13, 13, 0.10);
  --rb-ink-70:     rgba(13, 13, 13, 0.70);
  --rb-ink-55:     #605c53;   /* solid warm charcoal — was rgba(13,13,13,.55) at 4.17:1 (fails AA); now 5.9:1 */
  --rb-cream-70:   rgba(245, 240, 234, 0.70);
  --rb-cream-50:   rgba(245, 240, 234, 0.50);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1360px;
  --radius-lg: 1.75rem;
  --radius-md: 1.125rem;
  --radius-sm: 0.65rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--rb-cream);
  color: var(--rb-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .wrap { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .wrap { padding-inline: 3rem; } }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rb-gold-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--rb-gold-text);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--rb-gold-soft); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rb-gold-text);
  outline-offset: 3px;
}

::selection { background: var(--rb-gold); color: var(--rb-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 1.1rem 1.25rem 0;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.75rem 0.65rem 1.15rem;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(245, 240, 234, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition: background 0.4s var(--ease-out);
}
.brandmark { display: flex; align-items: center; gap: 0.7rem; color: var(--rb-cream); }
.brandmark__mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: block;
}
.brandmark__name { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.1; }
.brandmark__tag { display: block; font-size: 0.65rem; color: var(--rb-cream-50); letter-spacing: 0.1em; margin-top: 0.2rem; }

.site-nav { display: none; align-items: center; gap: 1.9rem; font-size: 0.9rem; color: var(--rb-cream-70); }
.site-nav a { transition: color 0.35s var(--ease-out); white-space: nowrap; }
.site-nav a:hover { color: var(--rb-cream); }
@media (min-width: 960px) { .site-nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.btn-call {
  display: none; align-items: center; gap: 0.5rem;
  color: var(--rb-cream); font-size: 0.85rem; font-weight: 500;
  padding: 0.5rem 0.7rem; border-radius: 999px; border: 1px solid rgba(245,240,234,0.18);
}
@media (min-width: 640px) { .btn-call { display: inline-flex; } }

.btn-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--rb-gold); color: var(--rb-ink);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 0.4rem 0.55rem 1.05rem;
  border-radius: 999px; border: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn-pill__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rb-ink); color: var(--rb-gold);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-out);
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,169,110,0.35); }
.btn-pill:hover .btn-pill__icon { transform: translate(2px, -2px); }
.btn-pill:active { transform: translateY(0) scale(0.98); }

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245,240,234,0.08); border: 1px solid rgba(245,240,234,0.15);
  color: var(--rb-cream);
}
@media (min-width: 960px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__close {
  position: absolute; top: 1.4rem; right: 1.4rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(245,240,234,0.08); border: 1px solid rgba(245,240,234,0.18);
  color: var(--rb-cream); display: flex; align-items: center; justify-content: center;
}
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu__links a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.6rem); font-weight: 500;
  color: var(--rb-cream); padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245,240,234,0.1);
}
.mobile-menu__cta { margin-top: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--rb-ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media .hero__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.15) 32%, rgba(13,13,13,0.35) 62%, rgba(13,13,13,0.92) 100%),
    linear-gradient(90deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.05) 45%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content {
  position: relative; z-index: 2;
  width: min(100%, 980px);
  padding: 9.5rem 1.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__eyebrow {
  color: var(--rb-gold-soft); display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.4rem;
}
.hero__eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--rb-gold-soft); }
.hero h1 {
  color: var(--rb-cream);
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  max-width: 18ch;
  text-wrap: balance;
}
.hero__lede {
  color: var(--rb-cream-70);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 42rem;
  margin: 1.6rem 0 0;
  text-wrap: pretty;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; align-items: center;
  justify-content: center;
}
.hero__stats {
  margin-top: 3.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(245,240,234,0.16);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem;
  width: min(100%, 48rem);
  text-align: center;
}
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(3, 1fr); } }
.hero__stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--rb-cream); font-weight: 500; }
.hero__stat span { font-size: 0.8rem; color: var(--rb-cream-50); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--rb-ink);
  border-top: 1px solid var(--rb-line);
  padding: 1.2rem 0;
}
.trust-strip__row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.6rem;
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--rb-cream-50);
}
.trust-strip__row span.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rb-gold); display: inline-block; }

/* ---------- Section base ---------- */
.section { padding: 5.5rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section--dark { background: var(--rb-ink); color: var(--rb-cream); }
.section--panel { background: var(--rb-cream-dim); }
.section-head {
  display: flex; flex-direction: column; gap: 1.1rem;
  max-width: 42rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .section-head { margin-bottom: 4.5rem; } }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.04; }
.section-head p { font-size: 1.05rem; color: var(--rb-ink-55); max-width: 34rem; }
.section--dark .section-head p { color: var(--rb-cream-70); }

/* ---------- Services ---------- */
.services-layout { display: grid; gap: 3rem; }
@media (min-width: 960px) { .services-layout { grid-template-columns: 0.62fr 1fr; gap: 4rem; } }
.services-intro { align-self: start; }
@media (min-width: 960px) { .services-intro { position: sticky; top: 7rem; } }
.service-list { border-top: 1px solid var(--rb-line-dark); }
.service-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.1rem;
  padding: 1.9rem 0; border-bottom: 1px solid var(--rb-line-dark);
  align-items: start;
}
@media (min-width: 640px) { .service-row { grid-template-columns: 64px 1fr auto; gap: 1.8rem; align-items: center; } }
.service-row__num { font-family: var(--font-display); font-size: 1rem; color: var(--rb-gold-text); font-weight: 600; }
.service-row h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.service-row p { margin: 0; color: var(--rb-ink-55); max-width: 40rem; }
.service-row__arrow {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rb-line-dark);
  display: none; align-items: center; justify-content: center; color: var(--rb-ink-55);
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
@media (min-width: 640px) { .service-row__arrow { display: flex; } }
.service-row:hover .service-row__arrow { background: var(--rb-ink); color: var(--rb-gold); transform: translate(3px, -3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; font-size: 0.94rem;
  border-bottom: 1px solid var(--rb-ink-55);
  padding-bottom: 0.35rem;
  transition: border-color 0.35s var(--ease-out), gap 0.35s var(--ease-out);
}
.link-arrow:hover { border-color: var(--rb-ink); gap: 0.75rem; }
.section--dark .link-arrow { border-color: rgba(245,240,234,0.4); }
.section--dark .link-arrow:hover { border-color: var(--rb-cream); }

/* ---------- Bento / gallery ---------- */
.bento {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  grid-auto-flow: dense;
}
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 140px; }
  .bento .bento-item--a { grid-column: span 7; grid-row: span 3; }
  .bento .bento-item--b { grid-column: span 5; grid-row: span 2; }
  .bento .bento-item--c { grid-column: span 5; grid-row: span 2; }
  .bento .bento-item--d { grid-column: span 4; grid-row: span 2; }
  .bento .bento-item--e { grid-column: span 8; grid-row: span 2; }
}
.bento-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  background: #d9d2c3;
  min-height: 220px;
}
.bento-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.bento-item:hover img { transform: scale(1.045); }
.bento-item__tag {
  position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,240,234,0.9); backdrop-filter: blur(6px);
  color: var(--rb-ink); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 0.85rem; border-radius: 999px; font-weight: 600;
}

/* ---------- Process ---------- */
.process-list { border-top: 1px solid rgba(245,240,234,0.16); }
.process-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem;
  padding: 1.7rem 0; border-bottom: 1px solid rgba(245,240,234,0.16);
}
@media (min-width: 640px) { .process-row { grid-template-columns: 64px 1fr; gap: 1.8rem; } }
.process-row__num { font-family: var(--font-display); font-size: 1.05rem; color: var(--rb-gold); font-weight: 600; }
.process-row h3 { font-size: 1.3rem; color: var(--rb-cream); margin-bottom: 0.5rem; }
.process-row p { margin: 0; color: var(--rb-cream-70); max-width: 38rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rb-line-dark); }
.faq-item { border-bottom: 1px solid var(--rb-line-dark); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rb-line-dark); display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--rb-ink); color: var(--rb-gold); }
.faq-item p { margin: 0 0 1.6rem; color: var(--rb-ink-55); max-width: 42rem; }

/* ---------- Contact ---------- */
.contact-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--rb-gold-dim);
  display: grid; gap: 0;
  border: 1px solid rgba(201,169,110,0.35);
}
@media (min-width: 960px) { .contact-panel { grid-template-columns: 0.84fr 1.16fr; } }
.contact-panel__intro { padding: 2.4rem 1.75rem; }
@media (min-width: 768px) { .contact-panel__intro { padding: 3.5rem; } }
.contact-panel__intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.02; }
.contact-panel__intro p { color: var(--rb-ink-70); max-width: 28rem; margin: 1.4rem 0 0; }
.contact-nap { margin-top: 2.6rem; display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.92rem; color: var(--rb-ink-70); }
.contact-nap a { font-weight: 600; color: var(--rb-ink); }
.contact-nap__row { display: flex; align-items: center; gap: 0.7rem; }

.contact-form { background: var(--rb-cream); padding: 2.4rem 1.75rem; }
@media (min-width: 768px) { .contact-form { padding: 3.5rem; } }
.form-grid { display: grid; gap: 1.15rem; }
.form-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; font-size: 0.86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  height: 3rem; border-radius: 0.9rem; border: 1px solid var(--rb-line-dark);
  background: rgba(255,255,255,0.7); padding: 0 1rem; font-size: 1rem; font-family: inherit;
  color: var(--rb-ink); transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.field textarea { height: auto; padding: 0.85rem 1rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--rb-gold); box-shadow: 0 0 0 3px var(--rb-gold-dim); outline: none;
}
.field-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.82rem; font-weight: 400; color: var(--rb-ink-55); }
.field-consent input { width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; flex-shrink: 0; }
.submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form-note { font-size: 0.78rem; color: var(--rb-ink-55); margin: 0; }
.form-status { font-size: 0.86rem; font-weight: 600; }
.form-status[data-state="ok"] { color: #4a6b3d; }
.form-status[data-state="err"] { color: #a2452f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rb-ink); color: var(--rb-cream-50); padding: 3.5rem 0 2.2rem; font-size: 0.88rem; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(245,240,234,0.1); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-brand p { max-width: 24rem; margin: 1rem 0 0; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-cream-70); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a:hover { color: var(--rb-cream); }
.footer-bottom { padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--rb-ink-55); margin-bottom: 1.6rem;
}
.breadcrumb a { font-weight: 600; }
.breadcrumb a:hover { color: var(--rb-ink); }
.breadcrumb span.sep { opacity: 0.5; }
.section--dark .breadcrumb, .hero-band--dark .breadcrumb { color: var(--rb-cream-50); }
.section--dark .breadcrumb a, .hero-band--dark .breadcrumb a { color: var(--rb-cream-70); }

/* ---------- Page header band (leistungen / standorte / ratgeber / blog) ---------- */
.page-header { padding: 8.5rem 0 3.5rem; }
.page-header__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .page-header__grid { grid-template-columns: 0.82fr 1.18fr; gap: 3.5rem; } }
.page-header h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 0.98; max-width: 22ch; }
.page-header__lede { font-size: 1.1rem; color: var(--rb-ink-55); max-width: 34rem; margin-top: 1.5rem; }
.page-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; font-size: 0.88rem; color: var(--rb-ink-55); }
.page-header__meta .sep { width: 24px; height: 1px; background: var(--rb-line-dark); display: inline-block; }
.page-header__media { position: relative; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: #d9d2c3; }
@media (min-width: 640px) { .page-header__media { min-height: 420px; } }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; }
.page-header__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,13,13,0.45), transparent 55%);
}

/* ---------- Kurzantwort band ---------- */
.kurzantwort-band { background: var(--rb-cream-dim); border-top: 1px solid var(--rb-line-dark); border-bottom: 1px solid var(--rb-line-dark); padding: 3rem 0; }
.kurzantwort-band__label { color: var(--rb-gold-text); }
.kurzantwort-band p.statement { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; max-width: 46rem; margin: 0.6rem 0 0; }

/* ---------- Content layout (sidebar + numbered sections) ---------- */
.content-layout { display: grid; gap: 3rem; padding: 4.5rem 0; }
@media (min-width: 768px) { .content-layout { padding: 6rem 0; } }
@media (min-width: 960px) { .content-layout { grid-template-columns: 0.68fr 1fr; gap: 4rem; } }
.content-aside {
  border-radius: var(--radius-lg); background: var(--rb-ink); color: var(--rb-cream);
  padding: 2rem; height: fit-content;
}
@media (min-width: 960px) { .content-aside { position: sticky; top: 6.5rem; padding: 2.4rem; } }
.content-aside__label { color: var(--rb-gold-soft); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.content-aside ul { display: flex; flex-direction: column; gap: 0.9rem; }
.content-aside li { display: flex; gap: 0.7rem; font-size: 0.95rem; line-height: 1.5; color: var(--rb-cream-70); }
.content-aside li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--rb-gold); }
.content-aside__cta {
  margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(245,240,234,0.15);
  display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; font-weight: 600;
}

.content-sections { border-top: 1px solid var(--rb-line-dark); }
.content-section { border-bottom: 1px solid var(--rb-line-dark); padding: 2.1rem 0; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; }
@media (min-width: 640px) { .content-section { grid-template-columns: 58px 1fr; gap: 1.6rem; } }
.content-section__num { font-family: var(--font-display); font-size: 1rem; color: var(--rb-gold-text); font-weight: 600; }
.content-section h2 { font-size: 1.5rem; margin-bottom: 0.65rem; }
.content-section p { margin: 0; color: var(--rb-ink-55); max-width: 46rem; line-height: 1.75; }

/* ---------- Related links ---------- */
.related-block { margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--rb-line-dark); }
.related-block__label { color: var(--rb-gold-text); }
.related-block__list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.related-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--rb-line-dark); border-radius: 999px;
  padding: 0.55rem 1.1rem; font-size: 0.88rem; font-weight: 600;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.related-chip:hover { background: var(--rb-ink); color: var(--rb-cream); border-color: var(--rb-ink); }

/* ---------- CTA band (reused on every subpage instead of full form) ---------- */
.cta-band {
  border-radius: var(--radius-lg); background: var(--rb-gold-dim); border: 1px solid rgba(201,169,110,0.35);
  padding: 2.4rem 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
}
@media (min-width: 768px) { .cta-band { padding: 3rem 3.2rem; } }
.cta-band h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 26rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cta-band__phone { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }

/* ---------- Hub / listing grid ---------- */
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
.hub-card {
  border-radius: var(--radius-md); overflow: hidden; background: var(--rb-cream-dim);
  border: 1px solid var(--rb-line-dark); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(13,13,13,0.12); }
.hub-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #d9d2c3; }
.hub-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.hub-card:hover .hub-card__media img { transform: scale(1.05); }
.hub-card__body { padding: 1.4rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.hub-card__tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rb-gold-text); font-weight: 700; margin-bottom: 0.6rem; }
.hub-card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.hub-card p { margin: 0; color: var(--rb-ink-55); font-size: 0.92rem; line-height: 1.55; flex: 1; }
.hub-card__arrow { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; }

.hub-hero { padding: 8.5rem 0 3.5rem; }
.hub-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 0.98; max-width: 22ch; }
.hub-hero p { font-size: 1.1rem; color: var(--rb-ink-55); max-width: 36rem; margin-top: 1.4rem; }

/* ---------- Utility ---------- */
.reveal { opacity: 0; }
.js-ready .reveal { opacity: 0; }
.no-js .reveal { opacity: 1 !important; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--rb-gold); color: var(--rb-ink);
  padding: 0.7rem 1.2rem; z-index: 200; border-radius: 0 0 0.6rem 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Splash intro (homepage only, once per session) ---------- */
html:not(.splash-active) .splash { display: none; }
.splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rb-ink);
}
.splash__inner { position: relative; text-align: center; }
.splash__logo {
  width: min(280px, 62vw);
  height: auto;
  opacity: 0;
  transform: scale(0.94);
}
.splash__skip {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--rb-cream-50); background: none; border: none; padding: 0.6rem;
  opacity: 0; cursor: pointer; transition: color 0.3s var(--ease-out);
}
.splash__skip:hover, .splash__skip:focus-visible { color: var(--rb-cream); }
@media (prefers-reduced-motion: reduce) {
  html.splash-active .splash { display: none; }
}

/* ---------- Legal content (Impressum / Datenschutz) ---------- */
.legal-content { max-width: 42rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2.6rem 0 0.9rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.12rem; margin: 1.6rem 0 0.6rem; }
.legal-content p { margin: 0 0 1rem; color: var(--rb-ink-70); line-height: 1.75; }
.legal-content ul { margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.legal-content li { color: var(--rb-ink-70); line-height: 1.6; padding-left: 1.1rem; position: relative; }
.legal-content li::before { content: '—'; position: absolute; left: 0; color: var(--rb-gold-text); }
.legal-content a { text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { color: var(--rb-ink); }
.legal-note {
  background: var(--rb-gold-dim); border: 1px solid rgba(201,169,110,0.35);
  border-radius: var(--radius-md); padding: 1.3rem 1.5rem; margin-bottom: 2.6rem;
  font-size: 0.9rem; color: var(--rb-ink-70); line-height: 1.6; max-width: 42rem;
}
.legal-note strong { color: var(--rb-ink); }

@media (min-width: 768px) {
  .hero__content { padding-inline: 2.5rem; }
}
@media (min-width: 1280px) {
  .hero__content { padding-inline: 3rem; }
}
@media (max-width: 639px) {
  .hero__content { padding-top: 8.5rem; padding-bottom: 2.4rem; }
  .hero__stats { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.7rem; padding-top: 1.4rem; }
  .hero__stat span { display: block; max-width: 22rem; margin-inline: auto; }
}
.link-arrow--light { color: var(--rb-cream); border-color: rgba(245,240,234,0.4); }
.link-arrow--light:hover { border-color: var(--rb-cream); }