/* ============================================================
   KINDERMOTEL — Atmosphärisches Raumdesign 2026
   Warm · Künstlerisch · Familienfreundlich
   Keine schwarzen Flächen. Nur Wärme.
   ============================================================ */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap');

:root {
  /* Warmpalette */
  --creme:      #fdf8f2;
  --apricot:    #f5dfc8;
  --rosé:       #f0cfc0;
  --blush:      #e8b8a8;
  --terracotta: #c8856a;
  --sage:       #a8b89a;
  --dusty-blue: #9ab0c0;
  --honey:      #d4a850;
  --forest:     #344522;
  --warm-white: #fefcf8;

  /* Text — niemals reines Schwarz */
  --ink:        #2d2520;
  --ink-soft:   #5a4a40;
  --ink-faint:  #8a7a70;

  /* Typografie */
  --font-heading: 'Italiana', 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, sans-serif;       /* Agrandir Fallback */

  /* Abstände */
  --gap-s:  1rem;
  --gap-m:  2rem;
  --gap-l:  4rem;
  --gap-xl: 7rem;

  /* Schatten — warm */
  --shadow-warm-s: 0 4px 16px rgba(180,120,80,0.12);
  --shadow-warm-m: 0 12px 40px rgba(180,120,80,0.16);
  --shadow-warm-l: 0 24px 72px rgba(180,120,80,0.20);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--warm-white);
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--forest);
}

h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); text-transform: none; letter-spacing: 0; font-family: var(--font-heading); font-weight: 400; }

p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--ink); }

/* ============================================================
   HEADER — warmes Glas
   ============================================================ */

.header {
  background: rgba(253,248,242,0.92) !important;
  border-bottom: 0 !important;
  backdrop-filter: blur(12px) !important;
}

.logo-text { color: var(--forest) !important; font-family: var(--font-heading) !important; font-size: 1.35rem !important; }

.nav a { color: var(--ink-soft) !important; font-family: var(--font-body) !important; font-size: 0.9rem !important; font-weight: 500 !important; }
.nav a:hover { color: var(--terracotta) !important; opacity: 1 !important; }

/* ============================================================
   CTA BUTTON
   ============================================================ */

.btn-warm {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  background: var(--terracotta);
  color: var(--warm-white) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-warm-s);
}

.btn-warm:hover {
  background: #b5724f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm-m);
  color: var(--warm-white) !important;
}

/* ============================================================
   ROOM-LABEL
   ============================================================ */

.room-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.room-label--light { color: rgba(255,255,255,0.7); }

/* ============================================================
   ROOM ENTRY — Flur / Hero
   ============================================================ */

.room-entry {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.room-entry__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.room-entry__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 10s ease-out;
}

.room-entry:hover .room-entry__bg img { transform: scale(1.0); }

.room-entry__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(45,37,32,0.72) 0%,
    rgba(45,37,32,0.18) 55%,
    transparent 100%
  );
}

.room-entry__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(3rem, 8vh, 5rem);
  max-width: 820px;
}

.room-entry__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

h1.room-entry__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 600;
  line-height: 0.92;
  color: var(--warm-white) !important;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 32px rgba(45,37,32,0.3);
  background: none !important;
  -webkit-text-fill-color: var(--warm-white) !important;
}

.room-entry__sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  font-style: italic;
  font-family: var(--font-heading);
  max-width: 460px;
}

.room-entry__hint {
  position: absolute;
  bottom: 2rem;
  right: clamp(1.5rem, 5vw, 5rem);
  z-index: 2;
  color: rgba(255,255,255,0.35);
  font-size: 1.5rem;
  animation: drift-down 2.2s ease-in-out infinite;
}

@keyframes drift-down {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50%       { transform: translateY(10px); opacity: 0.7; }
}

@media (max-width: 640px) { .room-entry { height: 88vh; } }

/* ============================================================
   DRIFT TEXT — Übergangstext
   ============================================================ */

.drift-text {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--creme);
}

.drift-text__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.drift-text__inner p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  color: var(--ink-soft);
  line-height: 1.65;
  font-style: italic;
}

