/* =========================================================
   Gitarrenschule im Rodensteinzentrum
   Palette: Ebenholz, Palisander, Messing, Fichte
   ========================================================= */
:root {
  /* Farben aus der alten Seite: Rot #FF0000 und Grün #008000 auf Hellgrau #D4D4D4,
     für Lesbarkeit leicht abgedunkelt (Kontrast mindestens 4,5:1) */
  --red: #c8101f;
  --red-bright: #e8232b;
  --green: #00702f;
  --green-deep: #0b2a18;

  --bg: #f4f3ee;
  --bg-2: #e6e6e0;
  --surface: #ffffff;
  --text: #17201a;
  --text-2: #3c473f;
  --muted: #5f6a61;
  --heading: #0d3a20;
  --line: rgba(23, 32, 26, .14);
  --line-strong: rgba(23, 32, 26, .3);
  --accent: var(--red);
  --accent-hover: #a90c19;
  --accent-text: var(--green);
  --on-accent: #ffffff;
  --mark: var(--green);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --wrap: min(1200px, 100% - 2 * var(--gutter));
  --r: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

/* Dunkelgrüne Bereiche: Kopfzeile, Startbild, Konzerte, Fußzeile */
.on-dark {
  --bg: #0b2a18;
  --bg-2: #0f331f;
  --surface: #134028;
  --text: #f5f2ea;
  --text-2: rgba(245, 242, 234, .8);
  --muted: rgba(245, 242, 234, .62);
  --heading: #f5f2ea;
  --line: rgba(245, 242, 234, .16);
  --line-strong: rgba(245, 242, 234, .32);
  --accent-text: #a6deb2;
  --mark: #a6deb2;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.08rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, th, dt, summary { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, .price-cta__title, .offer__txt strong { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
::selection { background: var(--accent); color: var(--on-accent); }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: var(--accent); }

/* Typografie */
.h2 {
  font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 120;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 0 0 1.2rem; max-width: 20ch; color: var(--heading);
}
.h2--xl { font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); max-width: none; }
.section__lead { color: var(--text-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 38rem; margin: 0 0 clamp(2rem, 5vw, 3.5rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: var(--r);
  background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: .98rem; line-height: 1.2;
  border: 1px solid var(--accent); transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--sm { padding: .55rem .95rem; font-size: .9rem; }
.hero__call { color: var(--text-2); text-decoration: none; font-size: .98rem; }
.hero__call strong { color: var(--text); border-bottom: 1px solid var(--mark); }
.hero__call:hover strong { color: var(--accent-text); }
.link-arrow { display: inline-block; color: var(--accent-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .1rem; margin-top: .8rem; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--text); }

/* =================== HEADER =================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 70; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  transition: background .3s, transform .4s var(--ease), border-color .3s; border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: var(--bg); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__logo {
  width: 34px; height: 38px; flex: none; background: var(--red-bright);
  -webkit-mask: url(../img/logo-alt.gif) center / contain no-repeat; mask: url(../img/logo-alt.gif) center / contain no-repeat;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.brand__text em { font-style: normal; font-size: .78rem; color: var(--muted); }

.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); margin: 0; padding: 0; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--text-2); padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--text); border-color: var(--mark); }
.nav__toggle { display: none; }
@media (max-width: 900px) {
  .nav__toggle { display: grid; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg); position: relative; z-index: 2; }
  .nav__toggle span:not(.sr) { width: 18px; height: 1.5px; background: var(--text); display: block; transition: transform .3s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav ul { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.2rem; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav ul.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; color: var(--text); }
  .brand__text em { display: none; }
}

/* =================== HERO =================== */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; padding-top: var(--header-h); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,42,24,.95) 0%, rgba(11,42,24,.8) 40%, rgba(11,42,24,.12) 72%), linear-gradient(0deg, var(--bg) 0%, rgba(11,42,24,0) 30%);
}
.hero__inner { width: var(--wrap); margin-inline: auto; align-self: center; padding-block: 2rem 8rem; position: relative; z-index: 2; }
.hero__title {
  font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, min(1rem + 8vw, 13vh), 8.5rem); line-height: .95; letter-spacing: -.035em; margin: 0 0 1.6rem;
}
.hero__lead { max-width: 34rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--text-2); margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

