/* ============================================================
   [lautstark] — Moderne Website CSS
   Basis: Arial/Helvetica · Magenta #A31A7E · Grün #34B233
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --magenta:    #A31A7E;
  --green:      #34B233;
  --nav-gray:   #AAAAAA;
  --body-gray:  #DDDDDD;
  --light-gray: #EFEFEF;
  --surface:    #F8F7F4;
  --surface-2:  #F0EEE9;
  --text:       #1A1A1A;
  --text-muted: #6B6B6B;
  --white:      #FFFFFF;
  --black:      #000000;
  --red:        #CC0000;
  --font: Arial, Helvetica, sans-serif;

  /* Type scale */
  --text-display: clamp(52px, 9vw, 64px);
  --text-h1:      clamp(34px, 5vw, 56px);
  --text-h2:      clamp(26px, 3.5vw, 40px);
  --text-h3:      clamp(18px, 2vw, 22px);
  --text-body:    16px;
  --text-sm:      13px;
  --text-xs:      11px;

  /* Spacing */
  --section-y:   clamp(64px, 9vw, 120px);
  --container:   1200px;
  --gutter:      clamp(20px, 5vw, 60px);
  --nav-h:       64px;

  /* Animation */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ──────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--text-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Fade-in animation (JS-driven) ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  background: var(--white);
  border-bottom: 2px solid var(--black);
  display: flex;
  align-items: center;
}
.site-nav .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0 16px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover  { color: var(--magenta); }
.nav-links a.active { color: var(--white); background: rgb(52, 178, 51); }

/* CTA in nav */
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0 20px !important;
}
.nav-cta:hover { opacity: 0.8; color: var(--white) !important; background: var(--green) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--black);
  z-index: 99;
  padding: 16px 0;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px var(--gutter);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--light-gray);
}
.nav-mobile a:hover { background: var(--light-gray); }
.nav-mobile a.active { color: var(--magenta); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 0 0 var(--section-y);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-logo {
  font-size: var(--text-display);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -3px;
  line-height: 0.9;
  margin-bottom: 32px;
}
.hero-claim {
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 40px;
  max-width: 480px;
}
.hero-claim strong { color: var(--text); }
.hero-cta {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.8; }
.hero-cta.green { background: var(--green); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: block; }
  .hero { min-height: auto; padding: 60px 0; }
}

/* ── Section shells ─────────────────────────────────────────── */
.section {
  padding: var(--section-y) 0;
}
.section.bg-gray    { background: var(--surface-2); }
.section.bg-body    { background: var(--body-gray); }
.section.bg-magenta { background: var(--magenta); color: var(--white); }
.section.bg-green   { background: var(--green);   color: var(--white); }
.section.bg-black   { background: var(--black);   color: var(--white); }

/* ── Section header ─────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--magenta);
  margin-bottom: 12px;
}
.bg-magenta .section-eyebrow,
.bg-green   .section-eyebrow { color: rgba(255,255,255,0.7); }
.bg-black   .section-eyebrow { color: var(--green); }

.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.section-body {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 16px;
}
.bg-magenta .section-body,
.bg-green   .section-body { color: rgba(255,255,255,0.8); }
.bg-black   .section-body { color: var(--nav-gray); }

/* Bracket decoration */
.bracket-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.bracket-label::before { content: "["; margin-right: 4px; }
.bracket-label::after  { content: "]"; margin-left: 4px; }
.bg-magenta .bracket-label { color: rgba(255,255,255,0.7); }

/* ── Cards ──────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}
.card {
  background: var(--white);
  padding: 28px 24px;
  border-top: 3px solid var(--green);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--magenta); }
.card.magenta { border-color: var(--magenta); }
.card.magenta:hover { border-color: var(--green); }
.card-icon {
  width: 40px; height: 40px;
  margin-bottom: 16px;
}
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card-text  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Team cards ─────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
}
.team-card { background: var(--white); }
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--nav-gray);
  border-bottom: 3px solid var(--green);
}
.team-info { padding: 16px; }
.team-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-muted); }

/* ── Two-col layout ─────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 700px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ── Hours table ────────────────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.hours-table tr { border-bottom: 1px solid rgba(0,0,0,0.1); }
.bg-magenta .hours-table tr { border-color: rgba(255,255,255,0.2); }
.hours-table td { padding: 14px 0; }
.hours-table td:first-child { font-weight: 700; width: 140px; }
.hours-table .closed { color: var(--nav-gray); }
.bg-magenta .hours-table .closed { color: rgba(255,255,255,0.4); }

/* ── Contact form ───────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.form-field input,
.form-field textarea,
.form-field select {
  border: 2px solid var(--body-gray);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--magenta); }
.form-field textarea { height: 120px; resize: vertical; }
.btn-submit {
  background: var(--magenta);
  color: var(--white);
  border: none;
  padding: 15px 40px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { opacity: 0.8; }

/* ── News / Aktuelles ───────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: 2px; }
.news-item {
  background: var(--white);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  transition: background 0.15s;
}
.news-item:hover { background: var(--light-gray); }
.news-date { font-size: 12px; font-weight: 700; color: var(--magenta); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 4px; }
.news-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.news-text  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 500px) {
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ── Zungenbrecher ──────────────────────────────────────────── */
.zb-section {
  background: var(--green);
  color: var(--white);
  padding: 48px 0;
}
.zb-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.zb-label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.7; margin-bottom: 12px; }
.zb-text  { font-size: clamp(17px, 2.5vw, 22px); font-weight: 700; line-height: 1.4; min-height: 64px; }
.zb-toggles { display: flex; gap: 6px; flex-shrink: 0; }
.zb-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.zb-btn:hover { background: rgba(255,255,255,0.3); }
.zb-btn.active { background: var(--white); color: var(--green); border-color: var(--white); }
@media (max-width: 600px) {
  .zb-inner { grid-template-columns: 1fr; }
  .zb-toggles { justify-content: flex-start; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-size: 28px; font-weight: 700; color: var(--green); letter-spacing: -0.5px; margin-bottom: 12px; }
.footer-claim { font-size: 14px; color: var(--nav-gray); line-height: 1.6; }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--nav-gray); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--white); transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--nav-gray);
}

