/* ============================================================
   ATELIER AM BODENSEE — section styles
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 90px; overflow: hidden; }
/* live-painting watercolor atmosphere behind the headline */
.hero-wc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.62; mix-blend-mode: multiply; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 80px); align-items: center; width: 100%; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-kicker { margin-bottom: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-kicker .ek-line { width: 42px; height: 1.5px; background: var(--accent); display: inline-block; }
.hero-kicker .ek-lbl { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.hero-kicker .ek-year { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink-faint); }
.hero h1 { margin: 0 0 8px; }
.hero .sub-name { font-family: var(--font-script); color: var(--accent); font-size: clamp(38px, 6vw, 82px); line-height: .9; display: block; white-space: nowrap; overflow: visible; padding-bottom: .14em; }
.hero-lede { margin: 28px 0 0; }

/* disciplines — an editorial programme line, not a stat row */
.hero-disciplines {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 18px;
  margin: 36px 0 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-disciplines > span {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px);
  color: var(--ink); display: inline-flex; align-items: baseline; gap: 9px;
}
.hero-disciplines i {
  font-style: normal; font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; color: var(--accent); transform: translateY(-0.7em);
}
.hero-disciplines .sep { color: var(--ink-faint); font-size: 20px; transform: translateY(-0.1em); }
@media (max-width: 560px) { .hero-disciplines .sep { display: none; } .hero-disciplines { gap: 10px 22px; } }

/* ink-link CTA — hand-brushed underline instead of a SaaS pill */
.hero-cta { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.ink-link {
  position: relative; background: none; border: none; cursor: none; padding: 0 2px 14px;
  font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 11px;
}
.ink-link-arrow { display: inline-flex; color: var(--accent); transition: transform .4s var(--ease-out); }
.ink-link:hover .ink-link-arrow { transform: translateX(6px); }
.ink-link-stroke { position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; height: 12px; color: var(--accent); overflow: visible; }
.ink-link-stroke path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.hero-cta.reveal[data-rv] .ink-link-stroke path { animation: brush-draw 1s var(--ease-out) .3s forwards; }
.ink-link:hover .ink-link-stroke path { animation: brush-draw .5s var(--ease-out) forwards; }
.quiet-link {
  background: none; border: none; cursor: none; padding: 0 0 14px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink-soft);
  position: relative; transition: color .3s;
}
.quiet-link::after { content: ""; position: absolute; left: 0; bottom: 8px; width: 100%; height: 1px; background: var(--ink-faint); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.quiet-link:hover { color: var(--ink); }
.quiet-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* hero visual — framed image-slot hung like a real artwork */
.hero-visual { position: relative; aspect-ratio: 4/5; }
.hero-frame {
  position: absolute; inset: 0; border-radius: 3px;
  background: var(--paper-card);
  box-shadow: 0 40px 90px -50px rgba(42,36,32,.55), 0 2px 0 rgba(255,255,255,.5) inset, 0 0 0 1px var(--line-soft);
  padding: 18px 18px 62px; transform: rotate(-1.4deg);
}
.hero-frame image-slot { width: 100%; height: 100%; display: block; }
/* a thin "picture cord" suggesting it hangs */
.frame-cord { position: absolute; top: -38px; left: 50%; width: 2px; height: 38px; background: linear-gradient(var(--ink-faint), var(--accent)); transform: translateX(-50%); transform-origin: bottom; opacity: .5; }
.frame-cord::before { content: ""; position: absolute; top: -6px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); transform: translateX(-50%); }
/* printed museum placard */
.frame-placard { position: absolute; left: 18px; bottom: 12px; right: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.frame-placard .fp-title { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink); line-height: 1.1; }
.frame-placard .fp-meta { font-family: var(--font-body); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-faint); }
/* signature flourish below the frame corner */
.hero-signature { position: absolute; right: -4px; bottom: -54px; font-family: var(--font-script); font-size: clamp(36px, 4.4vw, 56px); color: var(--accent); transform: rotate(-6deg); pointer-events: none; opacity: .95; z-index: 4; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-faint); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint .line { width: 1px; height: 46px; background: var(--ink-faint); position: relative; overflow: hidden; }
.scroll-hint .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--accent); animation: scrolldown 1.8s var(--ease-soft) infinite; }
@keyframes scrolldown { 0% { top: -50%; } 100% { top: 100%; } }

