/* ==========================================================================
   Craniosacralpraxis Winterthur — Styles
   Design: "Alpine Botanica" — Swiss precision meets organic warmth
   ========================================================================== */

/* ===== 1. CUSTOM PROPERTIES ===== */
:root {
  --bg: #FAF8F5;
  --bg-warm: #F3EFE9;
  --bg-alt: #EDE8E0;
  --bg-sage: #E8EDE5;
  --text: #2C2926;
  --text-light: #6B655D;
  --text-muted: #958E84;
  --primary: #6B7F5E;
  --primary-dark: #4A5940;
  --primary-light: #8FA881;
  --accent: #B8845F;
  --accent-light: #D4A77D;
  --accent-dark: #9A6B48;
  --border: #DDD6CC;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(44, 41, 38, 0.06);
  --shadow: 0 4px 20px rgba(44, 41, 38, 0.08);
  --shadow-lg: 0 12px 40px rgba(44, 41, 38, 0.12);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 4.5rem;
}

/* ===== 2. RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: var(--font-display), sans-serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ===== 4. LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background-color: var(--bg-warm);
}

.section--sage {
  background-color: var(--bg-sage);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body), sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 680px;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* ===== 5. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body), sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ===== 6. HEADER & NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-display), sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.logo-text {
  font-family: var(--font-display), sans-serif;
  font-size: 0.875rem;
  line-height: 1.2;
  font-weight: 500;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-cta {
  display: none;
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  z-index: 1001;
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display), sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:hover {
  color: var(--primary);
}

.nav-mobile .btn {
  margin-top: 2rem;
  width: 100%;
  display: flex;
  text-align: center;
}

/* ===== 7. HERO ===== */
.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--bg-sage) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 1.1875rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  order: 1;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Google Rating Badge */
.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.125rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.google-rating:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.google-icon {
  flex-shrink: 0;
}

.google-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}

.google-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-sage);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(44, 41, 38, 0.06);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
  bottom: -2rem;
  left: -2rem;
}

/* ===== 8. SECTION: WAS IST ===== */
.was-ist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.was-ist-content p {
  color: var(--text-light);
  font-size: 1.0625rem;
}

.was-ist-aside {
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.was-ist-aside h3 {
  font-family: var(--font-display), sans-serif;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.was-ist-aside ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.was-ist-aside li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.was-ist-aside li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-light);
}

/* ===== 9. ANWENDUNGSBEREICHE ===== */
.anwendung-group {
  margin-bottom: 3rem;
}

.anwendung-group:last-child {
  margin-bottom: 0;
}

.anwendung-group h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body), sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background-color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.anwendung-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.anwendung-card {
  position: relative;
  padding: 1.75rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.anwendung-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.anwendung-card h4 {
  font-family: var(--font-display), sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  transition: color 0.3s ease;
}

.anwendung-card:hover h4 {
  color: var(--primary-dark);
}

.anwendung-card p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.65;
}

/* ===== 10. ÜBER MICH ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-deco {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 1rem;
  left: 1rem;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  opacity: 0.4;
}

.about-content h2 {
  margin-bottom: 0.5rem;
}

.about-name {
  font-family: var(--font-display), sans-serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 1.75rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--bg-sage);
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===== 11. ABLAUF ===== */
.ablauf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.ablauf-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ablauf-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.ablauf-timeline {
  position: relative;
  max-width: 700px;
}

.ablauf-timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: 3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--border));
}

.ablauf-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
  position: relative;
}

