/*
Theme Name: Der Sprachendienst
Theme URI: https://dersprachendienst.de/
Author: Der Sprachendienst
Author URI: https://dersprachendienst.de/
Description: Maßgeschneidertes WordPress-Theme für vereidigte Übersetzer und Dolmetscher. Modernes Design, voll responsive, SEO-optimiert mit Schema.org-Markup. Beinhaltet vorgefertigte Seiten für Dolmetschen, Übersetzungen, Korrekturlesen, Behördenbegleitung und Sprachgutachten. Auto-Setup beim Theme-Wechsel.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sprachendienst
Tags: business, professional, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   Der Sprachendienst – Design System
   Modern, professional, German business
   ============================================================ */

:root {
  --color-primary: #0d2944;
  --color-primary-light: #1a4570;
  --color-primary-dark: #061a2e;
  --color-accent: #c69a3c;
  --color-accent-light: #e0b657;
  --color-accent-dark: #a17e2a;
  --color-text: #1a2238;
  --color-text-muted: #5a6479;
  --color-text-light: #8b94a8;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fc;
  --color-bg-blue: #eef3f9;
  --color-border: #e3e8f0;
  --color-success: #1d9760;
  --shadow-sm: 0 1px 2px rgba(13,41,68,0.05), 0 1px 3px rgba(13,41,68,0.08);
  --shadow-md: 0 4px 6px -1px rgba(13,41,68,0.07), 0 2px 4px -2px rgba(13,41,68,0.05);
  --shadow-lg: 0 12px 30px -8px rgba(13,41,68,0.15), 0 4px 12px -4px rgba(13,41,68,0.08);
  --shadow-xl: 0 25px 50px -12px rgba(13,41,68,0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1180px;
  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Source Serif Pro', 'Georgia', 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--color-accent); color: white; }

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-sans); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p { margin-bottom: 1rem; color: var(--color-text-muted); }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--color-text); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--soft { background: var(--color-bg-soft); }
.section--blue { background: var(--color-bg-blue); }
.section--dark { background: var(--color-primary); color: #d5deeb; }
.section--dark h2, .section--dark h3 { color: white; }
.section--dark p { color: #b6c2d4; }

.eyebrow { display: inline-block; color: var(--color-accent-dark); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.85rem; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head--left { margin: 0 0 2.5rem; text-align: left; }
.section-head p { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}
.btn--primary { background: var(--color-accent); color: white; }
.btn--primary:hover { background: var(--color-accent-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--color-primary); color: white; }
.btn--dark:hover { background: var(--color-primary-light); color: white; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); box-shadow: none; }
.btn--outline:hover { background: var(--color-primary); color: white; }
.btn--ghost { background: rgba(255,255,255,.13); color: white; backdrop-filter: blur(10px); box-shadow: none; }
.btn--wa { background: #25d366; color: white; box-shadow: 0 4px 12px rgba(37,211,102,0.35); }
.btn--wa:hover { background: #1ebe5b; color: white; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,0.45); }
.btn--wa svg { width: 20px; height: 20px; }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: white; transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--color-primary-dark);
  color: #b6c2d4;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #d8e1ee; }
.topbar a:hover { color: var(--color-accent-light); }
.topbar-info { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-info svg { width: 14px; height: 14px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.logo { display: flex; align-items: center; gap: 0.7rem; font-weight: 800; font-size: 1.25rem; color: var(--color-primary); letter-spacing: -0.02em; }
.logo:hover { color: var(--color-accent-dark); }
.logo-mark { width: 42px; height: 42px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%); border-radius: 10px; display: grid; place-items: center; color: var(--color-accent-light); font-weight: 800; font-size: 1.3rem; box-shadow: var(--shadow-md); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text span { font-weight: 500; font-size: 0.7rem; color: var(--color-text-muted); letter-spacing: 0.02em; text-transform: uppercase; }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--color-primary); }
.nav-toggle svg { width: 24px; height: 24px; }

.nav { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.nav li, .nav .menu-item { list-style: none !important; display: inline-flex; padding: 0; margin: 0; }
.nav li::before, .nav li::marker, .nav .menu-item::before, .nav .menu-item::marker { content: none !important; display: none !important; }
.nav a { color: var(--color-text); padding: 0.5rem 0.85rem; font-weight: 500; font-size: 0.95rem; border-radius: var(--radius-sm); transition: all var(--transition); }
.nav a:hover, .nav a.active { color: var(--color-primary); background: var(--color-bg-blue); }
.nav .btn { margin-left: 0.6rem; padding: 0.6rem 1.1rem; font-size: 0.92rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: white;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(198,154,60,0.15) 0%, transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(26,69,112,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; right: -10%; top: 5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(198,154,60,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--color-accent-light); }
.hero-lead { font-size: 1.2rem; color: #d3dceb; margin-bottom: 2rem; max-width: 540px; line-height: 1.6; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 540px; }
.hero-stat { padding: 0; border-left: 2px solid var(--color-accent); padding-left: 1rem; }
.hero-stat strong { display: block; font-size: 1.8rem; color: white; font-weight: 700; line-height: 1.1; margin-bottom: 0.15rem; }
.hero-stat span { font-size: 0.85rem; color: #b6c2d4; }

/* Hero Quick Quote Form */
.hero-card {
  background: white; color: var(--color-text);
  padding: 2rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, var(--color-accent-light), transparent 50%);
  border-radius: var(--radius-lg);
  z-index: -1; opacity: 0.6;
}
.hero-card h3 { font-size: 1.35rem; margin-bottom: 0.3rem; color: var(--color-primary); }
.hero-card .form-sub { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1.3rem; }

.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--color-primary); margin-bottom: 0.35rem; }
.form-group label .req { color: #c0392b; }
.form-control {
  width: 100%; padding: 0.7rem 0.95rem;
  font: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white; color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(198,154,60,0.15); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.83rem; color: var(--color-text-muted); margin: 0.5rem 0 1rem; line-height: 1.5; }
.form-check input { margin-top: 3px; accent-color: var(--color-accent); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: white; border-bottom: 1px solid var(--color-border); padding: 1.6rem 0; }
.trust-list { display: flex; gap: 2rem; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.65rem; color: var(--color-text-muted); font-size: 0.94rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--color-success); flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0; transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 54px; height: 54px;
  background: var(--color-bg-blue);
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--color-primary); color: var(--color-accent-light); transform: scale(1.05); }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { color: var(--color-primary); }
.service-card p { font-size: 0.95rem; }
.service-card ul { margin: 0.75rem 0 1.25rem; }
.service-card ul li { font-size: 0.88rem; padding-left: 1.2rem; position: relative; color: var(--color-text-muted); margin-bottom: 0.3rem; }
.service-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent-dark); font-weight: 700; }
.service-card .service-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; color: var(--color-accent-dark); font-size: 0.92rem;
}
.service-card .service-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ============================================================
   LANGUAGES
   ============================================================ */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.85rem;
}
.lang-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 1.1rem 0.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
}
.lang-card:hover { border-color: var(--color-accent); transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--color-primary); }
.lang-flag {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--color-bg-blue);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.lang-card span { font-weight: 600; font-size: 0.92rem; color: var(--color-primary); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-step {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--color-border);
  position: relative;
}
.process-num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-md);
}
.process-step h3 { font-size: 1.15rem; margin-top: 1rem; }
.process-step p { font-size: 0.92rem; margin: 0; }

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-visual {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-visual::before {
  content: '" '; position: absolute; top: -30px; right: 20px;
  font-size: 14rem; line-height: 1;
  color: rgba(198,154,60,0.18); font-family: serif; font-weight: 700;
}
.about-visual blockquote { font-size: 1.3rem; line-height: 1.5; font-weight: 500; color: white; position: relative; z-index: 2; margin-bottom: 1.5rem; }
.about-visual cite { font-style: normal; font-size: 0.9rem; color: var(--color-accent-light); letter-spacing: 0.05em; }
.about-list { margin: 1.5rem 0; }
.about-list li { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; }
.about-list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--color-accent-dark); margin-top: 2px; }
.about-list strong { display: block; color: var(--color-primary); font-size: 1.05rem; }
.about-list span { color: var(--color-text-muted); font-size: 0.93rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--color-accent-light); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem; font-weight: 300;
  color: var(--color-accent-dark);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.4rem 1.3rem; color: var(--color-text-muted); }
