@font-face { font-family: "Sansation"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/sansation-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Sansation"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/sansation-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Sansation"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/sansation-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Sansation"; font-style: italic; font-weight: 700; font-display: swap; src: url(fonts/sansation-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/montserrat-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --bg: #f8f4fc;
  --paper: #ffffff;
  --tint: #efe5f8;
  --ink: #2d1846;
  --soft: #5b4a72;
  --line: #e1d4f0;
  --accent: #e8701c;
  --accent-text: #c2540c;
  --accent-dark: #b04a08;
  --head: "Sansation", "Trebuchet MS", sans-serif;
  --sub: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: 0; }
h3, .h3 { font-family: var(--sub); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.eyebrow, .kicker { font-family: var(--sub); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: var(--soft); max-width: 40em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248, 244, 252, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand-logo { width: 54px; height: 54px; display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--head); font-size: 1.55rem; font-weight: 700; }
.brand-tag { font-family: var(--sub); font-weight: 600; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); margin-top: .3rem; }
.main-nav ul { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; letter-spacing: .03em; padding: .4rem 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s, opacity .25s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -8px; } .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; padding: .9rem 1.9rem; border: 1px solid var(--ink); border-radius: var(--radius); font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.full { display: block; text-align: center; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.link, .more { text-decoration: none; font-size: .95rem; letter-spacing: .06em; color: var(--accent-dark); font-weight: 600; }
.link:hover, .more:hover { text-decoration: underline; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section.pt0 { padding-top: 0; }
.tinted { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }

/* Hero */
.hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 em { display: inline-block; margin-top: .15em; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; }
.hero-art .big { position: absolute; inset: 0 12% 12% 0; }
.hero-art .small { position: absolute; width: 42%; height: auto; aspect-ratio: 3 / 4; right: 0; bottom: 0; padding: 4%; }

/* Painting frames */
.frame { display: block; background: var(--paper); padding: 6%; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px -18px rgba(45, 24, 70, .35); height: 100%; }
.canvas { display: block; width: 100%; height: 100%; position: relative; }
.canvas::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 5px), repeating-linear-gradient(0deg, rgba(0,0,0,.03) 0 2px, transparent 2px 6px); mix-blend-mode: overlay; }

