/* Casa Future – Stylesheet
   Farben & Schriften: siehe Markenbausteine */

:root {
  --bg: #F6EEE3;
  --sand: #EBDDC8;
  --paper: #FBF6EF;
  --ink: #2A231D;
  --muted: #4A3F35;
  --accent: #A9492A;
  --accent-text: #A9492A;
  --accent-hover: #7E331C;
  --olive: #2F3B2F;
  --frame: #36453A;
  --line: rgba(42, 35, 29, .2);
  --edge: #2A231D;
  --light: #F2B84B;
  --wood: #C9A77C;
  --leaf: #4F6B3A;
  --cream: #FBF6EF;
  --radius-arch: 999px 999px 0 0;
  --pad: clamp(20px, 5.5vw, 80px);
  --font-display: 'Gloock', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #15130F;
  --sand: #1F1B16;
  --paper: #29241D;
  --ink: #F1E8DA;
  --muted: #C2B6A4;
  --accent-text: #E6936D;
  --accent-hover: #F0B08F;
  --olive: #1A221B;
  --frame: #222C23;
  --line: rgba(241, 232, 218, .16);
  --edge: #D9CCB8;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .9s ease, color .9s ease;
}
section, header, footer, .card, .arch, .frame-card { transition: background-color .9s ease, border-color .9s ease, color .9s ease; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(44px, 6.1vw, 88px); line-height: 1.0; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; text-wrap: balance; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 12px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; }

