/* =========================================================
   Gitarrenschule Marc Alexander — Styles
   Variante A · Warm/Papier-Beige + Bordeaux
   ========================================================= */

/* ---------- Local Webfonts (subset: latin) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #F4ECDD;
  --bg-alt: #EBE0CB;
  --paper: #FBF6EC;
  --ink: #1F1A14;
  --ink-soft: #5A4F3F;
  --rule: #D8C9AC;
  --accent: #7A1F2B;
  --accent-soft: #A03946;
  --pink-soft: #E8B7BD;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1200px;
  --max-w-narrow: 820px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.container--narrow { max-width: var(--max-w-narrow); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0; border-radius: 2px;
  padding: 16px 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer; transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--lg { padding: 20px 48px; font-size: 14px; letter-spacing: 2px; }

/* ---------- Stick figure logo ---------- */
.stickfig {
  display: inline-block;
  background-color: var(--ink);
  -webkit-mask: url("assets/stickfigure.png") center / contain no-repeat;
          mask: url("assets/stickfigure.png") center / contain no-repeat;
  flex-shrink: 0;
}
.stickfig--accent { background-color: var(--accent); }
.stickfig--paper  { background-color: var(--paper); }

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  background: none; border: 0; padding: 0;
}
.wordmark .stickfig { width: 48px; height: 55px; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.2px;
}
.wordmark__sub {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,236,221,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 20px 48px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-desktop { display: flex; gap: 4px; align-items: center; }
.nav-desktop a:not(.btn) {
  position: relative;
  padding: 10px 18px;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--ink); text-decoration: none;
}
.nav-desktop a:not(.btn).is-active { color: var(--accent); }
.nav-desktop a:not(.btn).is-active::after {
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 1px; background: var(--accent);
}
.nav-desktop .btn { margin-left: 12px; padding: 10px 22px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule); border-radius: 4px;
  background: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.2s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--bg);
  padding: 16px 20px 24px;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a:not(.btn) {
  display: block;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink); text-decoration: none;
  border-radius: 2px;
}
.nav-mobile a:not(.btn).is-active {
  background: var(--paper); color: var(--accent); font-style: italic;
}
.nav-mobile .btn {
  display: block; text-align: center; margin-top: 12px;
  padding: 16px 22px; letter-spacing: 1.8px;
}

/* ---------- Hero (Home) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center;
  padding: 80px 48px 120px;
  max-width: var(--max-w); margin: 0 auto;
}
.hero__title {
  font-family: var(--font-display);
  font-size: 92px; font-weight: 500;
  line-height: 0.95; letter-spacing: -1px;
  margin: 0 0 24px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute;
  inset: -10px -10px 10px 10px;
  background: var(--accent);
}
.hero__media img {
  position: relative; width: 100%; aspect-ratio: 1 / 1; height: auto;
  object-fit: cover;
}
.hero__quote {
  position: absolute; bottom: -32px; left: -32px;
  background: var(--paper);
  padding: 20px 24px;
  box-shadow: 0 20px 40px -20px rgba(31,26,20,0.3);
  max-width: 240px;
}
.hero__quote-text {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; line-height: 1.3;
}
.hero__quote-sub {
  font-size: 10.5px; color: var(--ink-soft);
  margin-top: 6px; letter-spacing: 0.5px;
}

/* ---------- Sections ---------- */
.section { padding: 120px 48px; }
.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section--ink {
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden;
  padding: 100px 48px;
}
.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 52px; line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 40px;
}

.intro-text {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.intro-text p {
  text-align: justify;
  font-size: 16px; line-height: 1.75;
  color: var(--ink-soft); margin: 0;
  text-wrap: pretty;
}
.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 500;
  float: left; line-height: 0.85;
  margin: 6px 8px 0 0;
  color: var(--accent);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.pillar {
  padding: 48px 32px 48px 0;
  border-right: 1px solid var(--rule);
}
.pillar:first-child { padding-left: 0; }
.pillar:not(:first-child) { padding-left: 32px; }
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: var(--accent);
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--font-display); font-size: 32px; font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
}
.pillar p {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-soft); margin: 0;
}

/* ---------- Image strip ---------- */
.image-strip {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 12px; height: 320px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 48px 120px;
}
.image-strip > div {
  background-size: cover; background-position: center;
}