.hero__foot { position: relative; z-index: 3; }
.strings { position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; pointer-events: none; }
.strings__svg { width: 100%; height: 100%; overflow: visible; }
.strings__svg path { fill: none; stroke-linecap: round; }
.sound-toggle {
  position: absolute; right: var(--gutter); bottom: calc(100% + 16px); z-index: 3;
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .85rem; border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--bg); font-size: .82rem; color: var(--text-2);
}
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--text); }
.sound-toggle__icon { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); }
.sound-toggle[aria-pressed="true"] .sound-toggle__icon { background: var(--accent); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--bg); }
.facts li { padding: 1rem var(--gutter); display: flex; flex-direction: column; gap: .1rem; border-left: 1px solid var(--line); min-width: 0; }
.facts li:first-child { border-left: 0; }
.facts__k { font-size: .78rem; color: var(--muted); }
.facts a, .facts span:not(.facts__k) { font-weight: 600; text-decoration: none; font-size: .96rem; }
.facts a:hover { color: var(--accent-text); }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .strings { height: 90px; }
}
@media (max-width: 700px) {
  .hero__bg img { object-position: 78% 50%; }
  .hero::before { background: linear-gradient(90deg, rgba(11,42,24,.9) 0%, rgba(11,42,24,.72) 60%, rgba(11,42,24,.45) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,42,24,0) 30%); }
}
@media (max-width: 560px) {
  .hero__inner { padding-bottom: 6.5rem; }
  .sound-toggle { left: var(--gutter); right: auto; }
  .facts li { padding: .85rem 1rem; }
  .facts a, .facts span:not(.facts__k) { font-size: .88rem; }
}

/* =================== INTRO =================== */
.intro__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.intro__text p { color: var(--text-2); max-width: 38rem; margin: 0 0 1.1rem; font-size: 1.08rem; }
.intro__list { border-top: 1px solid var(--mark); padding-top: 1.2rem; }
.intro__list h3 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: var(--muted); margin: 0 0 .8rem; }
.instruments { list-style: none; margin: 0; padding: 0; }
.instruments li { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); padding: .4rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .intro__grid { grid-template-columns: 1fr; } .instruments { columns: 2; column-gap: 1.5rem; } .instruments li { break-inside: avoid; } }

