/*
Theme Name: ke systems theme 2026
Theme URI: https://ke-systems.de
Author: ke systems
Description: Custom Theme basierend auf den bereitgestellten HTML Seiten (OnePage, Verkauf, Impressum, Datenschutz) inkl. Premium Mobile Menu.
Version: 1.1.0
Text Domain: ke-systems-theme-2026
*/

/* ===== Base (OnePage) ===== */
:root {
    --primary: #4f79a3;       /* Logo-Blau */
    --dark: #1f2a33;
    --text: #4a4a4a;
    --light: #f5f7f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
}

/* ---------- NAVIGATION ---------- */

nav {
    position: fixed;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    z-index: 1000;
}

nav img {
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
}

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

/* ---------- HERO MIT HINTERGRUNDBILD ---------- */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    position: relative;
    background: 
        linear-gradient(to right, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.6) 65%, rgba(255,255,255,0.2)),
        url('https://images.unsplash.com/photo-1492724441997-5dc865305da7?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* ---------- SECTION ---------- */

section {
    padding: 110px 8%;
}

.section-light {
    background: var(--light);
}

h2 {
    text-align: center;
    font-size: 34px;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ---------- GUIDE SECTION ---------- */

.guide-box {
    max-width: 750px;
    margin: auto;
    text-align: center;
}

.guide-box p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 25px;
}

/* ---------- CONTACT ---------- */

.contact-box {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 35px;
  font-size: 14px;
}

footer a {
  color: inherit;              /* gleiche Farbe wie Text */
  text-decoration: none;       /* keine Unterstreichung */
  font-weight: 400;            /* gleiche Schriftstärke */
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 1;                  /* dezente Hover-Wirkung */
}
/* -------- NAV: etwas mehr Innenabstand (Text nicht an Kante) -------- */
nav {
  padding: 18px 8%;
}

nav ul {
  padding-left: 0;
}

/* -------- Toggle Button (Hamburger -> X) -------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

/* X Zustand */
.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

/* -------- Overlay -------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 30, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* -------- Drawer -------- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

/* Mobile Drawer Styling */
@media (max-width: 900px) {

  .nav-toggle {
    display: inline-flex;
  }

  /* Desktop-Layout überschreiben */
  nav ul.nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 110px 26px 24px 26px; 
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
    z-index: 1100;
    transition: right 0.32s ease;
  }

  nav ul.nav-links.active {
    right: 0;
  }

  nav ul.nav-links li a {
    display: block;
    padding: 14px 14px;          
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
  }

  nav ul.nav-links li a:hover {
    background: rgba(79,121,163,0.08); /* primary mit Transparenz */
    color: var(--primary);
  }

  /* Damit das Logo + Button Platz haben */
  nav {
    padding: 16px 6%;
  }
}

/* ---------- GUIDE STYLING ---------- */

.guide-box {
    max-width: 620px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.guide-lead {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--dark);
	max-width: 620px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.guide-problem {
    color: var(--text);
    margin-bottom: 30px;
	max-width: 620px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.guide-divider {
    height: 1px;
    width: 80px;
    background: rgba(0,0,0,0.1);
    margin: 40px auto;
}

.guide-box h3 {
    margin-bottom: 20px;
    color: var(--primary);
	text-align: center;
}

.guide-list,
.guide-result {
    list-style: none;
    text-align: left;
    max-width: 620px;
    margin: 0 auto 30px auto;
    padding: 0;
}

.guide-list li,
.guide-result li {
    padding: 10px 0;
    color: var(--text);
    font-size: 16px;
}

.guide-highlight {
    margin-top: 30px;
    font-size: 17px;
    color: var(--dark);
}

.guide-final {
    margin-top: 20px;
    font-size: 18px;
    color: var(--dark);
}
/* ---------- GUIDE COMING SOON ---------- */

.guide-coming {
    margin-top: 35px;
    padding: 25px;
    background: rgba(79,121,163,0.06);
    border-radius: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guide-coming p {
    margin: 5px 0;
    color: var(--dark);
    font-size: 15px;
}
/* ---------- GUIDE OFFER / SUPPORT BOX ---------- */

.guide-offer {
  margin: 30px auto 10px;
  padding: 26px 26px;
  max-width: 680px;
  text-align: left;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  border: 1px solid rgba(79,121,163,0.18);
}

.guide-offer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-offer-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(79,121,163,0.10);
}

.guide-offer p {
  margin: 10px 0;
  color: var(--text);
  font-size: 16px;
}

.guide-offer-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.85;
}
/* ---------- GUIDE BUTTON ---------- */

.guide-btn {
  display: inline-block;
  margin-top: 45px;   /* Abstand nach oben */
}

#guide .guide-box {
  text-align: center; /* sorgt für horizontale Zentrierung */
}
/* ---------- GUIDE TERMS (EINKLAPPBAR) ---------- */