/* ---------- CTA Strip ---------- */
.cta {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 80px; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
  position: relative;
}
.cta h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 56px; line-height: 1.05;
  letter-spacing: -0.5px; margin: 0;
}
.cta h2 em { font-style: italic; color: var(--pink-soft); }
.cta p {
  font-size: 16px; line-height: 1.65;
  color: #D8C9AC; margin: 0 0 24px;
  text-wrap: pretty;
}
.section--ink .stickfig-watermark {
  position: absolute; right: -40px; bottom: -40px;
  width: 380px; height: 434px;
  opacity: 0.06; pointer-events: none;
}

/* ---------- Leistungen items ---------- */
.page-header {
  padding: 80px 48px 60px;
  max-width: var(--max-w); margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 76px; line-height: 1;
  letter-spacing: -0.8px;
  margin: 0 0 28px; max-width: 900px;
}
.page-header h1 em { font-style: italic; color: var(--accent); }
.page-header__sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-soft); max-width: 640px; margin: 0;
  text-wrap: pretty;
}

.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  max-width: var(--max-w); margin: 0 auto;
  padding: 60px 48px 80px;
  padding-top: 0;
}
.service {
  display: grid; grid-template-columns: auto 1fr;
  gap: 28px; align-items: start;
  padding: 48px 48px 48px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}
.service:nth-child(2n) {
  border-right: 0;
  padding-left: 48px; padding-right: 0;
}
.service__num {
  font-family: var(--font-display); font-style: italic;
  font-size: 36px; color: var(--accent); line-height: 0.9;
}
.service h3 {
  font-family: var(--font-display); font-size: 28px; font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.service p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); margin: 0;
  text-wrap: pretty;
}

/* ---------- Callout ---------- */
.callout {
  position: relative; overflow: hidden;
  padding: 100px 48px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.callout .stickfig-watermark {
  position: absolute; left: -20px; top: -20px;
  width: 280px; height: 320px;
  opacity: 0.08; pointer-events: none;
}
.callout__inner { max-width: 900px; margin: 0 auto; position: relative; }
.callout__eyebrow {
  font-family: var(--font-display); font-style: italic;
  font-size: 13px; color: var(--accent);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.callout h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 80px; line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 24px;
}
.callout p {
  font-size: 17px; line-height: 1.7;
  color: var(--ink-soft); margin: 0;
  text-wrap: pretty;
}
.callout p em{
  font-style: normal;
  color: var(--accent); margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 100px 48px;
}
.gallery img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.gallery img.is-mono { filter: sepia(0.15); }

.section--center { text-align: center; padding-bottom: 120px; }
.section--center .container { padding-top: 0; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  max-width: var(--max-w); margin: 0 auto;
  padding: 60px 48px 120px;
}
.form-row { margin-bottom: 32px; }
.form-row label {
  display: block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent; border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--font-text); font-size: 17px;
  color: var(--ink); outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--ink); }
.form-row.has-error input,
.form-row.has-error textarea { border-color: var(--accent); }
.form-error {
  font-size: 12px; color: var(--accent);
  margin-top: 6px; display: none;
}
.form-row.has-error .form-error { display: block; }

/* Honeypot — visuell und akustisch versteckt, fuer Bots aber im DOM sichtbar */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

/* Optional-Hinweis im Label */
.form-optional {
  color: var(--muted, #999); font-weight: 400; font-size: 0.85em;
}

/* Allgemeiner Sende-Fehler (Backend-Antwort) */
.form-send-error {
  margin: 16px 0;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  border-radius: 2px;
}

.chips { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule); border-radius: 2px;
  padding: 12px 20px; font-size: 14px;
  transition: all 0.15s;
}
.chip.is-active {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}

.contact-aside__block {
  border-top: 1px solid var(--ink);
  padding-top: 24px; margin-bottom: 32px;
}
.contact-aside__block + .contact-aside__block {
  border-top: 1px solid var(--rule);
}
.contact-aside__label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}
.contact-aside__phone {
  font-family: var(--font-display); font-size: 28px;
  text-decoration: none; color: var(--ink);
  display: block; margin-bottom: 6px;
}
.contact-aside__email {
  font-size: 14px; color: var(--accent);
  text-decoration: underline; text-underline-offset: 4px;
  word-break: break-all;
}
.contact-aside__address {
  font-size: 15px; line-height: 1.7; margin-top: 12px;
}

.thank-you {
  text-align: center;
  padding: 120px 48px;
  max-width: 720px; margin: 0 auto;
  display: none;
}
.thank-you.is-visible { display: block; }
.thank-you .stickfig {
  width: 140px; height: 160px;
  margin: 0 auto 24px;
  background-color: var(--accent);
}
.thank-you h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 64px; line-height: 1;
  letter-spacing: -0.8px;
  margin: 0 0 20px;
}
.thank-you p {
  font-size: 17px; line-height: 1.65;
  color: var(--ink-soft); margin: 0;
  text-wrap: pretty;
}