/* =================== GRIFFBRETT =================== */
.journey { background: var(--bg-2); }
.fretboard { position: relative; width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; --p: 0; }
.fretboard__neck {
  position: absolute; left: 0; right: 0; top: 0; height: 72px; border-radius: 2px;
  background: linear-gradient(180deg, #2b1d13, #1a110a); overflow: hidden;
}
.fretboard__strings { position: absolute; inset: 9px 0; display: flex; flex-direction: column; justify-content: space-between; }
.fretboard__strings i { display: block; height: 1px; background: #cdbb98; opacity: .55; }
.fretboard__strings i:nth-child(n+4) { height: 1.5px; }
.fretboard__strings i:nth-child(n+5) { height: 2px; }
.fretboard__glow { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p)); background: rgba(40,170,80,.28); }
.fretboard__frets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.fret { padding: 100px .8rem 0 .8rem; position: relative; }
.fret::before { content: ""; position: absolute; left: -2px; top: 0; height: 72px; width: 4px; background: linear-gradient(90deg, #6d6152, #e7dbc3, #6d6152); }
.fret--dot::after { content: ""; position: absolute; top: 29px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: #f1e7d6; opacity: .9; transform: translateX(-50%); }
.fret--double::after { top: 15px; box-shadow: 0 30px 0 #f1e7d6; }
.fret__no { font-family: var(--serif); color: var(--red); font-size: 1.2rem; display: block; margin-bottom: .25rem; }
.fret h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; hyphens: manual; margin: 0 0 .45rem; line-height: 1.2; }
.fret p { color: var(--text-2); font-size: .93rem; line-height: 1.5; margin: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Unter 1180 px senkrecht: der Hals läuft links nach unten, alle Texte bleiben sichtbar */
@media (max-width: 1180px) {
  .fretboard__neck { left: 0; right: auto; top: 0; bottom: 0; width: 64px; height: auto; background: linear-gradient(90deg, #2b1d13, #1a110a); }
  .fretboard__strings { inset: 0 8px; flex-direction: row; }
  .fretboard__strings i, .fretboard__strings i:nth-child(n+4), .fretboard__strings i:nth-child(n+5) { height: auto; }
  .fretboard__strings i { width: 1px; }
  .fretboard__strings i:nth-child(n+4) { width: 1.5px; }
  .fretboard__strings i:nth-child(n+5) { width: 2px; }
  .fretboard__glow { transform-origin: top; transform: scaleY(var(--p)); }
  .fretboard__frets { grid-template-columns: 1fr; padding-left: 92px; }
  .fret { padding: 1.4rem 0 1.8rem; }
  .fret h3 { font-size: 1.3rem; }
  .fret::before { left: -92px; top: 0; width: 64px; height: 4px; background: linear-gradient(180deg, #6d6152, #e7dbc3, #6d6152); }
  .fret--dot::after { left: -60px; top: 50%; transform: translate(-50%, -50%); }
  .fret--double::after { left: -73px; top: 50%; box-shadow: 26px 0 0 #f1e7d6; }
  .fret p { max-width: 36rem; }
}

/* =================== UNTERRICHTSFORMEN =================== */
.forms__grid { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.forms__img { margin: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.forms__img img { width: 100%; height: auto; border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; }
.ftable { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ftable th, .ftable td { text-align: left; vertical-align: top; padding: 1rem .9rem 1rem 0; border-bottom: 1px solid var(--line); }
.ftable thead th { font-size: .82rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--mark); padding-top: 0; }
.ftable tbody th { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.25; width: 30%; }
.ftable td { color: var(--text-2); }
.ftable td:first-of-type { width: 30%; }
@media (max-width: 900px) {
  .forms__grid { grid-template-columns: 1fr; }
  .forms__img { position: static; max-width: 420px; }
}
@media (max-width: 640px) {
  .ftable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ftable, .ftable tbody, .ftable tr, .ftable th, .ftable td { display: block; width: auto !important; }
  .ftable tr { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
  .ftable th, .ftable td { border: 0; padding: 0; }
  .ftable tbody th { margin-bottom: .35rem; }
  .ftable td:first-of-type { color: var(--accent-text); font-size: .92rem; margin-bottom: .25rem; }
}

/* =================== AKKORDE =================== */
.chords { background: var(--bg-2); }
.chords__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.chords__buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.chords__buttons button {
  min-width: 64px; height: 56px; padding: 0 1rem; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--bg);
  font-family: var(--serif); font-size: 1.4rem; transition: border-color .2s, background .2s;
}
.chords__buttons button:hover { border-color: var(--accent); }
.chords__buttons button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.chord-diagram { margin: 0; justify-self: center; width: min(320px, 100%); }
.chord-diagram svg { width: 100%; height: auto; overflow: visible; }
.chord-diagram figcaption { text-align: center; margin-top: .8rem; }
.chord-diagram__name { font-family: var(--serif); font-size: 2.6rem; color: var(--red); line-height: 1; }
.chord-diagram__full { color: var(--muted); font-size: .95rem; margin-left: .4rem; }
.cd-grid line { stroke: rgba(23,32,26,.28); stroke-width: 2; }
.cd-grid .nut { stroke: var(--text); stroke-width: 9; stroke-linecap: round; }
.cd-grid .str { stroke: rgba(23,32,26,.7); }
.cd-grid .str.vib { animation: vib .5s ease-out; }
@keyframes vib { 0%,100% { transform: translateX(0); } 20% { transform: translateX(2px); } 40% { transform: translateX(-2px); } 60% { transform: translateX(1px); } 80% { transform: translateX(-1px); } }
.cd-dots circle { fill: var(--accent); transition: cx .4s var(--ease), cy .4s var(--ease), opacity .2s; }
.cd-dots text { fill: var(--on-accent); font: 700 15px var(--sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.cd-top text { fill: var(--text-2); font: 600 18px var(--sans); text-anchor: middle; }
@media (max-width: 820px) { .chords__grid { grid-template-columns: 1fr; } }

/* =================== FREIE PLÄTZE =================== */
.offers__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr); column-gap: 2rem; }
.offer { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@supports not (grid-template-columns: subgrid) { .offer { grid-template-columns: 11rem minmax(0, 1fr); column-gap: 2rem; } }
.offer__age--word { font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.offer__age { font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1; color: var(--red); }
.offer__txt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.2; margin-bottom: .2rem; }
.offer__txt small { color: var(--text-2); font-size: .98rem; }
.offers__cta { margin: 2rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
@media (max-width: 620px) { .offers__list { display: block; } .offer { grid-template-columns: 1fr; gap: .4rem; } }

/* =================== TABS / KURSE =================== */
.programs { background: var(--bg-2); }
.tabs__list { display: flex; flex-wrap: wrap; gap: 0 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.tabs__list button { padding: .7rem 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-weight: 700; font-size: 1rem; color: var(--text-2); }
.tabs__list button:hover { color: var(--text); }
.tabs__list button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.program { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
.program__meta { margin: 0; }
.program__meta > div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.program__meta > div:first-child { border-top: 1px solid var(--mark); }
.program__meta dt { font-size: .82rem; color: var(--muted); font-weight: 700; }
.program__meta dd { margin: .15rem 0 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.program__text p { margin: 0 0 1.2rem; color: var(--text-2); font-size: 1.06rem; max-width: 40rem; }
.cols { columns: 2; column-gap: 2rem; margin: 0; padding: 0; list-style: none; }
.cols li { break-inside: avoid; padding: .45rem 0 .45rem 1.1rem; position: relative; border-bottom: 1px solid var(--line); color: var(--text); }
.cols li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cols { columns: 1; } }

/* Kurse mit E-Mail-Links (von main.js ergänzt) */
.cols--mail li { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; }
.cols__name { min-width: 0; }
.cols__links { display: inline-flex; gap: .9rem; flex: none; font-size: .86rem; font-weight: 700; }
.cols__links a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cols__links a:hover { color: var(--accent); }

/* =================== KONZERTE =================== */
.stage { position: relative; padding-block: clamp(6rem, 14vw, 11rem); overflow: hidden; isolation: isolate; }
.stage__bg { position: absolute; inset: 0; z-index: -2; background: url(../img/stage.jpg) center / cover; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,42,24,.95) 0%, rgba(11,42,24,.84) 50%, rgba(11,42,24,.45) 100%); }
.stage__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); max-width: 56rem; margin-top: 1.5rem; }
.stage h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 .6rem; }
.stage p { color: var(--text-2); margin: 0; }
@media (max-width: 760px) { .stage__cols { grid-template-columns: 1fr; } }

/* =================== KONDITIONEN =================== */
.terms__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.price-cta { padding: clamp(1.6rem, 3.5vw, 2.4rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-strong); }
.price-cta__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem); line-height: 1.15; margin: 0 0 1rem; }
.price-cta p { color: var(--text-2); }
.price-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; }
.term-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.term-list > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.term-list > div:nth-child(-n+2) { border-top: 1px solid var(--mark); }
.term-list dt { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--accent-text); }
.term-list dd { margin: .25rem 0 0; color: var(--text-2); font-size: .97rem; }
.terms__note { margin: 2rem 0 0; color: var(--text-2); font-size: .98rem; max-width: 46rem; }
@media (max-width: 900px) { .terms__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .term-list { grid-template-columns: 1fr; } .term-list > div:nth-child(2) { border-top: 0; } }

/* =================== FAQ =================== */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.3rem 2.6rem 1.3rem 0; position: relative; font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .4vw, 1.35rem); line-height: 1.3; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: .3rem; top: 1.1rem; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--accent); }
.faq__list details[open] summary::after { content: "−"; }
.faq__list summary:hover { color: var(--accent-text); }
.faq__list details > div { padding: 0 2.6rem 1.4rem 0; color: var(--text-2); }
.faq__list p { margin: 0; }
.faq__list a { color: var(--accent-text); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__intro { position: static; } }

/* =================== RÄUME =================== */
.rooms__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.checks { list-style: none; padding: 0; margin: 0 0 .5rem; }
.checks li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--text-2); border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.floorplan {
  display: grid; grid-template-columns: 26fr 25.3fr; grid-template-rows: 1.4fr 1fr; gap: 8px; aspect-ratio: 1.15; padding: 8px; position: relative; margin-bottom: 2rem;
  border: 1px solid var(--line-strong);
  background-image: linear-gradient(rgba(0,112,47,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,112,47,.07) 1px, transparent 1px); background-size: 24px 24px;
}
.room { border: 1.5px solid var(--line-strong); padding: .9rem; display: flex; flex-direction: column; justify-content: flex-end; background: var(--surface); min-width: 0; }
.room strong { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 500; }
.room span { font-size: .82rem; color: var(--muted); }
.room--d { border-style: dashed; }
.floorplan__note { position: absolute; left: 0; bottom: -1.8rem; margin: 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .rooms__grid { grid-template-columns: 1fr; } }

/* =================== ANFAHRT =================== */
.route { background: var(--bg-2); }
.route__grid { display: grid; grid-template-columns: 22rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.route__card { padding: 1.3rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.route__card img { width: 100%; height: auto; border-radius: 2px; margin-bottom: 1.1rem; }
.route__card address { font-style: normal; margin-bottom: 1rem; }
.route__card address strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.route__hint { color: var(--text-2); font-size: .93rem; margin: 0 0 1rem; }
.route__time { color: var(--text); font-size: 1.05rem; margin: 0 0 1.2rem; font-weight: 600; }
.steps { margin: 0 0 1rem; padding-left: 1.4rem; }
.steps li { padding: .35rem 0 .35rem .4rem; color: var(--text-2); }
.steps li::marker { color: var(--accent); font-weight: 700; }
.route__extra { color: var(--text-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .route__grid { grid-template-columns: 1fr; } .route__card { max-width: 30rem; } }

/* =================== TERMIN =================== */
.booking__head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.booking__alt { font-size: 1.05rem; margin: 0; }
.booking__alt a { color: var(--accent-text); text-decoration: none; border-bottom: 1px solid currentColor; }
.booking__nojs { display: none; }
html:not(.js) .booking__nojs { display: block; font-size: 1.05rem; margin-top: 1rem; }
html:not(.js) .cal { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Karte wie bei Calendly: links die Übersicht, rechts der jeweilige Schritt */
.cal { display: grid; grid-template-columns: minmax(15rem, 18.5rem) minmax(0, 1fr); max-width: 68rem; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) * 2); box-shadow: 0 18px 40px -28px rgba(11, 42, 24, .35); scroll-margin-top: calc(var(--header-h) + 1rem); }
.cal__side { padding: clamp(1.4rem, 3vw, 2rem); border-right: 1px solid var(--line); }
.cal__org { margin: 0 0 .35rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.cal__what { margin: 0 0 1.2rem; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); line-height: 1.15; color: var(--heading); text-wrap: balance; }
.cal__meta { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .7rem; }
.cal__meta li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .6rem; align-items: start; font-size: .95rem; font-weight: 600; color: var(--text-2); }
.cal__meta li[hidden] { display: none; }
.cal__meta svg { width: 1.25rem; height: 1.25rem; margin-top: .1rem; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cal__meta .cal__when { color: var(--accent-text); }
.cal__meta .cal__when svg { stroke: currentColor; }
.cal__note { margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

.cal__main { min-width: 0; min-height: 31rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.6rem); }
.cal__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 1.8rem; margin-bottom: .4rem; }
.cal__progress { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--muted); }
.cal__back { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem 0; background: none; border: 0; font: inherit; font-size: .92rem; font-weight: 700; color: var(--accent-text); cursor: pointer; }
.cal__back::before { content: "\2190"; }
.cal__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.cal__title { margin: 0 0 1.3rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); color: var(--heading); }
.cal__title:focus { outline: none; }

/* Schritt 1: Anliegen */
.cal__types { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: .8rem; }
.cal__type { position: relative; display: grid; align-content: start; gap: .3rem; width: 100%; padding: 1.05rem 2.8rem 1.1rem 1.15rem; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: calc(var(--r) * 2); cursor: pointer; transition: border-color .15s, background .15s; }
.cal__type b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.2; color: var(--heading); }
.cal__type span { font-size: .92rem; color: var(--text-2); }
.cal__type::after { content: ""; position: absolute; right: 1.2rem; top: 1.45rem; width: .5rem; height: .5rem; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); }
.cal__type:hover { border-color: var(--green); background: color-mix(in srgb, var(--green) 6%, var(--surface)); }
.cal__type:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Schritt 2: Monatskalender und Uhrzeiten */
.cal__pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem); gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.month__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.month__name { margin: 0; font-weight: 700; }
.month__nav { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); cursor: pointer; }
.month__nav svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.month__nav:hover:not(:disabled) { background: color-mix(in srgb, var(--green) 20%, transparent); }
.month__nav:disabled { background: none; color: var(--line-strong); cursor: default; }
.month__nav:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.month__week, .month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.month__week span { padding-bottom: .35rem; text-align: center; font-size: .75rem; font-weight: 700; color: var(--muted); }
.month__grid > p { grid-column: 1 / -1; }
.month__day { position: relative; display: grid; place-items: center; justify-self: center; width: 100%; max-width: 3rem; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; font: inherit; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--muted); opacity: .55; }
button.month__day { opacity: 1; font-weight: 700; color: var(--green); background: color-mix(in srgb, var(--green) 11%, transparent); cursor: pointer; transition: background .15s, color .15s; }
button.month__day:hover { background: color-mix(in srgb, var(--green) 22%, transparent); }
button.month__day[aria-pressed="true"] { background: var(--green); color: #fff; }
button.month__day:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.month__day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 13%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.times__day { display: flex; align-items: center; min-height: 2.5rem; margin: 0 0 .8rem; font-weight: 700; }
.times__list { display: grid; gap: .5rem; max-height: 28.5rem; margin: 0; padding: 3px; overflow-y: auto; list-style: none; }
.times__list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.times__list li.is-sel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.times__slot, .times__next { min-height: 3rem; padding: .5rem .6rem; border-radius: var(--r); font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; cursor: pointer; }
.times__slot { background: var(--surface); color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 55%, transparent); transition: border-color .15s, box-shadow .15s; }
.times__slot:hover { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.is-sel .times__slot { background: var(--green-deep); border-color: var(--green-deep); color: #fff; box-shadow: none; }
.times__next { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.times__next:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.times__slot:focus-visible, .times__next:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.booking__hint, .booking__loading { margin: 0; color: var(--muted); font-size: .93rem; }
.booking__hint a { color: var(--accent-text); }

/* Schritt 3: Angaben */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.field { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea, .booking__fallback input {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: .7rem .8rem; width: 100%;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 5rem; }
.booking__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.5rem; }
.booking__status { margin: 1.2rem 0 0; padding: .8rem 1rem; background: var(--bg); border-radius: var(--r); font-size: .93rem; color: var(--text-2); }
.booking__status:empty { display: none; }

/* Bestätigung */
.booking__done { padding-top: .4rem; }
.booking__done:focus { outline: none; }
.booking__done-title { margin: 0 0 .4rem; font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); color: var(--heading); }
.booking__done-when { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 700; }
.booking__done a { color: var(--accent-text); }
.link-btn { padding: 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 960px) {
  .cal { grid-template-columns: minmax(0, 1fr); }
  .cal__side { border-right: 0; border-bottom: 1px solid var(--line); }
  .cal__what { margin-bottom: .9rem; }
  .cal__meta { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-bottom: 1rem; }
  .cal__main { min-height: 0; }
}
@media (max-width: 640px) {
  .cal__side, .cal__main { padding: 1.2rem 1.05rem; }
  .cal__org { display: none; }
  .cal__note { padding-top: .9rem; }
  .cal__pick { grid-template-columns: minmax(0, 1fr); }
  .month__week, .month__grid { gap: .15rem; }
  .times__day { min-height: 0; scroll-margin-top: calc(var(--header-h) + 1rem); }
  .times__list { max-height: none; overflow: visible; }
  .fields { grid-template-columns: 1fr; }
}

.contact { background: var(--bg-2); }

/* =================== KONTAKT =================== */
.contact__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ccard { padding: 1.4rem; background: var(--surface); text-decoration: none; display: flex; flex-direction: column; gap: .25rem; transition: background .2s; }
.ccard:hover { background: var(--bg); }
.ccard__k { font-size: .82rem; color: var(--muted); font-weight: 700; }
.ccard__v { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.25; overflow-wrap: anywhere; }
.ccard:hover .ccard__v { color: var(--accent-text); }
.ccard__s { color: var(--text-2); font-size: .88rem; }
.contact__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 3rem; }
.shop h3, .hours h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0 0 .6rem; }
.shop p { color: var(--text-2); margin: 0 0 .8rem; }
.shop__data a { color: var(--accent-text); }
.hours dl { margin: 0; }
.hours dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--text-2); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .contact__row { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact__grid { grid-template-columns: 1fr; } }