.faq-item .faq-answer p { margin-bottom: 0.5rem; font-size: 0.95rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-card-list { margin-top: 2rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: white; padding: 1.2rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.contact-card svg { width: 22px; height: 22px; color: var(--color-accent-dark); flex-shrink: 0; margin-top: 4px; }
.contact-card strong { display: block; font-weight: 700; color: var(--color-primary); margin-bottom: 0.15rem; font-size: 1rem; }
.contact-card a { color: var(--color-text); font-size: 0.95rem; font-weight: 500; }
.contact-card a:hover { color: var(--color-accent-dark); }
.contact-card span { font-size: 0.85rem; color: var(--color-text-light); display: block; margin-top: 0.15rem; }

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--color-primary-dark); color: #b6c2d4; padding: 4rem 0 2rem; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 1.2rem; letter-spacing: 0.02em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: #8b94a8; font-size: 0.92rem; max-width: 320px; margin: 1rem 0; }
.footer-brand .logo { color: white; }
.footer-brand .logo-text span { color: var(--color-accent-light); }
.footer ul li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer a { color: #b6c2d4; }
.footer a:hover { color: var(--color-accent-light); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { width: 16px; height: 16px; color: var(--color-accent); margin-top: 4px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #6b7691; }
.footer-bottom .footer-legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ============================================================
   ALERT
   ============================================================ */
.alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.92rem; display: none; }
.alert--success { background: rgba(29,151,96,0.1); color: var(--color-success); border: 1px solid rgba(29,151,96,0.25); }
.alert--error { background: rgba(192,57,43,0.1); color: #c0392b; border: 1px solid rgba(192,57,43,0.25); }
.alert.is-visible { display: block; }

/* ============================================================
   COOKIE BANNER (minimalist)
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 460px; margin-left: auto;
  background: white; color: var(--color-text);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  z-index: 1000;
  font-size: 0.9rem;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner strong { display: block; margin-bottom: 0.4rem; color: var(--color-primary); }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 1rem; }
.cookie-banner .btn-row { display: flex; gap: 0.5rem; }
.cookie-banner .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* ============================================================
   GENERIC INNER PAGE (service, ueber-uns)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(198,154,60,0.15) 0%, transparent 50%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: white; margin-bottom: 0.8rem; }
.page-hero p { color: #c8d3e3; font-size: 1.15rem; max-width: 720px; }
.breadcrumb { font-size: 0.86rem; color: #a8b3c7; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--color-accent-light); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

.content-section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.content-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; }
.content-main { max-width: 760px; }
.content-main h2 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.7rem; color: var(--color-primary); }
.content-main h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.25rem; }
.content-main p, .content-main li { color: var(--color-text); line-height: 1.75; font-size: 1.02rem; }
.content-main ul, .content-main ol { margin: 0 0 1.2rem 1.4rem; }
.content-main ul li, .content-main ol li { list-style: disc; margin-bottom: 0.35rem; padding-left: 0.2rem; }
.content-main ol li { list-style: decimal; }

.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-card {
  background: var(--color-bg-blue);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.sidebar-card.dark { background: var(--color-primary); color: white; }
.sidebar-card.dark h3 { color: white; }
.sidebar-card.dark p { color: #c8d3e3; }
.sidebar-card h3 { margin-bottom: 0.7rem; font-size: 1.15rem; }
.sidebar-card p { font-size: 0.92rem; margin-bottom: 1rem; }

.price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: white; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.94rem; }
.price-table th { background: var(--color-primary); color: white; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:nth-child(even) { background: var(--color-bg-soft); }

.callout {
  background: linear-gradient(135deg, rgba(198,154,60,0.08), rgba(198,154,60,0.02));
  border-left: 4px solid var(--color-accent);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
}
.callout p { margin: 0; color: var(--color-text); }
.callout strong { color: var(--color-primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 720px) {
  .topbar { font-size: 0.78rem; }
  .topbar-info { gap: 0.8rem; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: white;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: 0.2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all 200ms ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { width: 100%; padding: 0.8rem 0.9rem; }
  .nav .btn { margin: 0.5rem 0 0; width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-list { gap: 1rem; }
  .trust-item { font-size: 0.85rem; }
  .section { padding: 3rem 0; }
  .contact-form { padding: 1.5rem; }
}

@media (max-width: 460px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .logo-text { display: none; }
  .topbar-info span:nth-child(n+3) { display: none; }
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.is-visible { animation: fadeUp 600ms ease forwards; }

/* ============================================================
   WHATSAPP CARD + FLOATING BUTTON
   ============================================================ */
.contact-card--whatsapp {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border-color: #25d366 !important;
  text-decoration: none;
  color: var(--color-text);
  cursor: pointer;
}
.contact-card--whatsapp:hover {
  border-color: #128c7e !important;
  box-shadow: 0 6px 18px rgba(37,211,102,0.18) !important;
  transform: translateY(-2px);
  color: var(--color-text);
}
.contact-card--whatsapp svg {
  width: 28px !important;
  height: 28px !important;
  color: #25d366 !important;
  margin-top: 0 !important;
}

.wa-fab {
  position: fixed;
  bottom: 22px; right: 22px;
  background: #25d366;
  border-radius: 999px;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,.12);
  z-index: 90;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-fab:hover {
  background: #1ebe5b;
  color: white;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}
.wa-fab svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-fab-label { white-space: nowrap; }
@media (max-width: 480px) {
  .wa-fab { padding: 0.85rem; bottom: 18px; right: 18px; }
  .wa-fab-label { display: none; }
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
}
.map-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, var(--color-bg-soft), #ffffff);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.map-head h2 { font-size: 1.45rem; }
.map-head .btn { box-shadow: 0 4px 12px rgba(198,154,60,0.35); }
.map-wrap {
  position: relative;
  line-height: 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  filter: saturate(0.92) contrast(0.96);
  transition: filter var(--transition);
}
.map-wrap:hover iframe { filter: saturate(1) contrast(1); }
.map-overlay {
  position: absolute; top: 18px; left: 18px;
  z-index: 2;
  pointer-events: none;
}
.map-pill {
  display: flex; align-items: center; gap: 0.85rem;
  background: white;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-accent);
  max-width: 340px;
}
.map-pill svg {
  width: 26px; height: 26px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}
.map-pill strong { color: var(--color-primary); font-size: 1rem; }
.map-pill small { color: var(--color-text-muted); font-size: 0.85rem; }

@media (max-width: 720px) {
  .map-head { padding: 1.2rem; flex-direction: column; align-items: flex-start; }
  .map-head .btn { width: 100%; justify-content: center; }
  .map-overlay { top: auto; bottom: 12px; left: 12px; right: 12px; }
  .map-pill { max-width: 100%; padding: 0.7rem 0.9rem; }
}

/* ============================================================
   FILE UPLOAD
   ============================================================ */
.file-upload { position: relative; }
.file-upload-input {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.file-upload-label {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.file-upload-label:hover, .file-upload-input:focus + .file-upload-label {
  border-color: var(--color-accent);
  background: rgba(198,154,60,0.05);
  color: var(--color-primary);
}
.file-upload-label svg {
  color: var(--color-accent-dark);
  flex-shrink: 0;
}
.file-upload-list { margin-top: 0.6rem; }
.file-upload-list .file-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.7rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--color-text);
}
.file-upload-list .file-item .file-name {
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-upload-list .file-item .file-size {
  color: var(--color-text-light); font-size: 0.8rem;
}
.file-upload-list .file-item .file-remove {
  background: none; border: 0; color: var(--color-text-light);
  cursor: pointer; padding: 2px 6px; font-size: 1.05rem; line-height: 1;
}
.file-upload-list .file-item .file-remove:hover { color: #c0392b; }

/* ============================================================
   WIZARD (PWA) — page-anfrage.php
   ============================================================ */
.wizard-app { background: linear-gradient(180deg, var(--color-bg-soft) 0%, #ffffff 100%); min-height: calc(100vh - 200px); padding: 1.5rem 1rem 3rem; }
.wizard-container { max-width: 560px; margin: 0 auto; }
.wizard-head { text-align: center; margin-bottom: 1.5rem; }
.wizard-head h1 { font-size: 1.7rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.wizard-head p { color: var(--color-text-muted); font-size: 0.95rem; margin: 0; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.quick-btn { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.9rem 0.4rem; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); text-decoration: none; transition: all var(--transition); font-size: 0.85rem; font-weight: 600; }
.quick-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quick-btn--call { color: var(--color-primary); }
.quick-btn--call svg { color: var(--color-primary); }
.quick-btn--wa { color: #128c7e; }
.quick-btn--wa svg { color: #25d366; }
.quick-btn--mail { color: var(--color-accent-dark); }
.quick-btn--mail svg { color: var(--color-accent-dark); }

.wizard-progress { background: white; padding: 0.8rem 1rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); margin-bottom: 1rem; position: relative; }
.wizard-progress-bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light)); border-radius: var(--radius-md); width: 25%; transition: width 300ms ease; opacity: 0.2; }
.wizard-progress-text { position: relative; z-index: 2; text-align: center; font-weight: 600; color: var(--color-primary); font-size: 0.92rem; }

.wizard-form { background: white; border-radius: var(--radius-lg); border: 1px solid var(--color-border); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-md); }
.wiz-step { display: none; }
.wiz-step.is-active { display: block; animation: fadeUp 250ms ease; }
.wiz-step h2 { font-size: 1.35rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.wiz-hint { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 1rem; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; padding: 1.1rem 0.7rem; min-height: 130px; background: var(--color-bg-soft); border: 2px solid var(--color-border); border-radius: var(--radius-md); text-align: center; transition: all var(--transition); }
.choice:hover .choice-card { border-color: var(--color-accent); transform: translateY(-2px); }
.choice input:checked + .choice-card { background: rgba(198,154,60,0.08); border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(198,154,60,0.18); }
.choice-icon { font-size: 1.9rem; line-height: 1; }
.choice-card strong { color: var(--color-primary); font-size: 0.95rem; }
.choice-card small { color: var(--color-text-light); font-size: 0.78rem; }

.form-control--lg { padding: 0.95rem 1rem; font-size: 1.02rem; }

.wiz-upload { display: block; margin: 1rem 0; }
.wiz-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.wiz-upload-label { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1.1rem; border: 2px dashed var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-soft); color: var(--color-text-muted); cursor: pointer; font-weight: 500; transition: all var(--transition); }
.wiz-upload:hover .wiz-upload-label { border-color: var(--color-accent); color: var(--color-primary); background: rgba(198,154,60,0.05); }

.wiz-nav { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.wiz-nav .btn { flex: 1; }
#wiz-next, #wiz-submit { background: var(--color-accent) !important; }
#wiz-prev { background: white; }

.wiz-bottom { text-align: center; margin-top: 1.2rem; color: var(--color-text-muted); font-size: 0.92rem; }
.wiz-bottom a { color: var(--color-primary); font-weight: 600; }

/* PWA install prompt */
.pwa-install-banner { position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 480px; margin-left: auto; background: white; padding: 1.1rem 1.2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-xl); border-left: 4px solid var(--color-accent); z-index: 200; display: none; gap: 0.8rem; align-items: center; }
.pwa-install-banner.is-visible { display: flex; animation: fadeUp 400ms ease; }
.pwa-install-banner svg { color: var(--color-accent-dark); flex-shrink: 0; }
.pwa-install-banner .pwa-text { flex: 1; }
.pwa-install-banner strong { display: block; color: var(--color-primary); font-size: 0.95rem; }
.pwa-install-banner small { color: var(--color-text-muted); font-size: 0.82rem; }
.pwa-install-banner button { padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem; }
.pwa-install-banner .pwa-install { background: var(--color-accent); color: white; }
.pwa-install-banner .pwa-dismiss { background: transparent; color: var(--color-text-light); }

/* When opened in standalone mode (installed PWA), hide site chrome */
@media (display-mode: standalone) {
  .topbar, .footer, .cookie-banner, .wa-fab { display: none !important; }
  .header { box-shadow: none; }
  .wizard-app { min-height: 100vh; }
}

/* Hide the floating WhatsApp on print */
/* Print */
@media print {
  .header, .topbar, .footer, .cookie-banner, .hero-actions, .wa-fab { display: none; }
  .section { padding: 1rem 0; }
}