.drift-text__em {
  color: var(--terracotta) !important;
  font-weight: 600;
  font-style: normal !important;
  margin-top: 1.25rem;
}

/* ============================================================
   ROOM WALK — Standard Raumsektionen
   ============================================================ */

.room-walk {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--warm-white);
}

.room-walk--alt {
  background: var(--creme);
}

.room-walk__header {
  max-width: 560px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.room-walk__header--right {
  margin-left: auto;
  text-align: right;
}

.room-walk__header h2 {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.room-walk__header p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ============================================================
   COLLAGE FREE — Freie Bildanordnung
   ============================================================ */

.collage-free {
  position: relative;
  min-height: 480px;
  margin-bottom: 1rem;
}

/* Gemeinsame Bild-Basis */
.cf-img {
  position: absolute;
  overflow: hidden;
  box-shadow: var(--shadow-warm-m);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.5s ease;
}

.cf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.cf-img:hover {
  box-shadow: var(--shadow-warm-l);
  z-index: 8;
}

.cf-img:hover img { transform: scale(1.06); }

/* BAD */
.collage-bad .cf-a { top: 0; left: 0; width: 50%; height: 300px; transform: rotate(-1deg); }
.collage-bad .cf-b { top: 60px; right: 5%; width: 28%; height: 200px; transform: rotate(1.8deg); }
.collage-bad .cf-c { bottom: 0; left: 28%; width: 34%; height: 200px; transform: rotate(-0.5deg); }
.collage-bad .cf-caption { position: absolute; bottom: 0; right: 0; max-width: 260px; }

/* KÜCHE */
.collage-kueche .cf-a { top: 0; right: 0; width: 52%; height: 320px; transform: rotate(0.8deg); }
.collage-kueche .cf-b { bottom: 20px; right: 12%; width: 36%; height: 220px; transform: rotate(-1.5deg); }
.collage-kueche .cf-c { top: 50px; left: 0; width: 30%; height: 200px; transform: rotate(-1deg); }
.collage-kueche .cf-caption { position: absolute; bottom: 0; left: 0; max-width: 280px; }

/* WOHNZIMMER */
.collage-wohnzimmer .cf-a { top: 0; left: 0; width: 48%; height: 300px; transform: rotate(-0.8deg); }
.collage-wohnzimmer .cf-b { top: 40px; right: 2%; width: 36%; height: 220px; transform: rotate(1.5deg); }
.collage-wohnzimmer .cf-c { bottom: 0; left: 30%; width: 30%; height: 180px; transform: rotate(-1.2deg); }
.collage-wohnzimmer .cf-caption { position: absolute; bottom: 0; right: 0; max-width: 260px; }

/* SCHLAFZIMMER */
.collage-schlafzimmer .cf-a { top: 0; right: 0; width: 54%; height: 320px; transform: rotate(0.6deg); }
.collage-schlafzimmer .cf-b { bottom: 0; left: 0; width: 40%; height: 240px; transform: rotate(-1.2deg); }
.collage-schlafzimmer .cf-c { top: 60px; left: 32%; width: 26%; height: 180px; transform: rotate(1.8deg); }
.collage-schlafzimmer .cf-caption { position: absolute; bottom: 0; right: 0; max-width: 260px; }

/* Caption Stil */
.cf-caption {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  padding: 1.25rem 0;
  z-index: 5;
}

/* Mobile: kein Collage */
@media (max-width: 768px) {
  .collage-free {
    position: static;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .cf-img {
    position: static !important;
    width: 100% !important;
    height: 180px !important;
    transform: none !important;
  }
  .cf-img:first-child {
    grid-column: span 2;
    height: 240px !important;
  }
  .cf-caption {
    position: static !important;
    grid-column: span 2;
    padding: 0.75rem 0 0;
    max-width: 100% !important;
  }
}

/* ============================================================
   WARM QUOTE
   ============================================================ */

.warm-quote {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--apricot);
  text-align: center;
}

.warm-quote blockquote { max-width: 680px; margin: 0 auto; }

.warm-quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.warm-quote cite {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: normal;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   LOGGIA — Vollbreites Bild
   ============================================================ */

.room-loggia { position: relative; }

.room-loggia__img {
  position: relative;
  height: clamp(420px, 65vh, 640px);
  overflow: hidden;
}

.room-loggia__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 8s ease;
}

.room-loggia:hover .room-loggia__img img { transform: scale(1.04); }

.room-loggia__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,37,32,0.6) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}