/* =================== PARTNER =================== */
.partners { padding-block: 3.5rem 4.5rem; border-top: 1px solid var(--line); }
.partners__title { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--muted); margin: 0 0 1.2rem; }
.partners__list { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .3rem 0; }
.partners__list li { font-family: var(--serif); font-size: clamp(1rem, .9rem + .3vw, 1.18rem); color: var(--text-2); padding-right: 1.2rem; margin-right: 1.2rem; border-right: 1px solid var(--line); line-height: 1.7; }
.partners__list li:last-child { border: 0; }
@media (max-width: 700px) { .partners__list { display: block; } .partners__list li { border-right: 0; padding: .45rem 0; margin: 0; border-bottom: 1px solid var(--line); line-height: 1.4; } .partners__list li:last-child { border-bottom: 0; } }
.partners__far { color: var(--text-2); font-size: .96rem; margin: 0; max-width: 46rem; }
.partners__far a { color: var(--accent-text); }

/* =================== FOOTER =================== */
.footer { background: #082013; border-top: 1px solid var(--line); padding-block: 3.5rem 6rem; font-size: .95rem; color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__brand { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: 0 0 .7rem; color: var(--text); }
.footer__claim { color: var(--muted); margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-text); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer__bottom a { white-space: nowrap; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile Leiste */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--bg); border-top: 1px solid var(--line-strong);
    transform: translateY(110%); transition: transform .35s var(--ease); padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar.is-visible { transform: none; }
  .actionbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .65rem .3rem; text-decoration: none; font-size: .8rem; font-weight: 700; }
  .actionbar a:first-child { background: var(--accent); color: var(--on-accent); }
  .actionbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}

/* Dialoge */
.dialog { max-width: 34rem; width: calc(100% - 2rem); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg-2); color: var(--text); padding: 2rem; }
.dialog::backdrop { background: rgba(11,42,24,.7); }
.dialog h2 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin: 0 0 1rem; }
.dialog p { color: var(--text-2); }
.dialog__note { font-size: .88rem; padding: .8rem 1rem; border: 1px solid rgba(200,16,31,.45); background: rgba(200,16,31,.07); }
.dialog__close { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r); background: none; font-size: 1.4rem; line-height: 1; }
html:not(.js) .dialog { display: block; position: static; margin: 2rem auto; }
html:not(.js) .dialog__close { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