/* Two paths */
.two-paths { padding-top: 0; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path-card { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: clamp(2rem, 4vw, 3.2rem); transition: border-color .25s, transform .25s, box-shadow .25s; }
.path-card:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(45,24,70,.45); }
.path-card p { color: var(--soft); }
.path-num { font-family: var(--sub); font-size: 1rem; font-weight: 600; color: var(--accent); display: block; margin-bottom: 1.2rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.6rem); }
.work { margin: 0; }
.work[hidden] { display: none; }
.work-open { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; cursor: zoom-in; }
.work-open .frame { transition: transform .3s, box-shadow .3s; }
.work-open:hover .frame { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 26px 50px -20px rgba(45, 24, 70, .45); }
.work figcaption { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; margin-top: 1.1rem; }
.work-title { font-family: var(--sub); font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.work-meta { grid-column: 1; color: var(--soft); font-size: .95rem; }
.badge { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #3f6b4f; border: 1px solid currentColor; padding: .15rem .55rem; border-radius: 99px; }
.badge.sold { color: var(--soft); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter { font: inherit; font-size: .95rem; font-weight: 500; background: transparent; border: 1px solid var(--line); color: var(--ink); padding: .45rem 1.2rem; border-radius: 99px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.note { margin-top: 3rem; color: var(--soft); max-width: 40em; }

/* Courses */
.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.course-card { background: var(--paper); padding: clamp(2rem, 4vw, 3rem); border-top: 4px solid var(--accent); border-radius: 0 0 6px 6px; }
.course-card h3 { font-size: 1.4rem; line-height: 1.3; }
.course-card p { color: var(--soft); }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles li { padding: 1.8rem 1.5rem 1.8rem 0; display: flex; flex-direction: column; }
.principles li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.principles strong { font-family: var(--sub); font-size: 1.1rem; font-weight: 600; }
.principles span { color: var(--soft); }
.course-detail { scroll-margin-top: 90px; }
.course-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.small-title { font-size: 1.1rem; margin-top: 2rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 1rem; height: 1px; background: var(--accent); }
.facts { background: var(--paper); border: 1px solid var(--line); padding: 2rem; position: sticky; top: 110px; }
.facts dl { margin: 0 0 1.6rem; }
.facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--soft); font-size: .95rem; }
.facts dd { margin: 0; text-align: right; font-weight: 600; font-size: .98rem; }
.dates { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.dates li { display: grid; grid-template-columns: 9rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.d-date { font-family: var(--sub); font-size: 1.05rem; font-weight: 600; color: var(--accent-dark); }
.d-course { display: flex; flex-direction: column; }
.d-course span { color: var(--soft); font-size: .95rem; }
.d-spots { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #3f6b4f; }
.faq { margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-family: var(--sub); font-size: 1.08rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--soft); padding-right: 2.5rem; }

/* Quote & CTA */
.quote-section { padding-block: clamp(4rem, 9vw, 7rem); }
blockquote { margin: 0; text-align: center; }
blockquote p { font-family: var(--head); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 2.7vw, 2rem); line-height: 1.4; margin-bottom: 1.2rem; }
blockquote cite { font-style: normal; font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.cta { background: var(--ink); color: #f1e9fa; }
.cta h2 { color: #fff; }
.cta .lead { color: #d3c4e6; margin-inline: auto; }
.cta .btn { background: var(--accent); color: #fff; border-color: var(--accent); margin-top: 1rem; }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.portrait { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #e7dcf4, #bfa9da); display: flex; align-items: flex-end; padding: 1.2rem; position: sticky; top: 110px; }
.portrait span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(45,24,70,.65); }
.prose p { max-width: 38em; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { padding: 0 0 1rem 1.5rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.timeline span { display: inline-block; min-width: 4.5rem; color: var(--accent-dark); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.8rem); }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); margin-bottom: .45rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field .invalid { border-color: #b3412b; }
.form-error { color: #9b2f1d; }
.form-ok { color: #3f6b4f; margin-top: 1rem; }
.contact-info .h3 { font-size: 1.35rem; margin-bottom: .2rem; }
.contact-info p { margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: #22123a; color: #d0c3e2; padding: 4.5rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #f3ecfb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .muted { color: #b9a9d0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .6rem; }
.footer-title { font-family: var(--sub); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #f59a52; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .3rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid #3d2a58; margin-top: 3rem; padding-top: 1.6rem; font-size: .9rem; color: #a594bf; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(29, 15, 48, .95); display: grid; grid-template-columns: 4rem 1fr 4rem; align-items: center; padding: 2rem 1rem; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.lb-art { width: min(70vh, 90%); aspect-ratio: 4 / 5; max-height: 78vh; background: #fff; padding: 2.5%; }
.lb-art .canvas { height: 100%; }
.lb-caption { color: #e6dcf3; text-align: center; margin-top: 1.2rem; }
.lb-caption strong { font-family: var(--sub); font-weight: 600; font-size: 1.2rem; display: block; color: #fff; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; padding: .5rem; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { position: absolute; top: 1rem; right: 1.4rem; }
body.no-scroll { overflow: hidden; }

/* Responsive */
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .course-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .facts, .portrait { position: static; }
  .portrait { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1.2rem; }
  .main-nav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav li:last-child a { border-bottom: 0; }
  .path-grid, .course-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .gallery { grid-template-columns: 1fr; }
  .header-inner { min-height: 72px; }
  .brand-name { font-size: 1.5rem; }
  .dates li { grid-template-columns: 1fr; gap: .3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 2.5rem 1fr 2.5rem; padding: 1rem .3rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Echte Bilder */
.canvas.photo { background: #eee6f5; overflow: hidden; }
.canvas.photo::after { display: none; }
.canvas.photo img { width: 100%; height: 100%; object-fit: cover; }
.lb-art.photo { width: auto; aspect-ratio: auto; max-width: 92%; max-height: 78vh; padding: 10px; background: #fff; }
.lb-art.photo img { max-height: calc(78vh - 20px); width: auto; max-width: 100%; display: block; }
.in-room { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.in-room img { width: 100%; height: auto; box-shadow: 0 24px 50px -28px rgba(45, 24, 70, .5); }
.portrait.photo { padding: 0; background: none; aspect-ratio: auto; display: block; }
.portrait.photo img { width: 100%; height: auto; }
.portrait.photo figcaption { font-size: .9rem; color: var(--soft); margin-top: .7rem; }
@media (max-width: 820px) { .in-room { grid-template-columns: 1fr; } }

/* Logo, Porträts, Raumansichten */
.footer-logo { width: 128px; height: 128px; display: block; margin-bottom: 1.2rem; }
.teaser-photo { margin: 0; }
.teaser-photo img { width: 100%; height: auto; max-height: 640px; object-fit: cover; object-position: top; box-shadow: 0 24px 50px -28px rgba(45, 24, 70, .5); }
.about-teaser > div { order: 0; }
.room-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.room-grid figure { margin: 0; }
.room-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.room-grid figcaption { font-size: .92rem; color: var(--soft); margin-top: .6rem; }
.handover { margin: 2.2rem 0 0; max-width: 460px; }
.handover img { width: 100%; height: auto; }
.handover figcaption { font-size: .9rem; color: var(--soft); margin-top: .6rem; }
.contact-photo { margin: 0 0 1.8rem; max-width: 260px; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 4px; }
@media (max-width: 960px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brand-logo { width: 44px; height: 44px; } .brand { gap: .7rem; } }