/* hero direction variants */
[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
[data-hero="editorial"] .hero-visual { display: none; }
[data-hero="editorial"] .hero h1 { font-size: clamp(60px, 15vw, 220px); }
[data-hero="editorial"] .hero-lede { margin-left: auto; margin-right: auto; }
[data-hero="editorial"] .eyebrow::before { display: none; }
[data-hero="editorial"] .hero-disciplines { justify-content: center; }
[data-hero="editorial"] .hero-signature { display: none; }
[data-hero="editorial"] .hero-cta { justify-content: center; }

[data-hero="collage"] .hero-visual { aspect-ratio: 1/1; }
[data-hero="collage"] .hero-collage { display: block; }
[data-hero="collage"] .hero-frame { display: none; }
[data-hero="collage"] .frame-placard, [data-hero="collage"] .frame-cord { display: none; }

.hero-collage { display: none; position: absolute; inset: 0; }
.hero-collage .c {
  position: absolute; border-radius: 4px; background: var(--paper-card); padding: 10px;
  box-shadow: 0 26px 60px -38px rgba(42,36,32,.6);
}
.hero-collage .c image-slot { width: 100%; height: 100%; display: block; }
.hero-collage .c1 { width: 58%; height: 64%; top: 0; left: 0; transform: rotate(-3deg); z-index: 2; }
.hero-collage .c2 { width: 46%; height: 50%; bottom: 0; right: 2%; transform: rotate(3deg); z-index: 3; }
.hero-collage .c3 { width: 38%; height: 40%; bottom: 6%; left: 6%; transform: rotate(-6deg); z-index: 1; }

/* ---------------- SECTION HEADER ---------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(40px, 6vw, 84px); flex-wrap: wrap; }
.sec-head .col { max-width: 720px; }
.sec-head h2 { margin-top: 18px; }
.sec-pad { padding: clamp(90px, 13vw, 180px) 0; }

/* number rail */
.sec-index { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink-faint); }

/* ---------------- ÜBER ANDREA ---------------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait { position: relative; aspect-ratio: 3/4; }
.about-portrait image-slot { width: 100%; height: 100%; display: block; border-radius: 4px; box-shadow: 0 40px 90px -50px rgba(42,36,32,.5); }
.about-portrait .wc-back { position: absolute; inset: -8% -10% -6% -8%; z-index: -1; background: var(--accent-2); opacity: .5; }
.about-sign { font-family: var(--font-script); font-size: 56px; color: var(--accent); margin-top: 18px; }
.about-body p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; max-width: 60ch; }
.about-body p .first { font-family: var(--font-display); font-size: 30px; color: var(--ink); }
.about-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; color: var(--ink); margin: 8px 0 30px; }

/* ---------------- KURSE ---------------- */
.kurse-list { display: flex; flex-direction: column; }
.kurse-row {
  display: grid; grid-template-columns: 64px 1.1fr 1.6fr auto; gap: 28px; align-items: center;
  padding: 38px 16px; border-top: 1px solid var(--line);
  position: relative; cursor: none; transition: padding .5s var(--ease-out);
}
.kurse-row:last-child { border-bottom: 1px solid var(--line); }
.kurse-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); opacity: 0; transform: scaleY(0); transform-origin: bottom;
  transition: opacity .5s, transform .5s var(--ease-out);
}
.kurse-row:hover { padding-left: 34px; padding-right: 34px; }
.kurse-row:hover::before { opacity: 1; transform: scaleY(1); }
.kurse-row:hover .k-num,
.kurse-row:hover .k-title,
.kurse-row:hover .k-desc,
.kurse-row:hover .k-meta { color: var(--paper-card); }
.kurse-row:hover .k-desc { color: color-mix(in srgb, var(--paper-card) 88%, transparent); }
.kurse-row:hover .k-go { background: var(--paper-card); color: var(--ink); transform: rotate(0deg); }
.k-num { font-family: var(--font-display); font-style: italic; font-size: 26px; color: var(--ink-faint); transition: color .4s; }
.k-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); line-height: 1; color: var(--ink); transition: color .4s; }
.k-title .k-tag { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; transition: color .4s; }
.k-desc { font-size: 16px; line-height: 1.6; color: var(--ink-soft); transition: color .4s; }
.k-meta { font-size: 14px; color: var(--ink-faint); text-align: right; white-space: nowrap; transition: color .4s; }
.k-go { width: 56px; height: 56px; border-radius: 50%; background: transparent; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transform: rotate(-45deg); transition: all .45s var(--ease-out); }
@media (max-width: 820px) {
  .kurse-row { grid-template-columns: 1fr; gap: 12px; }
  .k-meta { text-align: left; } .k-go { display: none; }
}