.ablauf-step:last-child {
  padding-bottom: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.step-content h3 {
  margin-bottom: 0.375rem;
}

.step-content p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.ablauf-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ablauf-note p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.ablauf-note strong {
  color: var(--text);
}

/* ===== 12. KOSTEN ===== */
.kosten-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.kosten-price-card {
  padding: 2.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.kosten-amount {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.kosten-per {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.kosten-details {
  text-align: left;
}

.kosten-details p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.insurance-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.insurance-tag {
  padding: 0.375rem 0.875rem;
  background-color: var(--bg-sage);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.kosten-note {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: var(--bg-sage);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--primary-dark);
  font-weight: 500;
}

/* ===== 13. TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display), sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-light);
  opacity: 0.3;
  pointer-events: none;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.testimonials-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== 14. FAQ ===== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  font-family: var(--font-display), sans-serif;
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.7;
}

.faq-item a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== 15. KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.kontakt-info h3 {
  font-family: var(--font-display), sans-serif;
  margin-bottom: 1.25rem;
}

.nap-block {
  margin-bottom: 1.5rem;
}

.nap-block p {
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.kontakt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.kontakt-link svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.kontakt-hours {
  margin-top: 1.5rem;
}

.kontakt-hours h3 {
  font-size: 1.125rem;
}

.kontakt-hours p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

.kontakt-cta {
  margin-top: 2rem;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--bg-alt);
  aspect-ratio: 16 / 10;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== 16. FOOTER ===== */
.site-footer {
  background-color: var(--text);
  color: rgba(250, 248, 245, 0.7);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-mark {
  background-color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.footer-nav h4 {
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(250, 248, 245, 0.6);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(250, 248, 245, 0.4);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(250, 248, 245, 0.4);
}

.footer-legal a:hover {
  color: rgba(250, 248, 245, 0.8);
}

/* ===== 17. MOBILE BAR ===== */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(44, 41, 38, 0.1);
  padding: 0.5rem;
  gap: 0.5rem;
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-bar-phone {
  background-color: var(--bg-warm);
  color: var(--text);
}

.mobile-bar-phone svg {
  width: 1.125rem;
  height: 1.125rem;
}

.mobile-bar-cta {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* ===== 18. SECTION DIVIDER ===== */
.section-divider {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
}

/* ===== 19. ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .anwendung-card,
.reveal-group .testimonial-card,
.reveal-group .ablauf-step,
.reveal-group .faq-item,
.reveal-group .credential {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-group.visible .anwendung-card,
.reveal-group.visible .testimonial-card,
.reveal-group.visible .ablauf-step,
.reveal-group.visible .faq-item,
.reveal-group.visible .credential {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group.visible > :nth-child(1),
.reveal-group.visible .anwendung-card:nth-child(1),
.reveal-group.visible .testimonial-card:nth-child(1),
.reveal-group.visible .ablauf-step:nth-child(1),
.reveal-group.visible .faq-item:nth-child(1),
.reveal-group.visible .credential:nth-child(1) { transition-delay: 0s; }

.reveal-group.visible > :nth-child(2),
.reveal-group.visible .anwendung-card:nth-child(2),
.reveal-group.visible .testimonial-card:nth-child(2),
.reveal-group.visible .ablauf-step:nth-child(2),
.reveal-group.visible .faq-item:nth-child(2),
.reveal-group.visible .credential:nth-child(2) { transition-delay: 0.1s; }

.reveal-group.visible > :nth-child(3),
.reveal-group.visible .anwendung-card:nth-child(3),
.reveal-group.visible .testimonial-card:nth-child(3),
.reveal-group.visible .ablauf-step:nth-child(3),
.reveal-group.visible .faq-item:nth-child(3),
.reveal-group.visible .credential:nth-child(3) { transition-delay: 0.2s; }

.reveal-group.visible > :nth-child(4),
.reveal-group.visible .anwendung-card:nth-child(4),
.reveal-group.visible .faq-item:nth-child(4),
.reveal-group.visible .credential:nth-child(4) { transition-delay: 0.3s; }

.reveal-group.visible > :nth-child(5),
.reveal-group.visible .faq-item:nth-child(5) { transition-delay: 0.4s; }

.reveal-group.visible > :nth-child(6),
.reveal-group.visible .faq-item:nth-child(6) { transition-delay: 0.5s; }

.reveal-group.visible > :nth-child(7),
.reveal-group.visible .faq-item:nth-child(7) { transition-delay: 0.6s; }

.reveal-group.visible > :nth-child(8),
.reveal-group.visible .faq-item:nth-child(8) { transition-delay: 0.7s; }

/* ===== 20. GRAIN TEXTURE ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ===== 21. RESPONSIVE ===== */

/* Tablet */
@media (min-width: 640px) {
  .anwendung-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  .kosten-grid {
    grid-template-columns: 1fr 1fr;
  }

  .kontakt-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .container {
    padding: 0 2.5rem;
  }

  .section {
    padding: 6.5rem 0;
  }

  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-mobile {
    display: none;
  }

  .mobile-bar {
    display: none;
  }

  html {
    scroll-padding-top: 5rem;
  }

  body {
    padding-bottom: 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-actions {
    order: 0;
  }

  .google-rating {
    order: 1;
  }

  .hero-image-frame {
    aspect-ratio: 1 / 1;
    max-height: 520px;
  }

  .was-ist-grid {
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
  }

  .ablauf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .ablauf-image {
    position: sticky;
    top: 6rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .anwendung-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .anwendung-cards .anwendung-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    padding-left: 1.75rem;
  }

  .anwendung-cards .anwendung-card:first-child h4 {
    grid-column: 1 / -1;
  }
}

/* Mobile bottom bar spacing */
@media (max-width: 959px) {
  body {
    padding-bottom: 4rem;
  }

  .site-footer {
    padding-bottom: 5rem;
  }
}