/* Dark mode: line illustrations follow the theme */
[data-theme="dark"] svg [stroke="#2A231D"] { stroke: #D9CCB8; }
[data-theme="dark"] svg [fill="#2A231D"] { fill: #D9CCB8; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.hatch { background-image: repeating-linear-gradient(135deg, rgba(42,35,29,.10) 0 1px, transparent 1px 12px); }
[data-theme="dark"] .hatch { background-image: repeating-linear-gradient(135deg, rgba(241,232,218,.07) 0 1px, transparent 1px 12px); }
.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 30px; border-radius: 999px; border: 0; background: var(--accent); color: #FBF6EF; font: 600 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .25s ease, transform .25s ease; }
.btn:hover { background: #973F23; color: #FBF6EF; transform: translateY(-1px); }
.btn-light { background: #FBF6EF; color: #7E331C; }
.btn-light:hover { background: #fff; color: #7E331C; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--edge); }
.btn-ghost:hover { background: var(--sand); color: var(--ink); }
.link { font-weight: 500; font-size: 17px; text-underline-offset: 6px; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo span { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent-text); }
.nav .btn { padding: 14px 22px; font-size: 16px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--edge); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* Light switch */
.switch { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; cursor: pointer; font: 600 14px/1.1 var(--font-body); color: var(--ink); }
.switch-plate { position: relative; width: 46px; height: 64px; border-radius: 10px; border: 2px solid var(--edge); background: var(--paper); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--line); }
.switch-plate::before, .switch-plate::after { content: ""; position: absolute; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--edge); opacity: .6; }
.switch-plate::before { top: 6px; } .switch-plate::after { bottom: 6px; }
.switch-rocker { width: 20px; height: 36px; border-radius: 6px; border: 2px solid var(--edge); background: linear-gradient(to bottom, var(--light) 0 50%, #EBDDC8 50% 100%); box-shadow: inset 0 3px 0 rgba(255,255,255,.5), 0 0 12px rgba(242,184,75,.6); transition: background .3s ease, box-shadow .3s ease; }
[data-theme="dark"] .switch-rocker { background: linear-gradient(to bottom, var(--sand) 0 50%, #2A231D 50% 100%); box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); }
.switch-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.switch-text small { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 132px); align-items: center; padding-top: 48px; padding-bottom: 120px; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-art { position: relative; height: 620px; max-width: 400px; width: 100%; justify-self: end; }
.hero-back { position: absolute; top: 0; right: -16px; width: 100%; height: 590px; border-radius: 200px 200px 0 0; background: var(--accent); }
.hero-photo { position: absolute; bottom: 0; left: 0; width: 100%; height: 590px; border-radius: 200px 200px 0 0; background-color: var(--sand); border: 3px solid var(--edge); overflow: hidden; transition: box-shadow 1.2s ease, background-color .9s ease; }
[data-theme="dark"] .hero-photo { background-color: #3A2B1C; box-shadow: 0 0 110px 20px rgba(242,184,75,.25); }
.room-scene { display: block; width: 100%; height: 100%; }
.room-scene .rs-wall, .room-scene .rs-floor, .room-scene .rs-screen { transition: fill .9s ease; }
.room-scene .rs-glow { opacity: .35; transition: opacity .9s ease; }
[data-theme="dark"] .room-scene .rs-wall { fill: #2A2219; }
[data-theme="dark"] .room-scene .rs-floor { fill: #4A3A2A; }
[data-theme="dark"] .room-scene .rs-glow { opacity: 1; }
[data-theme="dark"] .room-scene .rs-screen { fill: #3E5240; }
.hero-tree { position: absolute; left: -96px; bottom: -2px; width: 170px; }
.sun { position: absolute; top: -28px; right: -52px; }
.moon { position: absolute; top: -40px; right: -62px; }
.stars { position: absolute; top: -40px; left: -190px; }

/* Theme-only elements */
.night-only { opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
[data-theme="dark"] .night-only { opacity: 1; }
.day-only { transition: opacity 1.2s ease; }
[data-theme="dark"] .day-only { opacity: 0; }

/* Quote band */
.quote { position: relative; overflow: hidden; background: var(--sand); padding: 120px 0; }
.quote p { position: relative; max-width: 900px; margin: 0 auto; padding: 0 var(--pad); text-align: center; font-family: var(--font-display); font-size: clamp(27px, 3.3vw, 48px); line-height: 1.25; text-wrap: balance; }
.quote p span { color: var(--accent-text); }
.quote .lamp { position: absolute; top: 0; left: clamp(20px, 7.6vw, 110px); width: 130px; }
.quote .picture { position: absolute; top: 48px; right: clamp(20px, 6.6vw, 96px); width: 140px; transform: rotate(-3deg); }
.quote .pool { position: absolute; inset: 0; background: radial-gradient(ellipse 520px 380px at 175px 250px, rgba(242,184,75,.30), rgba(242,184,75,0) 70%); }
.cone { opacity: .22; transition: opacity .9s ease; }
[data-theme="dark"] .cone { opacity: .6; }
.bulb { transition: filter .9s ease; }
[data-theme="dark"] .bulb { filter: drop-shadow(0 0 8px #F2B84B) drop-shadow(0 0 22px rgba(242,184,75,.85)); }

/* Schiefes Bild */
.crooked { padding: 120px 0 80px; overflow: hidden; }
.crooked .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.crooked-copy { display: flex; flex-direction: column; gap: 28px; }
.crooked-text { display: flex; flex-direction: column; gap: 24px; animation: cfFadeIn .7s ease both; }
.crooked-text[hidden] { display: none; }
.crooked h2 .accent { color: var(--accent-text); }
.crooked .btn-ghost { border-color: var(--edge); }
.crooked-art { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 130px; min-height: 780px; }
.crooked-cord { position: absolute; top: 0; left: 50%; width: 1.5px; height: 130px; background: var(--edge); }
.crooked-frame { width: min(100%, 620px); padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; transform: rotate(-8deg); transition: transform 1.1s cubic-bezier(.3,1.6,.4,1); }
.crooked-frame:hover { transform: rotate(-6deg); }
.crooked.is-straight .crooked-frame { transform: rotate(0deg); }
.crooked-string { width: 42%; margin-bottom: -6px; }
[data-theme="dark"] .crooked-string circle { fill: #D9CCB8; }
[data-theme="dark"] .crooked-string path { stroke: #D9CCB8; }
.crooked-wood { display: block; width: 100%; padding: 22px; background: var(--wood); border: 3px solid #2A231D; box-shadow: 14px 22px 0 rgba(42,35,29,.12); }
.crooked-mat { display: block; padding: 26px; background: #FBF6EF; border: 2px solid #2A231D; }
.crooked-canvas { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; background: #F6EEE3; border: 1.5px solid rgba(42,35,29,.4); }
.crooked-canvas svg { width: 100%; height: auto; font-family: var(--font-hand); animation: cfFadeIn .7s ease both; }
.crooked-canvas .tidy { display: none; }
.crooked.is-straight .messy { display: none; }
.crooked.is-straight .tidy { display: block; }
[data-theme="dark"] .crooked-canvas svg [stroke="#2A231D"] { stroke: #2A231D; }
[data-theme="dark"] .crooked-canvas svg [fill="#2A231D"] { fill: #2A231D; }
[data-theme="dark"] .crooked-wood { box-shadow: 0 0 80px 10px rgba(242,184,75,.18); }
.crooked-hint { margin-top: 40px; font-family: var(--font-hand); font-size: 26px; color: var(--muted); }
@keyframes cfFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Sections */
.section { padding: 120px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 64px; }
.section-head p { max-width: 420px; font-size: 18px; color: var(--muted); }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.room { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink); }
.room:hover { color: var(--ink); }
.room h3 { font-size: 20px; font-weight: 600; }
.room h3 span { color: var(--accent-text); }
.room p { font-size: 16px; color: var(--muted); }
.arch { position: relative; overflow: hidden; height: 320px; border-radius: var(--radius-arch); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; padding-bottom: 28px; font-family: var(--font-display); font-size: 30px; transition: transform .4s ease, box-shadow .6s ease, background-color .9s ease; }
.arch > * { position: relative; }
.arch-terra { background: var(--accent); color: #FBF6EF; }
.arch-sand { background: var(--sand); color: var(--ink); border: 3px solid var(--edge); }
.arch-olive { background: #2F3B2F; color: #F6EEE3; }
.arch .glow { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; background: radial-gradient(circle at 50% 55%, rgba(242,184,75,.78), rgba(242,184,75,0) 62%); }
[data-theme="dark"] .arch .glow { opacity: .5; }
.room:hover .glow, .room:focus-visible .glow { opacity: 1; }
.room:hover .arch { transform: translateY(-4px); }
[data-theme="dark"] .room:hover .arch { box-shadow: 0 0 60px 6px rgba(242,184,75,.35); }
.lantern { transition: filter .9s ease; }
[data-theme="dark"] .lantern { filter: drop-shadow(0 0 10px rgba(242,184,75,.9)); }

/* House rules */
.rules { background: var(--olive); color: #F6EEE3; padding: 120px 0 136px; }
.rules h2 { color: #F6EEE3; margin-bottom: 104px; }
.frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; align-items: start; }
.frame-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px 36px 44px; border: 8px solid var(--wood); background: var(--frame); }
.frame-card:nth-child(1) { transform: rotate(-1.2deg); }
.frame-card:nth-child(2) { transform: rotate(.8deg); margin-top: 28px; }
.frame-card:nth-child(3) { transform: rotate(-.5deg); margin-top: 8px; }
.frame-card .string { position: absolute; top: -66px; left: 50%; margin-left: -80px; }
.frame-card .num { font-family: var(--font-display); font-size: 56px; line-height: 1; color: #E9A07F; }
.frame-card h3 { font-size: 24px; font-weight: 600; color: #F6EEE3; }
.frame-card p { font-size: 17px; line-height: 1.6; color: #D9D2C5; }

/* About */
.about .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 10vw, 156px); align-items: center; }
.about-art { position: relative; height: 520px; max-width: 400px; }
.about-photo { height: 100%; border-radius: var(--radius-arch); background-color: var(--sand); border: 3px solid var(--edge); }
.about-table { position: absolute; right: -118px; bottom: 0; width: 180px; }
.about-copy { display: flex; flex-direction: column; gap: 28px; }
.about-copy p { font-size: 19px; line-height: 1.6; color: var(--muted); }

/* Door CTA */
.door-section { position: relative; padding: 80px 0 120px; }
.door-section .floorlight { position: absolute; right: 0; bottom: 0; width: 900px; max-width: 100%; height: 420px; background: radial-gradient(ellipse 380px 150px at 66% 72%, rgba(242,184,75,.35), rgba(242,184,75,0) 75%); }
.door-row { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); align-items: end; border-bottom: 3px solid var(--edge); }
.door-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 96px; }
.door-copy h2 { font-size: clamp(44px, 6.1vw, 88px); line-height: 1; }
.door-copy p { max-width: 520px; font-size: 20px; color: var(--muted); }
.door { grid-column: 3; position: relative; height: 620px; max-width: 520px; width: 100%; justify-self: end; }
.door-frame { position: absolute; inset: 0; border-radius: var(--radius-arch); background: var(--sand); border: 3px solid var(--edge); border-bottom: 0; }
.door-light { position: absolute; top: 22px; right: 22px; bottom: 0; left: 22px; border-radius: var(--radius-arch); background: var(--light); border: 3px solid #2A231D; border-bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 56px; font-family: var(--font-display); font-size: 34px; color: #2A231D; transition: box-shadow 1s ease; }
[data-theme="dark"] .door-light { box-shadow: 0 0 70px 14px rgba(242,184,75,.45); }
[data-theme="dark"] .door:hover .door-light { box-shadow: 0 0 140px 50px rgba(242,184,75,.65); }
.door-leaf { position: absolute; top: 22px; right: 22px; bottom: 0; left: 22px; border-radius: var(--radius-arch); background: var(--accent); border: 3px solid var(--edge); border-bottom: 0; display: flex; flex-direction: column; gap: 24px; padding: 110px 44px 44px; transform-origin: 0 50%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.door:hover .door-leaf, .door:focus-within .door-leaf, .door.is-open .door-leaf { transform: perspective(1400px) rotateY(-42deg); }
.door-leaf .panel-top { flex-grow: 1; border-radius: var(--radius-arch); border: 2px solid rgba(42,35,29,.45); }
.door-leaf .panel-bottom { height: 150px; border: 2px solid rgba(42,35,29,.45); }
.door-leaf .knob { position: absolute; right: 36px; top: 55%; width: 18px; height: 18px; border-radius: 50%; background: var(--light); border: 2px solid #2A231D; }
.stool { position: absolute; left: 44%; bottom: 0; width: 150px; }
.mat-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); }
.mat { grid-column: 3; justify-self: end; margin-top: -3px; margin-right: 80px; width: 360px; height: 60px; border-radius: 6px; background: var(--wood); border: 3px solid var(--edge); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; letter-spacing: .4em; color: #2A231D; outline: 2px dashed rgba(42,35,29,.45); outline-offset: -12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.site-footer .brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; }

/* Motion */
@keyframes cfSwing { 0%,100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes cfSway { 0%,100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes cfSteam { 0% { opacity: 0; transform: translateY(8px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes cfFlicker { 0%,100% { opacity: 1; } 45% { opacity: .72; } 70% { opacity: .9; } }
@keyframes cfTwinkle { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.swing { transform-origin: 50% 0; animation: cfSwing 5s ease-in-out infinite; }
.sway { transform-origin: 50% 100%; animation: cfSway 6s ease-in-out infinite; }
.steam path { transform-box: fill-box; animation: cfSteam 3.2s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.4s; }
.flicker { animation: cfFlicker 2.4s ease-in-out infinite; }
.twinkle circle { animation: cfTwinkle 3s ease-in-out infinite; }
.twinkle circle:nth-child(2n) { animation-delay: 1.1s; }
.twinkle circle:nth-child(3n) { animation-delay: 2s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swing, .sway, .steam path, .flicker, .twinkle circle { animation: none; }
  .door-leaf, .arch, .reveal, .crooked-frame { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Sub pages ---------- */
.crumbs { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 132px); align-items: end; padding-top: 40px; }
.page-hero .copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 120px; }
.page-hero .art { height: 640px; border-radius: var(--radius-arch); background: var(--accent); border: 3px solid var(--edge); border-bottom: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.page-hero .floor-wrap { display: block; padding-top: 0; }
.floor { height: 3px; background: var(--edge); }
.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.problem { display: flex; flex-direction: column; gap: 16px; padding: 88px 32px 36px; background: var(--sand); border-radius: 180px 180px 0 0; }
.problem .hand { font-family: var(--font-hand); font-size: 30px; line-height: 1.2; color: var(--accent-text); }
.problem p { font-size: 17px; color: var(--muted); }
.recipe { background: var(--olive); color: #F6EEE3; padding: 120px 0; }
.recipe .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 132px); }
.recipe h2 { color: #F6EEE3; }
.ingredients { margin-top: 28px; padding: 28px; border: 2px dashed rgba(246,238,227,.45); }
.ingredients strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #E9A07F; margin-bottom: 12px; }
.ingredients ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; color: #D9D2C5; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid rgba(246,238,227,.3); }
.steps li:last-child { border-bottom: 1px solid rgba(246,238,227,.3); }
.steps .n { font-family: var(--font-display); font-size: 44px; line-height: 1; color: #E9A07F; }
.steps h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; color: #F6EEE3; }
.steps p { font-size: 17px; color: #D9D2C5; }
.plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.plate { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.plate h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.plate p { font-size: 16px; color: var(--muted); }
.price { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding: 32px 40px; background: var(--sand); border-radius: 12px; }
.next-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.next-rooms a { height: 220px; padding-bottom: 24px; justify-content: flex-end; font-size: 26px; text-decoration: none; }
.next-rooms a:hover { transform: translateY(-4px); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 132px); align-items: start; padding-top: 48px; padding-bottom: 120px; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.bell-panel { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px; border-radius: 18px; background: var(--wood); border: 3px solid var(--edge); box-shadow: inset 0 0 0 6px rgba(251,246,239,.25); }
.bell-panel .plate-title { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 6px 6px; font-family: var(--font-display); font-size: 18px; color: #2A231D; }
.bell-panel .plate-title::before, .bell-panel .plate-title::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2A231D; }
fieldset.bell-panel { margin: 0; min-width: 0; }
.bell { display: flex; align-items: center; gap: 16px; cursor: pointer; }
.bell input { position: absolute; opacity: 0; pointer-events: none; }
.bell .label { flex-grow: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-radius: 8px; border: 2px solid #2A231D; background: #F6EEE3; color: #2A231D; transition: background .2s, box-shadow .2s; }
.bell .label b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.bell .label small { font-size: 14px; color: #4A3F35; }
.bell .button { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #2A231D; background: #EBDDC8; box-shadow: inset 0 -4px 0 rgba(42,35,29,.2); transition: background .2s, box-shadow .3s; }
.bell input:checked ~ .label { background: #FBF6EF; box-shadow: 0 0 0 3px var(--light); }
.bell input:checked ~ .button { background: var(--light); box-shadow: 0 0 18px 6px rgba(242,184,75,.7); }
.bell input:focus-visible ~ .label { outline: 3px solid #2A231D; outline-offset: 2px; }
.form-card { display: flex; flex-direction: column; gap: 22px; padding: 140px 48px 48px; background: var(--sand); border-radius: 300px 300px 0 0; min-height: 820px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 16px 18px; font: 17px/1.4 var(--font-body); color: var(--ink); background: var(--paper); border: 2px solid var(--edge); border-radius: 10px; }
.field textarea { resize: vertical; min-height: 160px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.form-foot span { font-size: 14px; color: var(--muted); }
.thanks { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 40px; text-align: center; }
.thanks[hidden] { display: none; }
[data-fields][hidden], .form-status[hidden] { display: none !important; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { margin: 0; color: var(--ink); font-size: 15px; line-height: 1.5; }
.form-foot button:disabled { opacity: .65; cursor: wait; }

/* Legal */
.legal .wrap { max-width: 860px; padding-top: 48px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; }
.legal h2 { font-size: 32px; margin-top: 24px; }
.legal p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .rooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 22px; }
  .stool { display: none; }
}

@media (max-width: 960px) {
  body { font-size: 17px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 88px; left: 16px; right: 16px; z-index: 50; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; border-radius: 18px; background: var(--paper); border: 2px solid var(--edge); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 18px; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .switch { padding: 12px; }
  .site-header { position: relative; }
  .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
  .logo span { font-size: 24px; }
  .logo svg { width: 20px; height: 26px; }
  .hero .wrap, .page-hero .wrap, .about .wrap, .recipe .wrap, .contact .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-top: 16px; padding-bottom: 56px; gap: 40px; }
  .hero-art { height: 420px; max-width: 300px; justify-self: end; margin-right: 16px; }
  .hero-back, .hero-photo { height: 400px; border-radius: 150px 150px 0 0; }
  .hero-tree { width: 110px; left: -84px; }
  .stars { left: -120px; transform: scale(.7); }
  .sun { right: -24px; top: -36px; transform: scale(.8); }
  .moon { right: -34px; top: -46px; transform: scale(.8); }
  .quote { padding: 150px 0 56px; }
  .quote p { text-align: left; }
  .quote .lamp { width: 80px; }
  .quote .picture { width: 92px; top: 28px; }
  .section { padding: 72px 0; }
  .crooked { padding: 64px 0 40px; }
  .crooked .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .crooked-art { min-height: 0; padding-top: 80px; }
  .crooked-cord { height: 80px; }
  .crooked-wood { padding: 14px; }
  .crooked-mat { padding: 14px; }
  .crooked-frame { transform: rotate(-6deg); }
  .crooked-hint { margin-top: 28px; font-size: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .rooms { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .room { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 18px; row-gap: 4px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .room .arch { grid-row: 1 / span 2; height: 112px; padding-bottom: 14px; font-size: 0; gap: 0; }
  .room .arch svg { transform: scale(.62); transform-origin: 50% 100%; margin-bottom: -14px; }
  .room h3 { align-self: end; }
  .room p { align-self: start; font-size: 15px; }
  .rules { padding: 72px 0; }
  .rules h2 { margin-bottom: 72px; }
  .frames { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .frame-card { margin-top: 0 !important; padding: 28px 24px; }
  .about .wrap { gap: 32px; }
  .about-art { height: 380px; max-width: 260px; }
  .about-table { right: -110px; width: 120px; }
  .door-section { padding: 16px 0 56px; }
  .door-row { grid-template-columns: minmax(0, 1fr); }
  .door-copy { padding-bottom: 40px; }
  .door { grid-column: 1; height: 440px; max-width: 340px; justify-self: center; }
  .door-leaf { padding: 80px 30px 30px; }
  .door-leaf .panel-bottom { height: 90px; }
  .mat-row { grid-template-columns: minmax(0, 1fr); }
  .mat { grid-column: 1; justify-self: center; margin-right: 0; width: 240px; height: 48px; font-size: 12px; letter-spacing: .35em; }
  .page-hero .copy { padding-bottom: 32px; }
  .page-hero .art { height: 420px; max-width: 360px; width: 100%; justify-self: center; }
  .page-hero .art svg { width: 260px; }
  .problems, .plates, .next-rooms { grid-template-columns: minmax(0, 1fr); }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-rooms a { height: 140px; }
  .recipe { padding: 72px 0; }
  .contact .wrap { padding-top: 16px; padding-bottom: 72px; }
  .form-card { padding: 96px 20px 28px; border-radius: 200px 200px 0 0; min-height: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .bell-panel { padding: 20px 16px 22px; }
  .bell .label { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; }
}

@media (max-width: 520px) {
  .plates { grid-template-columns: minmax(0, 1fr); }
  .price { padding: 24px; }
  .actions .btn { width: 100%; justify-content: center; }
}