/* media swatch that follows cursor on kurse hover */
.kurse-peek { position: fixed; z-index: 150; width: 240px; height: 300px; border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.85) rotate(-4deg); transition: opacity .35s, transform .45s var(--ease-out); box-shadow: 0 30px 70px -30px rgba(42,36,32,.6); }
.kurse-peek.show { opacity: 1; transform: scale(1) rotate(-4deg); }
.kurse-peek .swatch { width: 100%; height: 100%; }
/* no cursor-following preview on touch devices — it would stick after a tap */
@media (hover: none) { .kurse-peek { display: none; } }

/* ---------------- GALERIE ---------------- */
.galerie { background: var(--paper-deep); }
.gal-grid { columns: 3; column-gap: 30px; }
@media (max-width: 900px) { .gal-grid { columns: 2; } }
@media (max-width: 560px) { .gal-grid { columns: 1; } }
.gal-item {
  break-inside: avoid; margin: 0 6px 36px; position: relative;
  background: var(--paper-card);
  padding: 14px 14px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 1px rgba(255,255,255,.6) inset, 0 22px 44px -26px rgba(42,36,32,.5);
  transform: rotate(var(--rot, 0deg));
  transition: transform .6s var(--ease-out), box-shadow .6s;
  will-change: transform;
}
.gal-item:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.025);
  box-shadow: 0 40px 70px -30px rgba(42,36,32,.55);
  z-index: 5;
}
.gal-frame { position: relative; overflow: hidden; background: var(--paper); }
.gal-item image-slot { display: block; }
/* washi tape */
.gal-item .tape {
  position: absolute; top: -11px; width: 86px; height: 26px;
  background: color-mix(in srgb, var(--accent-4) 42%, #fff);
  opacity: .72; z-index: 6;
  box-shadow: 0 3px 8px -3px rgba(42,36,32,.4);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.gal-item .tape.tl { left: 16px; transform: rotate(-26deg); }
.gal-item .tape.tr { right: 16px; transform: rotate(24deg); }
.gal-item .tape.tc { left: 50%; transform: translateX(-50%) rotate(-3deg); }
/* printed placard label in the mat */
.gal-cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 4px 4px;
}
.gal-cap .t { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--ink); line-height: 1; }
.gal-cap .m { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* marquee */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 50px; align-items: center; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 4vw, 56px); color: var(--ink); }
.marquee-track .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- TERMINE ---------------- */
.termine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.termin {
  background: var(--paper-card); border-radius: 8px; padding: 28px;
  border: 1px solid var(--line-soft); position: relative; overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.termin:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(42,36,32,.45); }
