/* =========================================================
   Gitarrenstudio Würzburg – Stylesheet
   Stil: clean & professionell · Warmes Creme · Orange-Akzent
   Schrift: DM Sans (selbst gehostet, DSGVO-konform)
   ========================================================= */

/* ---------- Schrift: DM Sans (variabel, selbst gehostet) ---------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:        #faf7f2;   /* warmes Creme (Seitenhintergrund) */
  --card:      #ffffff;
  --ink:       #2c2521;   /* warmes Fast-Schwarz (Text) */
  --primary:   #f97316;   /* Orange (Akzent / CTA) */
  --primary-d: #e0660f;   /* Orange hover */
  --secondary: #f0e3d1;   /* helles Tan */
  --muted:     #f4efe7;   /* warmes Hellgrau */
  --muted-fg:  #7d7468;   /* gedämpfter Text */
  --accent:    #f6e9d6;   /* warmes Tan (Icon-Flächen) */
  --border:    #e7ddcf;   /* warme Linie */
  --dark:      #1d1813;   /* dunkler Footer */
  --dark-soft: #2c241d;

  --r:    14px;   /* Karten */
  --r-sm: 10px;   /* Buttons / Inputs */
  --r-lg: 20px;   /* Bilder */
  --shadow:    0 1px 2px rgba(44,37,33,.05), 0 12px 28px rgba(44,37,33,.06);
  --shadow-lg: 0 2px 6px rgba(44,37,33,.06), 0 26px 60px rgba(44,37,33,.12);
  --maxw: 1140px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 18px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary-d); }

h1, h2, h3 { line-height: 1.14; color: var(--ink); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--muted { background: var(--muted); }
.section--card  { background: var(--card); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p { color: var(--muted-fg); font-size: 1.12rem; margin: .5rem 0 0; }

.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .75rem;
}
.pill {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--accent);
  color: var(--primary-d); font-weight: 600; font-size: .9rem; padding: 7px 16px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  border-radius: var(--r-sm); padding: 13px 26px; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(249,115,22,.28); }
.btn--primary:hover { background: var(--primary-d); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-d); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand .logo { width: 40px; height: 40px; border-radius: 10px; }
.brand span.logo { background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.brand img.logo { flex: none; width: auto; height: 44px; border-radius: 0; object-fit: contain; }
.site-footer .brand img.logo { height: 40px; }
.brand .accent { color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: 9px 14px; border-radius: 8px; transition: color .12s, background .12s; }
.nav__links a:hover { color: var(--primary-d); background: var(--muted); }
.nav__links .nav-cta { background: var(--primary); color: #fff; }
.nav__links .nav-cta:hover { background: var(--primary-d); color: #fff; }
.nav__toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.7rem; cursor: pointer; padding: 6px 10px; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 80% 0%, var(--accent), transparent 60%); opacity: .7; z-index: 0; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted-fg); margin: 0 0 30px; max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badges span { display: inline-flex; align-items: center; gap: .45rem; background: var(--card); border: 1px solid var(--border); padding: 8px 15px; border-radius: 999px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow); }