.room-loggia__overlay h2 {
  color: var(--warm-white) !important;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}

.room-loggia__overlay p {
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* ============================================================
   KINDERZIMMER
   ============================================================ */

.room-kinder {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--warm-white);
}

.kinder-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  align-items: start;
}

.kc-main {
  grid-row: span 2;
  overflow: hidden;
  box-shadow: var(--shadow-warm-m);
  transform: rotate(-0.8deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.kc-main:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: var(--shadow-warm-l);
}

.kc-main img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.kc-main:hover img { transform: scale(1.04); }

.kc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.kc-img {
  overflow: hidden;
  box-shadow: var(--shadow-warm-s);
  transition: transform 0.5s ease, box-shadow 0.4s ease;
}

.kc-img:nth-child(odd)  { transform: rotate(1deg); }
.kc-img:nth-child(even) { transform: rotate(-1.2deg); }
.kc-img:hover { transform: rotate(0deg) scale(1.05) !important; box-shadow: var(--shadow-warm-m); z-index: 5; position: relative; }

.kc-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.kc-img:hover img { transform: scale(1.06); }

.kc-features {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.kc-feat {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.6rem 0;
  border-bottom: 0;
  line-height: 1.4;
}

.kc-feat:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .kinder-collage { grid-template-columns: 1fr; }
  .kc-main { grid-row: auto; transform: none; }
  .kc-main img { min-height: 280px; }
  .kc-features { grid-column: 1; }
}

/* ============================================================
   WARM FACTS
   ============================================================ */

.warm-facts {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--rosé);
}

.warm-facts__inner { max-width: 900px; margin: 0 auto; }

.warm-facts h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
  color: var(--ink);
}

.wf-numbers {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3rem;
}

.wf-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 110px;
}

.wf-n {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  letter-spacing: -0.02em;
}

.wf-l {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-top: 0.3rem;
  font-family: var(--font-body);
}

.wf-sep {
  font-size: 2rem;
  color: var(--blush);
  padding: 0 0.75rem;
  align-self: center;
  flex: 0;
}

.wf-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 0;
}

.wf-details h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

.wf-details p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .wf-details { grid-template-columns: 1fr; }
  .wf-sep { display: none; }
  .wf-numbers { gap: 1.25rem; justify-content: center; }
}

/* ============================================================
   WARM BOOKING
   ============================================================ */

.warm-booking {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--creme);
}

.warm-booking__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.warm-booking h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
  margin-bottom: 0.75rem;
}

.warm-booking > .warm-booking__inner > p {
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* ============================================================
   FOOTER OVERRIDE
   ============================================================ */

.footer {
  background: var(--apricot) !important;
  color: var(--ink) !important;
}

.footer-section h3 { color: var(--terracotta) !important; }
.footer-section p, .footer-section a { color: var(--ink-soft) !important; }
.footer-section a:hover { color: var(--terracotta) !important; }
.footer-bottom { color: var(--ink-faint) !important; }
.footer-bottom::before { background: var(--blush) !important; }

/* ============================================================
   OVERRIDE: Alte Stile neutralisieren
   ============================================================ */

/* h1 Gradient entfernen */
h1 {
  background: none !important;
  -webkit-text-fill-color: inherit !important;
  background-clip: unset !important;
  color: var(--forest) !important;
}

/* Die Jugendstil-Typografie des Kindermotel-Logos für alle Überschriften */
h1, h2, h3, h4,
.footer-section h3,
.wf-details h3 {
  color: var(--forest) !important;
  font-family: var(--font-heading) !important;
  font-weight: 400 !important;
}

/* Alte .intro-Sektion verstecken falls noch geladen */
.intro { display: none !important; }