.termin .date-chip { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--paper-card); margin-bottom: 18px; }
.termin .date-chip .d { font-family: var(--font-display); font-size: 30px; }
.termin .date-chip .mo { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
.termin h3 { font-size: 26px; margin-bottom: 6px; }
.termin .meta { font-size: 14px; color: var(--ink-faint); margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.termin .barline { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 16px 0 8px; }
.termin .barline i { display: block; height: 100%; border-radius: 3px; background: var(--accent-2); width: 0; transition: width 1.1s var(--ease-out); }
.termin .seats { font-size: 13px; color: var(--ink-soft); }
.termin .seats b { color: var(--accent); }
.termin.full { opacity: .62; }
.termin.full .date-chip { background: var(--ink-faint); }
.termin .book-link { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); background: none; border: none; cursor: none; display: inline-flex; gap: 7px; align-items: center; padding: 0; }
.termin .book-link svg { transition: transform .35s var(--ease-out); }
.termin:hover .book-link svg { transform: translateX(4px); }

/* ---------------- ANMELDUNG ---------------- */
.anmeldung { background: var(--ink); color: var(--paper); }
/* torn-paper deckle edge where warm page meets the dark section */
.anmeldung::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 34px;
  background: var(--paper); z-index: 2;
  -webkit-mask-image: var(--deckle); mask-image: var(--deckle);
  -webkit-mask-size: 1100px 34px; mask-size: 1100px 34px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.anmeldung .eyebrow { color: var(--accent-4); }
.anmeldung .eyebrow::before { background: var(--accent-4); }
.anm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .anm-grid { grid-template-columns: 1fr; } }
.anmeldung h2 { color: var(--paper); }
.anm-intro p { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 18px; line-height: 1.7; max-width: 46ch; margin-top: 22px; }
.anm-contact { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.anm-contact a { color: var(--paper); text-decoration: none; font-size: 17px; display: flex; gap: 14px; align-items: center; }
.anm-contact a .ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(244,236,224,.25); display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.anm-contact a:hover .ic { background: var(--accent-4); color: var(--ink); border-color: var(--accent-4); }

.form { background: var(--paper-card); border-radius: 16px; padding: clamp(26px, 4vw, 42px); color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0,0,0,.6); position: relative; overflow: hidden; }
.field { margin-bottom: 20px; position: relative; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 8px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s, background .3s; cursor: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); background: var(--paper-card); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--terracotta-d); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terracotta-d) 14%, transparent); }
.field .err { font-size: 12.5px; color: var(--terracotta-d); margin-top: 6px; height: 0; opacity: 0; transform: translateY(-4px); transition: all .3s; }
.field.invalid .err { height: auto; opacity: 1; transform: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* chip choices for course pick */
.chip-pick { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-pick .chip { font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: none; transition: all .3s var(--ease-out); user-select: none; }
.chip-pick .chip.on { background: var(--accent); color: var(--paper-card); border-color: var(--accent); transform: translateY(-2px); }

.form-submit { width: 100%; justify-content: center; margin-top: 6px; }

/* success state */
.form-success { position: absolute; inset: 0; background: var(--paper-card); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 14px; opacity: 0; pointer-events: none; transform: scale(.96); transition: opacity .5s, transform .6s var(--ease-out); }
.form-success.show { opacity: 1; pointer-events: auto; transform: none; }
.form-success .check { width: 92px; height: 92px; }
.form-success h3 { font-size: 38px; }
.form-success p { color: var(--ink-soft); max-width: 34ch; line-height: 1.6; }

/* ---------------- FOOTER ---------------- */
.footer-inner { padding: clamp(60px, 9vw, 110px) var(--gutter) 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { font-family: var(--font-script); font-size: 64px; line-height: .9; color: var(--paper); }
.footer-tag { color: color-mix(in srgb, var(--paper) 60%, transparent); margin-top: 14px; max-width: 30ch; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 50%, transparent); margin-bottom: 16px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; color: color-mix(in srgb, var(--paper) 80%, transparent); text-decoration: none; font-size: 15px; margin-bottom: 10px; transition: color .3s; }
.footer-col a:hover { color: var(--accent-4); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(244,236,224,.14); color: color-mix(in srgb, var(--paper) 50%, transparent); font-size: 13px; }