/* ---------- Legal ---------- */
.legal {
  max-width: var(--max-w-narrow); margin: 0 auto;
  padding: 80px 48px 120px;
}
.legal h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 60px; line-height: 1;
  letter-spacing: -0.6px;
  margin: 0 0 36px;
}
.legal h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 28px; margin: 36px 0 12px;
}
.legal h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; margin: 28px 0 10px;
}
.legal p,
.legal li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding: 60px 48px 32px;
}
.site-footer__inner { max-width: var(--max-w); margin: 0 auto; }
.site-footer__cols {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr;
  gap: 48px; margin-bottom: 40px;
}
.site-footer h4 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink); margin: 0 0 14px;
}
.site-footer__about p {
  font-size: 14px; line-height: 1.65; color: var(--ink-soft);
  margin: 16px 0 0; max-width: 280px;
}
.site-footer ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.site-footer a {
  font-size: 14px; color: var(--ink-soft); text-decoration: none;
}
.site-footer a:hover { color: var(--ink); }
.site-footer__contact { font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.site-footer__contact a { display: block; word-break: break-all; }
.site-footer__contact-address { margin-top: 8px; }
.site-footer__bottom {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--ink-soft);
}
.site-footer__bottom em {
  font-family: var(--font-display); font-style: italic;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 760px) {
  .container { padding: 0 20px; }

  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .site-header__inner { padding: 14px 20px; }
  .wordmark .stickfig { width: 36px; height: 41px; }
  .wordmark__name { font-size: 18px; }
  .wordmark__sub { font-size: 9.5px; letter-spacing: 2.4px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 20px 64px;
  }
  .hero__title { font-size: 60px; }
  .hero__sub { font-size: 17px; }
  .hero__media::before { inset: -12px -12px 12px 12px; }
  .hero__media img { height: auto; }
  .hero__quote {
    bottom: -20px; left: -12px;
    padding: 14px 18px; max-width: 200px;
  }
  .hero__quote-text { font-size: 16px; }

  .section { padding: 72px 20px; }
  .section--ink { padding: 64px 20px; }
  .section__title { font-size: 36px; margin-bottom: 32px; }

  .intro-text { grid-template-columns: 1fr; gap: 24px; }
  .intro-text p { font-size: 15px; }
  .dropcap::first-letter {
    font-size: 1em; float: none; margin: 0; color: inherit;
  }

  .pillars { grid-template-columns: 1fr; }
  .pillar {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .pillar:last-child { border-bottom: 0; }
  .pillar:not(:first-child) { padding-left: 0; }
  .pillar h3 { font-size: 28px; }

  .image-strip {
    grid-template-columns: 1fr;
    gap: 8px; height: auto;
    padding: 0 20px 72px;
  }
  .image-strip > div { height: 200px; }
  .image-strip > div:first-child { height: 220px; }

  .cta { grid-template-columns: 1fr; gap: 24px; }
  .cta h2 { font-size: 38px; }
  .section--ink .stickfig-watermark {
    width: 240px; height: 274px;
    right: -60px; bottom: -60px;
  }

  .page-header { padding: 44px 20px 32px; }
  .page-header h1 { font-size: 48px; }
  .page-header__sub { font-size: 17px; }

  .services-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px 64px;
  }
  .service,
  .service:nth-child(2n) {
    padding: 32px 0;
    border-right: 0;
  }
  .service h3 { font-size: 24px; }
  .service__num { font-size: 30px; }

  .callout { padding: 64px 20px; }
  .callout h2 { font-size: 52px; }
  .callout p { font-size: 16px; }
  .callout .stickfig-watermark { width: 180px; height: 206px; }

  .gallery {
    grid-template-columns: 1fr;
    gap: 10px; padding: 64px 20px;
  }
  .gallery img { height: auto; }

  .section--center { padding: 0 20px 72px; }
  .btn--lg { padding: 16px 32px; font-size: 13px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 32px 20px 64px;
  }
  .contact-aside__phone { font-size: 26px; }

  .thank-you { padding: 72px 20px; }
  .thank-you h1 { font-size: 44px; }
  .thank-you .stickfig { width: 100px; height: 114px; }

  .legal { padding: 44px 20px 72px; }
  .legal h1 { font-size: 44px; }

  .site-footer { padding: 48px 20px 24px; }
  .site-footer__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row input,
  .form-row textarea { font-size: 16px; }
  .btn { width: 100%; text-align: center; }
  .hero__buttons .btn,
  .nav-mobile .btn { width: 100%; }
}