.hero__media { position: relative; }
.hero__media .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.hero__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tag {
  position: absolute; left: -18px; bottom: 28px; background: var(--card); color: var(--ink);
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 800; border: 1px solid var(--border);
}
.hero__media .tag b { color: var(--primary); font-size: 1.15rem; }
.hero__media .tag small { display: block; color: var(--muted-fg); font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 34px 30px; box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico { width: 54px; height: 54px; border-radius: 13px; background: var(--accent); display: grid; place-items: center; font-size: 1.55rem; margin-bottom: 18px; }
.card .ico img.ico-img { height: 28px; width: auto; }
.hero__badges img.ico-img { height: 14px; width: auto; flex: none; }

/* FAQ */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 26px; box-shadow: var(--shadow); }
.faq-item h3 { margin: 0 0 6px; font-size: 1.12rem; }
.faq-item p { margin: 0; color: var(--muted-fg); }
.card p { color: var(--muted-fg); margin: 0; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.audience li { list-style: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px 24px 22px 60px; position: relative; font-weight: 700; box-shadow: var(--shadow); }
.audience li::before { content: "✓"; position: absolute; left: 22px; top: 24px; width: 26px; height: 26px; background: var(--primary); color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; font-weight: 800; }
.audience li small { display: block; font-weight: 500; color: var(--muted-fg); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.about__media .frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { color: var(--muted-fg); }
.about__text .quote { background: var(--muted); border-left: 4px solid var(--primary); border-radius: 0 var(--r) var(--r) 0; padding: 20px 24px; margin: 24px 0; font-size: 1.1rem; color: var(--ink); font-style: italic; }

/* ---------- Pricing ---------- */
.trial-banner { background: var(--ink); color: #fff; border-radius: var(--r); padding: 34px 38px; margin-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.trial-banner h3 { color: #fff; margin: 0 0 6px; }
.trial-banner p { margin: 0; color: #cabfb4; }
.trial-banner .price-big { font-size: 2.6rem; font-weight: 800; color: var(--primary); }
.trial-banner .right { text-align: right; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 36px 28px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; transition: transform .16s ease, box-shadow .16s ease; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); position: relative; }
.price.featured .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.price .dur { font-weight: 700; color: var(--muted-fg); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.price .amount { font-size: 2.8rem; font-weight: 800; color: var(--ink); margin: 10px 0 2px; }
.price .amount span { font-size: 1rem; font-weight: 600; color: var(--muted-fg); }
.price .note { color: var(--muted-fg); font-size: .96rem; margin: 8px 0 24px; }
.price .btn { margin-top: auto; }
.pricing-foot { text-align: center; color: var(--muted-fg); margin-top: 26px; font-size: .98rem; }
.pricing-foot strong { color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 34px 28px; box-shadow: var(--shadow); }
.step .num { counter-increment: step; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: var(--primary-d); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.2rem; }
.step .num::before { content: counter(step); }
.step p { color: var(--muted-fg); margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 36px; box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--primary-d); }
.contact-list small { display: block; color: var(--muted-fg); font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .95rem; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); font: inherit; font-size: 1rem; background: var(--bg); color: var(--ink); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--primary); border-color: var(--primary); background: #fff; }
.form-note { font-size: .85rem; color: var(--muted-fg); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9ada0; padding: 60px 0 30px; }
.site-footer a { color: #ddd3c7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; margin-bottom: 34px; }
.footer__grid h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 9px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.13); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }

/* ---------- Legal ---------- */
.legal { padding: 60px 0 80px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin-top: 34px; }
.legal p, .legal address { color: var(--ink); font-style: normal; }
.legal .back { display: inline-block; margin-bottom: 26px; color: var(--primary-d); text-decoration: none; font-weight: 700; }
.legal .muted { color: var(--muted-fg); }

/* =========================================================
   Bearbeitungsmodus (kein Coden nötig)
   ========================================================= */
#editFab { position: fixed; right: 22px; bottom: 22px; z-index: 80; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-lg); display: inline-flex; align-items: center; gap: .5rem; }
#editFab:hover { background: var(--primary); }
#editBar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--ink); color: #fff; padding: 15px 22px; display: none; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: 0 -10px 28px rgba(0,0,0,.22); }
#editBar.show { display: flex; }
#editBar .msg { flex: 1 1 260px; font-size: .95rem; color: #cabfb4; }
#editBar .msg strong { color: #fff; }
body.editing [data-edit] { outline: 2px dashed var(--primary); outline-offset: 3px; border-radius: 6px; cursor: text; }
body.editing [data-edit]:hover, body.editing [data-edit]:focus { outline-style: solid; background: rgba(249,115,22,.06); }
body.editing [data-edit-img] { cursor: pointer; }
body.editing .frame { outline: 3px dashed var(--primary); outline-offset: 5px; }
.edit-img-hint { position: absolute; inset: 0; background: rgba(29,24,19,.55); color: #fff; display: none; align-items: center; justify-content: center; font-weight: 700; text-align: center; padding: 12px; z-index: 2; }
body.editing .frame { position: relative; }
body.editing .frame .edit-img-hint { display: flex; }
body.editing { padding-bottom: 84px; }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 95; background: var(--primary); color: #fff; padding: 13px 24px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { max-width: 380px; }
  .contact__grid { grid-template-columns: 1fr; }
  .grid--3, .pricing, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 74px; left: 0; right: 0; background: var(--card); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 18px 20px; display: none; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 12px; }
  .nav__links .nav-cta { text-align: center; margin-top: 8px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .audience, .footer__grid { grid-template-columns: 1fr; }
  .trial-banner { flex-direction: column; align-items: flex-start; }
  .trial-banner .right { text-align: left; }
}
@media print {
  .site-header, .site-footer, #editFab, #editBar, .hero__cta, .nav__toggle { display: none !important; }
}
