/* Классическая версия главной (/klassisch/): спокойная, понятная вёрстка без эффектов.
   Токены совпадают с современной версией — их же использует общий попап проектов (css/home/04-gallery.css). */
:root {
  --bg: #FFFFFF; --bg2: #F2F2F2; --ink: #100F0C; --red: #D43C20; --amber: #BF7830;
  --muted: #6E6A63; --faint: #A9A49A; --line: rgba(16,15,12,.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.c-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.c-eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 14px; }

/* Buttons */
.c-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; transition: background .2s, transform .2s; }
.c-btn:hover { background: #b9321a; transform: translateY(-1px); }
.c-btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.c-btn--ghost:hover { background: var(--ink); color: #fff; }
.c-btn--light { background: #fff; color: var(--ink); }
.c-btn--light:hover { background: var(--red); color: #fff; }
.c-btn--line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.c-btn--line:hover { background: rgba(255,255,255,.1); }

/* Kopfzeile */
.c-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.c-nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(16,15,12,.06); }
.c-nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.c-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.c-menu { display: flex; align-items: center; gap: 28px; }
.c-menu a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .2s; }
.c-menu a:hover { color: var(--red); }
.c-menu .c-menu__cta { padding: 10px 20px; border-radius: 6px; background: var(--ink); color: #fff; }
.c-menu .c-menu__cta:hover { background: var(--red); color: #fff; }
.c-burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; }
.c-burger span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .25s; }

/* Hero */
.c-hero { padding: 56px 0 0; background: linear-gradient(180deg, #fff 0%, var(--bg2) 100%); }
.c-hero__in { overflow: hidden; }
.c-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.c-hero__text { padding-bottom: 72px; }
.c-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin-bottom: 20px; }
.c-hero h1 span { color: var(--red); display: block; }
.c-hero p { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.c-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.c-hero__img { align-self: end; position: relative; }
.c-hero__img::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 0; height: 72%; border-radius: 20px 20px 0 0; background: var(--red); }
.c-hero__img img { position: relative; width: 100%; max-height: 560px; object-fit: contain; object-position: bottom; }
.c-stats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(16,15,12,.08); transform: translateY(50%); position: relative; z-index: 2; }
.c-stats li { padding: 24px 28px; border-right: 1px solid var(--line); }
.c-stats li:last-child { border-right: 0; }
.c-stats b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--red); }
.c-stats span { font-size: .9rem; color: var(--muted); }

/* Abschnitte */
.c-sec { padding: 110px 0 96px; }
.c-sec--grey { background: var(--bg2); }
.c-head { max-width: 640px; margin-bottom: 44px; }
.c-head p { color: var(--muted); font-size: 1.05rem; }
.c-head p a { color: var(--red); font-weight: 600; }
#leistungen { padding-top: 150px; }

/* Leistungen */
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.c-card:hover { border-color: var(--red); box-shadow: 0 16px 40px rgba(16,15,12,.08); transform: translateY(-3px); }
.c-card__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(212,60,32,.1); color: var(--red); font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.c-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.c-card p { color: var(--muted); font-size: .98rem; }

/* Projekte (Mosaik aus gallery.js; Kacheln wie in der modernen Version) */
#projekte .gal-mosaic { border-radius: 12px; overflow: hidden; }

/* Über mich */
.c-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.c-about__img { border-radius: 16px; background: var(--bg2); overflow: hidden; aspect-ratio: 4 / 5; display: flex; align-items: flex-end; justify-content: center; }
.c-about__img img { width: 92%; height: auto; }
.c-about__text p { color: var(--muted); margin-bottom: 16px; }
.c-about__text .c-btn { margin-top: 10px; }

/* Ablauf */
.c-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.c-steps li { background: #fff; border-radius: 12px; padding: 26px 22px; position: relative; }
.c-steps li span { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2rem; color: var(--red); line-height: 1; margin-bottom: 12px; }
.c-steps h3 { font-size: 1.25rem; margin-bottom: 6px; }
.c-steps p { color: var(--muted); font-size: .92rem; }

/* FAQ (gleiches Markup wie modern: components/FaqList.astro) */
.c-faq { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: grid; grid-template-columns: 40px 1fr 28px; gap: 12px; align-items: center; padding: 20px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-n { font-weight: 700; color: var(--red); font-size: .85rem; }
.faq-q { font-weight: 600; font-size: 1.08rem; }
.faq-item summary::after { content: '+'; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--red); transition: transform .3s, background .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 40px 22px 56px; color: var(--muted); }

/* Kontakt */
.c-contact { background: var(--ink); color: #fff; padding: 96px 0; }
.c-contact__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.c-contact h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.c-contact p { color: rgba(255,255,255,.7); max-width: 520px; }
.c-contact__card { display: grid; gap: 12px; padding: 28px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.c-person { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.c-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--red); }
.c-person b { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; }
.c-person span { font-size: .85rem; color: rgba(255,255,255,.6); }

/* Footer + Umschalter */
.c-footer { background: #0a0a09; color: rgba(255,255,255,.55); font-size: .85rem; padding: 26px 0 84px; }
.c-footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.c-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.c-switch { position: fixed; right: 18px; bottom: 18px; z-index: 40; padding: 11px 18px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 600; box-shadow: 0 10px 30px rgba(16,15,12,.25); transition: background .2s; }
.c-switch:hover { background: var(--red); }

/* sanftes Einblenden */
.c-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.c-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .c-reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Tablet / Handy */
@media (max-width: 960px) {
  .c-cards { grid-template-columns: 1fr 1fr; }
  .c-steps { grid-template-columns: 1fr 1fr; }
  .c-about, .c-contact__in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .c-burger { display: block; }
  .c-menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 16px 30px rgba(16,15,12,.1); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .c-menu.open { max-height: 420px; }
  .c-menu a { padding: 15px 20px; border-top: 1px solid var(--line); }
  .c-menu .c-menu__cta { border-radius: 0; text-align: center; }
  .c-hero { padding-top: 28px; }
  .c-hero__in { grid-template-columns: 1fr; gap: 10px; }
  .c-hero__text { padding-bottom: 10px; }
  .c-hero__img { max-width: 360px; margin: 0 auto; width: 100%; }
  .c-stats { grid-template-columns: 1fr 1fr; transform: translateY(30%); }
  .c-stats li:nth-child(2) { border-right: 0; }
  .c-stats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .c-stats li { padding: 18px 20px; }
  #leistungen { padding-top: 110px; }
  .c-sec { padding: 72px 0 64px; }
  .c-cards, .c-steps { grid-template-columns: 1fr; }
  .faq-a p { padding: 0 8px 18px 56px; }
  .c-switch { left: 50%; right: auto; transform: translateX(-50%); bottom: 14px; white-space: nowrap; }
}

/* Общее меню сайта: кнопка рядом с навигацией; на телефоне заменяет бургер */
.c-nav__in .sm-btn { margin-left: 18px; }
@media (max-width: 760px) { .c-burger { display: none !important; } .c-nav__in .sm-btn { margin-left: 0; } }
/* Kontrast (WCAG AA): Nummern der Leistungskarten etwas dunkler */
.c-card__n { color: #B0301A; }