/* ── Page header (inner pages) ──────────────────────────────── */
.page-header {
  background: var(--magenta);
  color: var(--white);
  padding: 60px 0;
}
.page-header.green { background: var(--green); }
.page-header-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-bottom: 12px; }
.page-header-title { font-size: var(--text-h1); font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
.page-header-sub { font-size: 18px; color: rgba(255,255,255,0.75); margin-top: 16px; max-width: 560px; line-height: 1.5; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-magenta { color: var(--magenta); }
.text-green   { color: var(--green); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ── Bracket label ───────────────────────────────────────────── */
.bracket-section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.bracket-section-label::before { content: "["; margin-right: 3px; }
.bracket-section-label::after  { content: "]"; margin-left: 3px; }

/* ── Hero outline CTA ────────────────────────────────────────── */
.hero-cta-outline {
  background: transparent !important;
  color: var(--text) !important;
  border: 2px solid var(--text);
}
.hero-cta-outline:hover {
  background: var(--text) !important;
  color: var(--white) !important;
  opacity: 1 !important;
}

/* ── Service area cards ──────────────────────────────────────── */
.service-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 768px) { .service-areas { grid-template-columns: 1fr; } }

.service-area-card {
  aspect-ratio: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.service-area-card.green   { background: var(--green); }
.service-area-card.magenta { background: var(--magenta); }
.service-area-card:hover {
  transform: translateY(-6px);
  filter: brightness(1.12);
}
.service-area-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.service-area-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  color: var(--white);
}
.service-area-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.service-area-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity 0.2s;
}
.service-area-link:hover { opacity: 0.7; }
@media (max-width: 768px) { .service-area-card { aspect-ratio: auto; } }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 40px;
}
.tab-btn {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--white);
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
}
.tab-btn:hover { background: var(--light-gray); color: var(--text); }
.tab-btn.active { background: var(--green); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 700px) { .tab-panel.active { grid-template-columns: 1fr; } }

/* ── Process steps ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}
.process-step {
  background: var(--white);
  padding: 40px 32px;
  text-align: center;
}
.process-arrow {
  font-size: 28px;
  color: var(--green);
  padding: 0 16px;
}
.process-step-num {
  width: 52px; height: 52px;
  background: var(--green);
  color: white;
  font-size: 22px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.process-step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step-text  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 700px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { background: var(--white); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--light-gray); }
.faq-icon {
  font-size: 22px;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
  margin-left: 16px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── Gallery grid ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-item {
  aspect-ratio: 3/2;
  overflow: hidden;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.2s;
}
.gallery-item:hover img { opacity: 0.7; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Lightbox ────────────────────────────────────────────────── */
.lightbox {
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.92);
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
}
.lightbox::backdrop { background: rgba(0,0,0,0.92); }
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  margin: 5vh auto 0;
  display: block;
  object-fit: contain;
}
.lightbox-caption {
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  font-family: var(--font);
}
.lightbox-close:hover { opacity: 0.7; }

/* ── Scroll section indicator ────────────────────────────────── */
.scroll-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.scroll-dot {
  width: 8px;
  height: 8px;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  opacity: 0.35;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-dot.active {
  width: 24px;
  opacity: 1;
}
@media (max-width: 768px) { .scroll-nav { display: none; } }

/* ── Hero wave ────────────────────────────────────────────────── */
.hero-wave {
  display: block;
  width: 408px;
  max-width: 100%;
  margin-top: 48px;
}
.hero-wave rect {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: hero-bar-pulse 2s ease-in-out infinite;
}
@keyframes hero-bar-pulse {
  0%   { transform: scaleY(0.12); }
  30%  { transform: scaleY(1); }
  57%  { transform: scaleY(0.18); }
  80%  { transform: scaleY(0.72); }
  100% { transform: scaleY(0.12); }
}
