:root {
  /* Colors - Light Mode */
  --bg: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --accent: #0ea5a4;
  --accent-dark: #0d9e9c;
  --accent-light: #14b8a6;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 25px rgba(15, 23, 42, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}


@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --muted: #94a3b8;
    --surface: #1e293b;
    --surface-alt: #334155;
    --border: #334155;
    --border-subtle: rgba(226, 232, 240, 0.15);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body { 
  margin: 0; 
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif; 
  background: var(--bg); 
  color: var(--text); 
  line-height: 1.6;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

h1, h2, h3, h4, h5, h6 { 
  margin-top: 0; 
  font-weight: 700; 
  line-height: 1.2;
}

p { 
  margin-top: 0; 
  margin-bottom: 1rem;
}

/* Skip Link */
.skip-link { 
  position: absolute; 
  left: -999px; 
  top: auto; 
  width: 1px; 
  height: 1px; 
  overflow: hidden; 
}

.skip-link:focus { 
  left: 1rem; 
  top: 1rem; 
  width: auto; 
  height: auto; 
  background: var(--accent); 
  color: #fff; 
  padding: 0.5rem 0.75rem; 
  border-radius: 0.5rem;
  z-index: 1000;
}

/* Header & Navigation */
.site-header { 
  align-items: center; 
  justify-content: space-between; 
  gap: 1rem; 
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast),
              border-color var(--transition-fast);
}

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

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: 100vw;
  height: 1px;
  background-color: var(--border-subtle);

  pointer-events: none;
}


.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  padding-left: 75px;   /* Platz für großes Logo */
}

.brand-name { 
  font-weight: 700; 
  color: var(--text); 
  text-decoration: none;
  font-size: 1.1rem;
  transition: color var(--transition-fast);
}

.brand-name:hover {
  color: var(--accent);
}

.logo { 
  width: 36px; 
  height: 36px;
  display: block;
}

.logo-2 { 
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;       /* z. B. – kannst du anpassen */
  width: auto;
}


/* Main Navigation */
.main-nav ul { 
  display: flex; 
  gap: 1rem; 
  list-style: none; 
  margin: 0; 
  padding: 0;
}

.main-nav a {
  position: relative;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.menu-toggle:hover {
  color: var(--accent);
}

/* Links */
a { 
  color: var(--accent); 
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hero Section */
.hero { 
  padding: 1rem 1.25rem 3rem; 
  background: linear-gradient(180deg, rgba(14, 165, 164, 0.08), transparent);
  transition: background var(--transition-slow);
}

.hero-inner { 
  max-width: 1000px; 
  margin: 0 auto; 
  text-align: center;
}

.hero h1 { 
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem); 
  line-height: 1.15; 
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.accent { 
  color: var(--accent);
}

/* CTA Buttons */
.cta { 
  display: flex; 
  gap: 0.75rem; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 1.5rem;
}

.btn { 
  padding: 0.85rem 1.5rem; 
  border-radius: 0.6rem; 
  border: 1px solid transparent; 
  cursor: pointer; 
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: #00c4d6;
  box-shadow: 0 6px 18px rgba(0, 200, 210, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary { 
  background: var(--surface); 
  color: var(--text); 
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Sections & Spacing */
.features, .services-teaser, .social-proof, .page { 
  padding: 3rem 1.25rem; 
  max-width: 1000px; 
  margin: 0 auto;
}

.features h2, .services-teaser h2, .social-proof h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* Feature Grid */
.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Card Component */
.card { 
  background: var(--surface); 
  border: 1px solid var(--border-subtle); 
  border-radius: 0.75rem; 
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

/* Feature Grid */
.feature-grid2 { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  max-width: 650px;
  margin-inline: auto;
  justify-items: center;
}

/* Card Component */
.card2 { 
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: auto;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  width: fit-content;
  text-align: center;
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Service List */
.service-list { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 1.5rem 2rem; 
  padding-left: 0;
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Footer */
.site-footer { 
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 3rem;
  text-align: center;
  background: var(--surface-alt);
}

.site-footer nav {
  margin-bottom: 1rem;
}

.site-footer a {
  font-weight: 500;
}

.site-footer small {
  color: var(--muted);
  display: block;
  margin-top: 1rem;
}

/* Page */
.page h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text);
  position: relative;
  padding-bottom: 1rem;
}

.page h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.page h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
  transition: border-color var(--transition-base);
}

.page h2:hover {
  border-bottom-color: var(--accent-light);
}

.page ul, .page ol {
  line-height: 1.8;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.page li {
  margin-bottom: 0.5rem;
}

.page a {
  color: var(--accent);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.page a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.page.narrow { 
  max-width: 800px;
}

/* Grid Layout */
.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.grid-2 .card {
  min-height: 100%;
}

/* Images */
.section-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  margin: 1.5rem auto;
  display: block;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  margin: 2rem auto;
  display: block;
}

.profile-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  max-height: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  margin: 1.5rem auto;
  display: block;
  border: 3px solid var(--accent-light);
}

.profile-image-large-index {
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 100%;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  box-shadow: var(--shadow-lg);
  margin: 1rem auto;
  display: block;
  border: 3px solid var(--accent-light);
}

.profile-image-large {
  width: 100%;
  max-width: 450px;
  height: auto;
  max-height: 100%;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  box-shadow: var(--shadow-lg);
  margin: 2rem auto;
  display: block;
  border: 3px solid var(--accent-light);
}

/* Form Elements */
label { 
  display: block; 
  font-weight: 600; 
  margin-bottom: 0.5rem;
  color: var(--text);
}

input, textarea { 
  width: 100%; 
  padding: 0.75rem;
  border-radius: 0.6rem; 
  border: 1.5px solid var(--border); 
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus { 
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1);
  border-color: var(--accent);
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
}

.consent-line {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.consent-line input[type="checkbox"] {
  width: auto;
  margin-top: 0.35rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.consent-line label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
}

/* Form Status */
#form-status {
  margin-top: 1rem;
}

.muted { 
  color: var(--muted);
}

/* Blockquote / Testimonial */
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 0;
  font-style: italic;
  color: var(--text-secondary);
}

blockquote p {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.75rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonials .card blockquote {
  margin: 0;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 2px solid var(--border-subtle);
  margin: 2rem 0;
  transition: border-color var(--transition-base);
}

hr:hover {
  border-top-color: var(--accent-light);
}

/* Callout */
.callout {
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.1), rgba(20, 184, 166, 0.05));
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0.6rem;
  margin: 2rem 0;
}

.callout {
  text-align: center;
}

.callout .btn {
  display: block;       /* macht das <a> zum Block */
  width: fit-content;   /* Breite = Inhalt (kein 100% Stretch) */
  margin: 0 auto;       /* zentriert den Block innerhalb .callout */
}

.callout p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Einfache Fade-In Klasse für Bilder */
.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease 0.1s forwards;
}


.email-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
}

.email-line img {
  width: 24px;
  height: 24px;
  display: block;
}


.region-line {
  display: flex;
  align-items: flex-start; /* 👈 THIS is the key */
  gap: 0.6rem;
  font-size: 1.1rem;
}

.region-line img {
  width: 24px;
  height: 24px;
  display: block;
}


.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast),
              opacity var(--transition-fast);
}