.guide-terms {
  margin-top: 18px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.guide-terms summary {
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  opacity: 0.8;
  list-style: none;
  outline: none;
  transition: opacity 0.2s ease;
}

.guide-terms summary:hover {
  opacity: 1;
}

/* Standard-Pfeil entfernen */
.guide-terms summary::-webkit-details-marker {
  display: none;
}

/* Custom Pfeil */
.guide-terms summary::after {
  content: " +";
  font-weight: 600;
}

.guide-terms[open] summary::after {
  content: " −";
}

.guide-terms-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;       /* kleiner als Haupttext */
  color: var(--text);
  opacity: 0.85;
  line-height: 1.7;
}

.guide-terms-content p {
  margin: 6px 0;
}
/* ---------- GUIDE PREISBOX ---------- */

#guide-preis {
  padding: 80px 8%;
  background: var(--white);
}

.price-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.price-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  text-align: center;
  border: 1px solid rgba(79,121,163,0.15);
}

.price-header h3 {
  margin-bottom: 6px;
  font-size: 22px;
  color: var(--dark);
}

.price-subtitle {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 25px;
}

.price-value {
  margin-bottom: 25px;
}

.price-amount {
  font-size: 42px;
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.price-note {
  font-size: 13px;
  color: var(--text);
  opacity: 0.8;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.price-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}

.price-btn {
  margin-top: 20px;
  display: inline-block;
}

.price-hint {
  font-size: 12px;
  color: var(--text);
  opacity: 0.7;
  margin-top: 15px;
}

/* ===== Verkaufsseite ===== */
:root {
  --primary: #4f79a3;       /* Logo-Blau */
  --dark: #1f2a33;
  --text: #4a4a4a;
  --light: #f5f7f9;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
}

/* ---------- NAVIGATION ---------- */
nav {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  z-index: 1000;
}

.logo { height: 45px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  padding-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
}

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

/* ---------- Premium Mobile Menu ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 30, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.active { display: block; opacity: 1; }

@media (max-width: 900px) {
  nav { padding: 16px 6%; }
  .nav-toggle { display: inline-flex; }

  nav ul.nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 110px 26px 24px 26px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
    z-index: 1100;
    transition: right 0.32s ease;
  }

  nav ul.nav-links.active { right: 0; }

  nav ul.nav-links li a {
    display: block;
    padding: 14px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
  }

  nav ul.nav-links li a:hover {
    background: rgba(79,121,163,0.08);
    color: var(--primary);
  }
}

/* ---------- SECTIONS ---------- */
section { padding: 110px 8%; }
.section-light { background: var(--light); }

h1, h2, h3 { margin-bottom: 18px; }
h1 { font-size: 42px; }
h2 { text-align: center; font-size: 34px; margin-bottom: 55px; }

p { color: var(--text); margin-bottom: 12px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn:hover { opacity: 0.92; }

/* ---------- HERO ---------- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 140px 8% 90px;
  background:
    linear-gradient(to right, rgba(255,255,255,0.96) 45%, rgba(255,255,255,0.65) 65%, rgba(255,255,255,0.15)),
    url('https://images.unsplash.com/photo-1492724441997-5dc865305da7?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 720px;
}

.hero p { font-size: 18px; }

/* ---------- GUIDE CONTENT ---------- */
.guide-box {
  max-width: 860px;
  margin: 0 auto;
}

.guide-lead {
  font-size: 20px;
  color: var(--dark);
  max-width: 720px;
  margin: 0 auto 22px auto;
  text-align: left;
}

.guide-problem {
  max-width: 720px;
  margin: 0 auto 10px auto;
  text-align: left;
  color: var(--text);
}

.guide-divider {
  height: 1px;
  width: 90px;
  background: rgba(0,0,0,0.12);
  margin: 38px auto;
}

.guide-box h3 {
  color: var(--primary);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 14px auto;
}

.guide-list, .guide-result {
  list-style: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto 18px auto;
  text-align: left;
}

.guide-list li, .guide-result li {
  padding: 10px 0;
  color: var(--text);
  font-size: 16px;
}

.guide-highlight {
  max-width: 720px;
  margin: 18px auto 0 auto;
  color: var(--dark);
  font-size: 17px;
  text-align: center;
}

.guide-final {
  max-width: 720px;
  margin: 10px auto 0 auto;
  color: var(--dark);
  font-size: 18px;
  text-align: left;
}

/* Coming Soon Box */
.guide-coming {
  margin: 28px auto 0;
  padding: 22px;
  background: rgba(79,121,163,0.06);
  border-radius: 12px;
  max-width: 720px;
  text-align: left;
}
.guide-coming p { margin: 6px 0; color: var(--dark); font-size: 15px; }

/* Offer Box */
.guide-offer {
  margin: 26px auto 0;
  padding: 26px;
  max-width: 720px;
  text-align: left;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  border: 1px solid rgba(79,121,163,0.18);
}

.guide-offer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.guide-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(79,121,163,0.10);
}

.guide-offer-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
}

