/* Kreativ- und Sprachschule Lubinez
   Farben aus dem Logo: Orange (Sprache), Grün (Kunst), Blau (Modellflug), Rosa (Vorschule) */

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbf8f3;
  --paper-2: #f3eee6;
  --white: #ffffff;
  --ink: #26323b;
  --ink-soft: #4d6271;
  --line: #e4ddd2;

  --orange: #ee7c2b;
  --orange-ink: #a84a0e;
  --orange-tint: #fdeee2;
  --green: #5cad45;
  --green-ink: #3b7a2a;
  --green-tint: #e9f4e4;
  --blue: #3c70b7;
  --blue-ink: #2d5a98;
  --blue-tint: #e6eef8;
  --pink: #f49bad;
  --pink-ink: #b23a5a;
  --pink-tint: #fde9ed;
  --purple: #6961a2;
  --purple-tint: #efedfa;

  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(38, 50, 59, 0.06), 0 8px 24px rgba(38, 50, 59, 0.08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
h1 em, h2 em { font-style: italic; color: var(--orange-ink); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 84px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.brand img { width: 216px; height: 64px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.main-nav a:hover { background: var(--paper-2); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.main-nav .nav-cta a { background: var(--orange-ink); color: #fff; }
.main-nav .nav-cta a:hover { background: #8f3e0b; }
.main-nav .nav-cta a[aria-current="page"] { background: var(--ink); }

@media (max-width: 720px) {
  .header-inner { justify-content: center; min-height: 0; }
  .brand img { width: 176px; height: 52px; }
  .main-nav { width: 100%; }
  .main-nav ul { justify-content: center; gap: 2px; }
  .main-nav a { padding: 6px 11px; font-size: 0.88rem; }
  html { scroll-padding-top: 130px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange-ink); color: #fff; }
.btn-primary:hover { background: #8f3e0b; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Abschnitte */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange); box-shadow: 14px 0 0 var(--green), 28px 0 0 var(--blue);
  margin-right: 28px;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { max-width: 34em; }
.hero-collage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-collage figure { position: absolute; margin: 0; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .c1 { left: 0; top: 4%; width: 58%; height: 70%; border-radius: 999px 999px var(--radius) var(--radius); }
.hero-collage .c2 { right: 0; top: 0; width: 38%; height: 40%; border-radius: 50%; }
.hero-collage .c3 { right: 2%; bottom: 0; width: 46%; height: 52%; border-radius: var(--radius) var(--radius) 999px 999px; }
.hero-collage .dot { position: absolute; border-radius: 50%; }
.hero-collage .d1 { width: 16%; aspect-ratio: 1; background: var(--orange); left: 10%; bottom: 6%; }
.hero-collage .d2 { width: 9%; aspect-ratio: 1; background: var(--green); left: 44%; top: 0; }
.hero-collage .d3 { width: 6%; aspect-ratio: 1; background: var(--pink); left: 38%; bottom: 0; }

.facts {
  list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts li { background: var(--paper); padding: 18px 20px; font-size: 0.95rem; color: var(--ink-soft); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); line-height: 1.2; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { justify-self: center; max-width: 440px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

/* Farbthemen pro Kursbereich */
.t-orange { --c: var(--orange); --c-ink: var(--orange-ink); --c-tint: var(--orange-tint); }
.t-green { --c: var(--green); --c-ink: var(--green-ink); --c-tint: var(--green-tint); }
.t-blue { --c: var(--blue); --c-ink: var(--blue-ink); --c-tint: var(--blue-tint); }
.t-pink { --c: var(--pink); --c-ink: var(--pink-ink); --c-tint: var(--pink-tint); }

/* Kursbereiche als Karten */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px 22px 22px; border-radius: var(--radius);
  background: var(--c-tint); color: var(--ink); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--c); margin-bottom: 10px; }
.area strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.area span { font-size: 0.93rem; color: var(--ink-soft); }
.area .more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--c-ink); font-size: 0.9rem; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .areas { grid-template-columns: 1fr; } }

/* Zweispaltige Textblöcke */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* Drei Säulen */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar .num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--c-ink); display: block; margin-bottom: 14px; }
.pillar p { color: var(--ink-soft); margin: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* Bildkarten "Unterricht mal anders" */
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.story { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-body { padding: 26px 28px 30px; border-top: 6px solid var(--c); }
.story .tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 6px; }
.story p:last-child { margin: 0; color: var(--ink-soft); }
@media (max-width: 720px) { .stories { grid-template-columns: 1fr; } }

/* Engagement */
.engagement { display: grid; gap: clamp(48px, 7vw, 88px); }
.mini-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Aufruf zum Anmelden */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #d6dde2; max-width: 36em; }
.cta-band .btn-primary { background: var(--orange); color: var(--ink); }
.cta-band .btn-primary:hover { background: #f59a5a; }

/* Seitenkopf Unterseiten */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-head .lead { max-width: 40em; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }

/* Kurse */
.course-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 820px) { .course-nav { grid-template-columns: repeat(2, 1fr); } }
.course-section { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.course-section:nth-of-type(even) { background: var(--white); }
.course-intro h2 { display: flex; align-items: center; gap: 16px; }
.course-intro h2::before { content: ""; flex: none; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--c); }
.course-intro p { color: var(--ink-soft); }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: clamp(32px, 5vw, 56px); }
.offer {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 22px; position: relative;
}
.section-alt .offer, .course-section:nth-of-type(even) .offer { background: var(--paper); }
.offer h3 { font-size: 1.5rem; margin-bottom: 4px; }
.offer .who { display: inline-block; align-self: flex-start; font-size: 0.82rem; font-weight: 700; color: var(--c-ink); background: var(--c-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.offer p { font-size: 0.97rem; color: var(--ink-soft); }
.offer .price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.offer .amount { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--ink); }
.offer .unit { font-size: 0.88rem; color: var(--ink-soft); }
.offer .when { width: 100%; font-size: 0.88rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.offer .when a { font-weight: 700; }
.note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery figure { break-inside: avoid; margin: 0 0 14px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform 0.3s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { font-size: 0.82rem; color: var(--ink-soft); padding: 6px 2px 0; }
.gallery-group-title { column-span: all; font-family: var(--serif); font-size: 1.6rem; margin: 18px 0 12px; }
.gallery [hidden] { display: none; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0;
}
.lightbox::backdrop { background: rgba(20, 26, 31, 0.92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 16px 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 8px; }
.lightbox p { color: #e9eef1; margin: 14px 0 0; text-align: center; font-size: 0.95rem; }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.contact-card::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--c, var(--orange)); }
.contact-card h2 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 4px; }
.contact-card p { margin: 0; }
.contact-card .big { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; }
.contact-card .big a { color: var(--ink); text-decoration: none; }
.contact-card .big a:hover { text-decoration: underline; }
.contact-card small { color: var(--ink-soft); font-size: 0.9rem; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form h2 { font-size: 2rem; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfc6b8; border-radius: 12px; background: var(--paper);
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--purple-tint); border-color: var(--purple); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: grid; gap: 14px; }
.checks .group { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.checks .group-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); margin: 0 0 6px; }
.checks label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 0.97rem; margin: 4px 0; cursor: pointer; }
.checks input { margin-top: 0.3em; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.alert-error { background: var(--pink-tint); color: #7d1f39; }
.alert-ok { background: var(--green-tint); color: #2a5a1e; }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.3rem; margin-top: 1.3em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; color: var(--ink); margin-bottom: 1em; }

/* Fußbereich */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 28px; margin-top: 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 4px 0; }
.footer-grid a { color: var(--ink); }
.footer-grid address { font-style: normal; }
.footer-brand img { width: 216px; height: 64px; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); max-width: 26em; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 0.85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Akzente: Kunst und Russisch */
.eyebrow .ru { font-weight: 600; letter-spacing: 0.06em; text-transform: none; color: var(--ink-soft); opacity: 0.75; }
.brush {
  position: relative; white-space: nowrap; z-index: 0;
}
.brush::after {
  content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.12em; bottom: 0.02em; height: 0.42em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26C60 12 130 8 210 11s140 6 186 2c-30 9-90 18-170 19S40 34 4 26z' fill='%23ee7c2b' fill-opacity='.38'/%3E%3Cpath d='M18 30c80-9 190-12 330-10' stroke='%23ee7c2b' stroke-opacity='.5' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.hero-collage .cyr {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 11vw, 9rem); line-height: 1;
  color: var(--white); -webkit-text-stroke: 2px var(--orange-ink); text-shadow: 0 6px 24px rgba(38, 50, 59, 0.15);
  z-index: 2; pointer-events: none;
}
.hero-collage .swatch { position: absolute; border-radius: 45% 55% 50% 50% / 60% 45% 55% 40%; opacity: 0.9; }
.hero-collage .s1 { width: 22%; height: 12%; background: var(--green); right: 40%; bottom: 14%; transform: rotate(-14deg); z-index: 1; }
.hero-collage .s2 { width: 14%; height: 9%; background: var(--blue); right: 4%; top: 42%; transform: rotate(18deg); }

#bereiche { margin-top: 56px; grid-template-columns: 1.6fr 1.6fr 1fr; grid-template-rows: auto auto; }
#bereiche .area-big { grid-row: span 2; padding: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
#bereiche .area-big::before { display: none; }
#bereiche .area-big img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
#bereiche .area-big > div { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; border-top: 6px solid var(--c); flex: 1; }
#bereiche .area-big strong { font-size: 1.9rem; }
@media (max-width: 900px) {
  #bereiche { grid-template-columns: 1fr 1fr; }
  #bereiche .area-big { grid-row: auto; }
}
@media (max-width: 560px) { #bereiche { grid-template-columns: 1fr; } }

.section-tight, .gallery-section { padding-top: 0; }
.eyebrow { flex-wrap: wrap; row-gap: 2px; }
.course-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.course-nav .area { padding: 20px 18px 18px; }
.course-nav .area strong { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 820px) { .course-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .course-nav .area strong { font-size: 1.2rem; } .course-nav .area::before { width: 26px; height: 26px; } }
.page-head + .section { padding-top: 16px; }

/* ------------------------------------------------------------------
   Galerie-Feinschliff: Papierstruktur, Passepartouts, Museumsschilder
   ------------------------------------------------------------------ */
:root {
  color-scheme: light;
  --radius: 10px;
  --radius-lg: 14px;
  --mat: #ffffff;
  --frame-shadow: 0 1px 1px rgba(38, 50, 59, 0.08), 0 14px 30px -12px rgba(38, 50, 59, 0.28);
}
body {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-alt { background-color: rgba(255, 255, 255, 0.72); }
h1 { font-size: clamp(2.8rem, 7.2vw, 5.8rem); letter-spacing: -0.025em; line-height: 1.02; }
h1, h2, h3 { text-wrap: balance; }
h2 { letter-spacing: -0.02em; }

/* Bilder im Passepartout */
.split-media img, .mini-gallery img {
  border-radius: 2px; border: 10px solid var(--mat); box-shadow: var(--frame-shadow); background: var(--mat);
}
@media (min-width: 821px) {
  .engagement .split .split-media { transform: rotate(-1.2deg); }
  .engagement .split.reverse .split-media { transform: rotate(1deg); }
  .mini-gallery img:nth-child(odd) { transform: rotate(-1.5deg); }
  .mini-gallery img:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
}
.hero-collage figure { border: 8px solid var(--mat); box-shadow: var(--frame-shadow); }
.hero-collage .cyr {
  color: var(--orange-ink); -webkit-text-stroke: 0; text-shadow: none; opacity: 0.9;
  font-size: clamp(4rem, 8vw, 6.5rem); left: 54%; top: 46%;
}

/* Laufband mit Techniken und Fächern */
.ribbon { background: var(--ink); color: #f3eee6; overflow: hidden; padding-block: 18px; border-block: 1px solid #1a242b; }
.ribbon ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; width: max-content; animation: ribbon 70s linear infinite; }
.ribbon li { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.9rem); white-space: nowrap; display: flex; align-items: center; }
.ribbon li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; margin-inline: 28px; background: var(--orange); }
.ribbon li:nth-child(4n+2)::after { background: var(--green); }
.ribbon li:nth-child(4n+3)::after { background: var(--blue); }
.ribbon li:nth-child(4n)::after { background: var(--pink); }
.ribbon li[lang="ru"] { color: #f6c39d; }
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon ul { animation: none; } }

/* Säulen ohne Kästen, mit Farbklecks */
.pillar { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 26px 4px 0; }
.pillar .blob {
  display: block; width: 46px; height: 34px; margin-bottom: 18px; background: var(--c);
  border-radius: 58% 42% 63% 37% / 46% 58% 42% 54%; transform: rotate(-8deg);
}
.pillar h3 { font-size: 1.7rem; }

/* Geschichten wie Ausstellungstafeln */
.story { border-radius: 4px; box-shadow: var(--frame-shadow); padding: 12px 12px 0; background: var(--mat); }
.story img { border-radius: 2px; }
.story-body { border-top: 0; padding: 22px 12px 26px; position: relative; }
.story-body::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 14px; }

/* Karten ruhiger */
.area, .offer, .contact-card, .form, .checks .group { border-radius: var(--radius); }
.offer { background: var(--mat); }
#bereiche .area-big { border-radius: 4px; padding: 10px 10px 0; box-shadow: var(--frame-shadow); border: 0; }
#bereiche .area-big img { border-radius: 2px; }
#bereiche .area-big > div { border-top: 0; padding: 20px 14px 22px; }
#bereiche .area-big > div::before { content: ""; width: 42px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 8px; }

/* Galerie als Ausstellungswand */
.gallery { column-gap: 22px; }
.gallery figure { margin-bottom: 26px; }
.gallery a { background: var(--mat); padding: 10px; border-radius: 2px; box-shadow: var(--frame-shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gallery a:hover { transform: translateY(-3px); }
.gallery a:hover img { transform: none; }
.gallery figcaption { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink); padding: 10px 2px 0; line-height: 1.35; }
.gallery figcaption .label-cat {
  display: block; font-family: var(--sans); font-style: normal; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px;
}

/* Weiße Checkboxen */
.checks input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0.15em 0 0; flex: none;
  background: #fff; border: 1.5px solid #b9b0a2; border-radius: 5px; cursor: pointer;
  display: grid; place-content: center; transition: background 0.15s ease, border-color 0.15s ease;
}
.checks input[type="checkbox"]::before {
  content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform 0.12s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.4' fill='none' stroke='%236961a2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks input[type="checkbox"]:checked { border-color: var(--purple); background: #fff; }
.checks input[type="checkbox"]:checked::before { transform: scale(1); }
.checks input[type="checkbox"]:focus-visible { outline: 3px solid var(--purple-tint); outline-offset: 1px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea { background: #fff; }

/* Fußbereich mit Leitsatz */
.site-footer { background: var(--paper-2); }
.footer-motto {
  font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 clamp(36px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line);
}
.footer-motto span { display: block; font-size: 0.42em; color: var(--orange-ink); letter-spacing: 0; margin-top: 10px; }
/* Hero ruhiger: nur ein Farbpunkt, kyrillischer Akzent unten links */
.hero-collage .swatch, .hero-collage .d2, .hero-collage .d3 { display: none; }
.hero-collage .d1 { width: 14%; left: 6%; bottom: 8%; }
.hero-collage .cyr { left: 26%; top: auto; bottom: 2%; transform: rotate(-6deg); font-size: clamp(3.4rem, 6vw, 5rem); }