.social-icons a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social-icons img {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================
   Mobile Header / Navigation
   ========================= */
@media (max-width: 768px) {

  /* Header kompakter */
  .site-header-inner {
    padding: 0.75rem 1rem;
  }

  /* Brand anpassen */
  .brand {
    padding-left: 64px;
  }

  .logo-2 {
    height: 44px;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  /* Menübutton sichtbar */
  .menu-toggle {
    display: block;
    z-index: 1100;
  }

  /* Navigation standardmäßig aus */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);

    display: none;
  }

  /* Navigation LISTE mobil */
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
  }

  .main-nav li a {
    display: block;
    padding: 0.75rem 1.25rem;
  }

  /* DAS GREIFT DEIN JS AUF */
  .main-nav.active {
    display: block;
  }

  
  .hero {
      padding-top: 0.75rem;
      padding-bottom: 2rem;
    }

  .hero img {
      max-width: 280px !important;
      width: 100% !important;
      height: auto;
      margin-left: auto;
      margin-right: auto;
    }

    .profile-image-large-index {
      width: 100%;
      max-width: 240px;
      height: auto;
      max-height: 100%;
      border-radius: 50%;
      background-color: rgb(255, 255, 255);
      box-shadow: var(--shadow-lg);
      margin: 1rem auto;
      display: block;
      border: 3px solid var(--accent-light);
    }

}


@media (max-width: 480px) {
  .hero-image {
    max-width: 260px;
  }
}


@media (max-width: 1199px) {

  /* Header kompakter */
  .site-header-inner {
    padding: 0.75rem 1rem;
  }

  /* Brand anpassen */
  .brand {
    padding-left: 64px;
  }

  .logo-2 {
    height: 44px;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  /* Menübutton sichtbar */
  .menu-toggle {
    display: block;
    z-index: 1100;
  }

  /* Navigation standardmäßig aus */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);

    display: none;
  }

  /* Navigation LISTE mobil */
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
  }

  .main-nav li a {
    display: block;
    padding: 0.75rem 1.25rem;
  }

  /* DAS GREIFT DEIN JS AUF */
  .main-nav.active {
    display: block;
  }

  
  .hero {
      padding-top: 0.75rem;
      padding-bottom: 2rem;
    }

  .hero img {
      max-width: 280px !important;
      width: 100% !important;
      height: auto;
      margin-left: auto;
      margin-right: auto;
    }

    .profile-image-large-index {
      width: 100%;
      max-width: 240px;
      height: auto;
      max-height: 100%;
      border-radius: 50%;
      background-color: rgb(255, 255, 255);
      box-shadow: var(--shadow-lg);
      margin: 1rem auto;
      display: block;
      border: 3px solid var(--accent-light);
    }

}