.guide-offer p { margin: 10px 0; color: var(--text); font-size: 16px; }

/* Terms (collapsed) */
.guide-terms {
  margin-top: 14px;
  max-width: 720px;
}

.guide-terms summary {
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  opacity: 0.8;
  list-style: none;
  outline: none;
  transition: opacity 0.2s ease;
}

.guide-terms summary:hover { opacity: 1; }

.guide-terms summary::-webkit-details-marker { display: none; }
.guide-terms summary::after { content: " +"; font-weight: 600; }
.guide-terms[open] summary::after { content: " −"; }

.guide-terms-content {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: var(--text);
  opacity: 0.85;
  line-height: 1.7;
}

.guide-terms-content p { margin: 6px 0; }

/* ---------- PRICE BOX ---------- */
.price-wrapper {
  max-width: 540px;
  margin: 0 auto;
}

.price-card {
  background: #ffffff;
  padding: 42px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  text-align: center;
  border: 1px solid rgba(79,121,163,0.15);
}

.price-header h3 {
  margin-bottom: 6px;
  font-size: 22px;
  color: var(--dark);
}

.price-subtitle {
  font-size: 14px;
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 22px;
}

.price-value { margin-bottom: 18px; }

.price-amount {
  font-size: 44px;
  font-weight: 650;
  color: var(--primary);
  display: block;
}

.price-note {
  font-size: 13px;
  color: var(--text);
  opacity: 0.8;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  text-align: left;
}

.price-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}

.price-btn { margin-top: 18px; display: inline-block; }
.price-hint {
  font-size: 12px;
  color: var(--text);
  opacity: 0.7;
  margin-top: 14px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 35px;
  font-size: 14px;
}

footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

footer a:hover { opacity: 1; }

/* ===== Impressum ===== */
:root {
  --primary: #4f79a3;       /* Logo-Blau */
  --dark: #1f2a33;
  --text: #4a4a4a;
  --light: #f5f7f9;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
}

/* ---------- NAVIGATION ---------- */
nav {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  z-index: 1000;
}

.logo {
  height: 45px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  padding-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
}

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

/* ---------- Mobile Menu (Premium Drawer) ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 30, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.active { display: block; opacity: 1; }

@media (max-width: 900px) {
  nav { padding: 16px 6%; }

  .nav-toggle { display: inline-flex; }

  nav ul.nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 110px 26px 24px 26px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
    z-index: 1100;
    transition: right 0.32s ease;
  }

  nav ul.nav-links.active { right: 0; }

  nav ul.nav-links li a {
    display: block;
    padding: 14px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
  }

  nav ul.nav-links li a:hover {
    background: rgba(79,121,163,0.08);
    color: var(--primary);
  }
}

/* ---------- PAGE LAYOUT ---------- */
main {
  padding: 130px 8% 80px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  main { padding: 120px 6% 70px; }
}

.page-title {
  font-size: 38px;
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 18px 0 30px;
}

.section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  padding: 32px;
  margin-bottom: 22px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}

.section h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.section p, .section li {
  color: var(--text);
  margin-bottom: 10px;
}

.section a {
  color: var(--primary);
  text-decoration: none;
}

.section a:hover { text-decoration: underline; }

.address {
  margin-top: 8px;
  color: var(--text);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 35px;
  font-size: 14px;
}

footer a {
  color: inherit;              /* gleiche Farbe wie Text */
  text-decoration: none;       /* keine Unterstreichung */
  font-weight: 400;            /* gleiche Schriftstärke */
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 1;                  /* dezente Hover-Wirkung */
}

/* ===== Datenschutz ===== */
:root {
  --primary: #4f79a3;       /* Logo-Blau */
  --dark: #1f2a33;
  --text: #4a4a4a;
  --light: #f5f7f9;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
}

/* ---------- NAVIGATION ---------- */
nav {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  z-index: 1000;
}

.logo { height: 45px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  padding-left: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 15px;
}

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

/* ---------- Mobile Menu (Premium Drawer) ---------- */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1101;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }

.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 30, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-overlay.active { display: block; opacity: 1; }

@media (max-width: 900px) {
  nav { padding: 16px 6%; }
  .nav-toggle { display: inline-flex; }

  nav ul.nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    height: 100vh;
    width: 320px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 110px 26px 24px 26px;
    box-shadow: -12px 0 40px rgba(0,0,0,0.08);
    z-index: 1100;
    transition: right 0.32s ease;
  }

  nav ul.nav-links.active { right: 0; }

  nav ul.nav-links li a {
    display: block;
    padding: 14px 14px;
    border-radius: 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
  }

  nav ul.nav-links li a:hover {
    background: rgba(79,121,163,0.08);
    color: var(--primary);
  }
}

/* ---------- PAGE LAYOUT ---------- */
main {
  padding: 130px 8% 80px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  main { padding: 120px 6% 70px; }
}

.page-title {
  font-size: 38px;
  margin-bottom: 10px;
}

.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 18px 0 30px;
}

.section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  padding: 32px;
  margin-bottom: 22px;
}

.section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}

.section h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}

.section p, .section li {
  color: var(--text);
  margin-bottom: 10px;
}

.section ul {
  padding-left: 18px;
  margin-bottom: 6px;
}

.section a {
  color: var(--primary);
  text-decoration: none;
}

.section a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 35px;
  font-size: 14px;
}

footer a {
  color: inherit;              /* gleiche Farbe wie Text */
  text-decoration: none;       /* keine Unterstreichung */
  font-weight: 400;            /* gleiche Schriftstärke */
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 1;                  /* dezente Hover-Wirkung */
}


/* ===== WordPress Theme Fixes ===== */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
#page, #content, .site, .site-content, .content-area, .site-main, .entry-content {
  width: 100%;
  max-width: none;
}
.entry-content { margin: 0; padding: 0; }



/* ===== WPForms (ID 965) Styling – passend zum ke systems Look ===== */
.wpforms-container { margin: 0; }
#wpforms-965, .wpforms-container-full #wpforms-965 {
  max-width: 600px;
  margin: 0 auto;
}
#wpforms-965 .wpforms-field { margin-bottom: 15px; }
#wpforms-965 input[type="text"],
#wpforms-965 input[type="email"],
#wpforms-965 input[type="tel"],
#wpforms-965 textarea,
#wpforms-965 select {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
}
#wpforms-965 textarea { min-height: 140px; resize: vertical; }
#wpforms-965 input:focus,
#wpforms-965 textarea:focus,
#wpforms-965 select:focus {
  outline: none;
  border-color: rgba(79,121,163,0.45);
  box-shadow: 0 0 0 4px rgba(79,121,163,0.10);
}
#wpforms-965 .wpforms-submit-container { text-align: center; margin-top: 10px; }
#wpforms-965 button[type="submit"],
#wpforms-965 input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.15s ease;
}
#wpforms-965 button[type="submit"]:hover,
#wpforms-965 input[type="submit"]:hover { opacity: 0.92; }
#wpforms-965 button[type="submit"]:active,
#wpforms-965 input[type="submit"]:active { transform: translateY(1px); }



/* ===== Legal Page Layout (Impressum Style) ===== */
main {
  padding: 130px 8% 80px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  main { padding: 120px 6% 70px; }
}
.page-title {
  font-size: 38px;
  margin-bottom: 10px;
}
.divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 18px 0 30px;
}
.section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
  padding: 32px;
  margin-bottom: 22px;
}
.section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}
.section h3 {
  font-size: 18px;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--primary);
}
.section p, .section li {
  color: var(--text);
  margin-bottom: 10px;
}
.section ul {
  padding-left: 18px;
  margin-bottom: 6px;
}
.section a {
  color: var(--primary);
  text-decoration: none;
}
.section a:hover { text-decoration: underline; }
