body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}
/* =========================================================
   IT-Service Ahrtal – FINAL STRUCTURED CSS
   ========================================================= */


/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */

:root {
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-border: rgba(0, 0, 0, 0.08);

  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-8: 2rem;
  --space-10: 2.5rem;

  --radius-sm: 0.5rem;
  --font-base: system-ui, sans-serif;

  --logo-h-desktop: 70px;
  --logo-h-tablet: 60px;
  --logo-h-mobile: 50px;
}


/* =========================================================
   2. BASE
   ========================================================= */

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

body {
  margin: 0;
  background: var(--color-bg);
  font-family: var(--font-base);
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}


/* =========================================================
   Überschriften zentrieren
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}


/* =========================================================
   LINKS (Body & Footer)
   ========================================================= */

.site-main a,
.site-footer a {
  font-weight: normal;
  text-decoration: underline !important;
  color: inherit;
}

.site-main a:hover,
.site-footer a:hover {
  text-decoration: underline !important;
  opacity: 0.8;
}


/* =========================================================
   3. HEADER
   ========================================================= */

/*.site-header {
  position: sticky;
  top: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 5000;
  overflow: visible;
}*/

.site-header {
  position: sticky;
  top: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  z-index: 99999;
}


.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
  margin: 0 auto;
}

.brand-logo {
  height: var(--logo-h-desktop);
  width: auto;
  display: block;
}

.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }

@media (max-width: 992px) {
  .brand-logo { height: var(--logo-h-tablet); }
}

@media (max-width: 576px) {
  .brand-logo { height: var(--logo-h-mobile); }
}


/* =========================================================
   4. NAVIGATION (Desktop)
   ========================================================= */

.header-nav {
  border-top: 1px solid var(--color-border);
  overflow: visible;
}

.header-nav .mod_navigation {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-left: 40px;
  padding-right: 40px;
}

.header-nav .mod_navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav .mod_navigation > ul.level_1 {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  padding: var(--space-2) 0;
}

.header-nav .mod_navigation a,
.header-nav .mod_navigation strong {
  text-decoration: none;
  color: var(--color-text);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease;
}

/* Aktiver Menüpunkt nicht fett */
.header-nav .mod_navigation strong {
  font-weight: normal;
}

.header-nav .mod_navigation > ul.level_1 > li.active > a,
.header-nav .mod_navigation > ul.level_1 > li.active > strong {
  font-weight: normal;
}

.header-nav .mod_navigation a:hover {
  background: rgba(0,0,0,0.04);
}



/* =========================================================
   4a. NAV UNDERLINE (Hauptnavigation)
   - Active: dauerhaft unterstrichen
   - Hover: eingefadet unterstrichen (wie bisher)
   - Level 1 + Level 2
   ========================================================= */

.header-nav .mod_navigation > ul.level_1 > li > a,
.header-nav .mod_navigation > ul.level_1 > li > strong,
.header-nav .mod_navigation ul.level_2 > li > a,
.header-nav .mod_navigation ul.level_2 > li > strong {
  position: relative;
}

/* Pseudo-Underline Basis (standardmäßig "zu") */
.header-nav .mod_navigation > ul.level_1 > li > a::before,
.header-nav .mod_navigation > ul.level_1 > li > strong::before,
.header-nav .mod_navigation ul.level_2 > li > a::before,
.header-nav .mod_navigation ul.level_2 > li > strong::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;              /* ggf. -2px oder 0 */
  height: 2px;
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  pointer-events: none;
}

/* Hover: eingefadet (nur Desktop mit Maus) */
@media (hover: hover) and (pointer: fine) {
  .header-nav .mod_navigation > ul.level_1 > li > a::before,
  .header-nav .mod_navigation > ul.level_1 > li > strong::before,
  .header-nav .mod_navigation ul.level_2 > li > a::before,
  .header-nav .mod_navigation ul.level_2 > li > strong::before {
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .header-nav .mod_navigation > ul.level_1 > li > a:hover::before,
  .header-nav .mod_navigation ul.level_2 > li > a:hover::before {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Active + Trail: dauerhaft sichtbar (Contao active ist oft <strong>) */
.header-nav .mod_navigation li.active > a::before,
.header-nav .mod_navigation li.active > strong::before,
.header-nav .mod_navigation li.trail > a::before,
.header-nav .mod_navigation li.trail > strong::before,
.header-nav .mod_navigation a.active::before,
.header-nav .mod_navigation strong.active::before {
  transform: scaleX(1);
  opacity: 1;
}
/* =========================================================
   Active-Menüpunkt dauerhaft unterstreichen (nur Hauptnav)
   ========================================================= */

.header-nav .mod_navigation > ul.level_1 > li.active > a,
.header-nav .mod_navigation > ul.level_1 > li.active > strong,
.header-nav .mod_navigation > ul.level_1 > li.trail > a,
.header-nav .mod_navigation > ul.level_1 > li.trail > strong {
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 2px;
}

/* Pfeil bei Submenus */

.mod_navigation li.submenu > a::after,
.mod_navigation li.submenu > strong::after {
  content: " ▾";
  font-size: 0.9em;
  opacity: 0.8;
}


/* =========================================================
   5. DESKTOP DROPDOWN (über Body) + Fade-In
   ========================================================= */

@media (hover: hover) and (pointer: fine) {

  .site-header,
  .header-top,
  .header-nav,
  .header-nav .mod_navigation,
  #main-nav,
  #header,
  #header .inside,
  #wrapper,
  #container,
  .inside {
    overflow: visible !important;
  }

  .site-header,
  #main-nav,
  #header {
    position: relative;
    z-index: 99999;
  }

  .mod_navigation li.submenu {
    position: relative;
  }

  /* Level 2 */
  .mod_navigation li.submenu > ul.level_2 {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 60px;
    z-index: 100000;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    margin: 0;

    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    visibility: hidden;

    transition:
      opacity 210ms ease,
      transform 210ms ease,
      visibility 0s linear 160ms;
  }

  .mod_navigation li.submenu:hover > ul.level_2 {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;

    transition:
      opacity 210ms ease,
      transform 210ms ease,
      visibility 0s linear 0s;
  }

  .mod_navigation ul.level_2 li {
    white-space: nowrap;
  }

  /* Level 3 */
  .mod_navigation ul.level_2 li.submenu {
    position: relative;
  }

  .mod_navigation ul.level_2 li.submenu > ul.level_3 {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    z-index: 100001;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    margin: 0;

    opacity: 0;
    transform: translateX(6px);
    pointer-events: none;
    visibility: hidden;

    transition:
      opacity 210ms ease,
      transform 210ms ease,
      visibility 0s linear 160ms;
  }

  .mod_navigation ul.level_2 li.submenu:hover > ul.level_3 {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;

    transition:
      opacity 160ms ease,
      transform 160ms ease,
      visibility 0s linear 0s;
  }

  @media (prefers-reduced-motion: reduce) {
    .mod_navigation li.submenu > ul.level_2,
    .mod_navigation ul.level_2 li.submenu > ul.level_3 {
      transition: none;
      transform: none;
    }
  }
}

/* =========================================================
   5b  Desktop: Navigation immer oben fixiert
   ========================================================= */

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
  }

  body {
    padding-top: 140px;
  }
}


/* =========================================================
   6. BURGER + MOBILE NAV
   ========================================================= */

.nav-toggle-checkbox {
  position: absolute;
  left: -9999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
}

.nav-toggle::before { top: 14px; }
.nav-toggle::after  { bottom: 14px; }

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transform: translate(-50%, -50%);
}


/* ================= MOBILE ================= */

@media (max-width: 1024px), (hover: none), (pointer: coarse) {

  .nav-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-nav {
    display: none;
  }

  #nav-toggle:checked ~ .header-nav,
  .nav-toggle-checkbox:checked ~ .header-nav {
    display: block;
  }

  .header-nav .mod_navigation > ul.level_1 {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-2) 0;
  }

  .header-nav .mod_navigation > ul.level_1 > li {
    width: 100%;
  }

  .header-nav .mod_navigation a,
  .header-nav .mod_navigation strong {
    display: block;
    width: 100%;
  }

  .mod_navigation li.submenu > ul.level_2 {
    display: none;
    padding-left: 1rem;
  }

  .mod_navigation li.submenu.submenu-open > ul.level_2 {
    display: block;
  }

  .mod_navigation li.submenu.submenu-open > a::after,
  .mod_navigation li.submenu.submenu-open > strong::after {
    content: " ▴";
  }
}

/* =========================
 6 Startseitenbereiche
========================= */


/* =========================
 6a  Hero Section
========================= */

.hero-section{
  padding: 90px 20px 70px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-inner{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content{
  text-align: left;
}

.hero-badge{
  display: table;
  margin: 0 auto 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 600;
}


.hero-content h1{
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 2.2rem);
  line-height: 1.1;
  color: #0f172a;
}

.hero-content h1 span{
  color: #2563eb;
}

.hero-content p{
  max-width: 680px;
  margin: 0 0 28px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-actions .btn{
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.hero-actions .btn-primary{
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.hero-actions .btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.35);
}

.hero-actions .btn-secondary{
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero-actions .btn-secondary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.hero-features{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #334155;
  font-size: 0.98rem;
  font-weight: 500;
}

.hero-card{
  display: flex;
  justify-content: center;
}

.hero-card-box{
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  border-radius: 20px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.6);
}

.hero-card-box h2{
  margin: 0 0 18px;
  font-size: 1.5rem;
  color: #0f172a;
}

.hero-card-box ul{
  margin: 0;
  padding-left: 20px;
  color: #475569;
  line-height: 1.8;
}

/* =========================
   Darkmode
========================= */

body.dark .hero-section,
html.dark .hero-section,
[data-theme="dark"] .hero-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .hero-badge,
html.dark .hero-badge,
[data-theme="dark"] .hero-badge{
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .hero-content h1,
html.dark .hero-content h1,
[data-theme="dark"] .hero-content h1{
  color: #ffffff;
}

body.dark .hero-content p,
html.dark .hero-content p,
[data-theme="dark"] .hero-content p{
  color: #cbd5e1;
}

body.dark .hero-features,
html.dark .hero-features,
[data-theme="dark"] .hero-features{
  color: #e2e8f0;
}

body.dark .hero-actions .btn-secondary,
html.dark .hero-actions .btn-secondary,
[data-theme="dark"] .hero-actions .btn-secondary{
  background: #111827;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.08);
}

body.dark .hero-actions .btn-secondary:hover,
html.dark .hero-actions .btn-secondary:hover,
[data-theme="dark"] .hero-actions .btn-secondary:hover{
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

body.dark .hero-card-box,
html.dark .hero-card-box,
[data-theme="dark"] .hero-card-box{
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 55px rgba(0,0,0,0.45);
}

body.dark .hero-card-box h2,
html.dark .hero-card-box h2,
[data-theme="dark"] .hero-card-box h2{
  color: #ffffff;
}

body.dark .hero-card-box ul,
html.dark .hero-card-box ul,
[data-theme="dark"] .hero-card-box ul{
  color: #cbd5e1;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px){

  .hero-section{
    padding: 70px 20px 50px;
  }

  .hero-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content{
    text-align: center;
  }

  .hero-content p{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions{
    justify-content: center;
  }

  .hero-features{
    justify-content: center;
  }

  .hero-card-box{
    max-width: 100%;
  }
}


/* =========================
 6b  Kernkompetenzen
========================= */

.competence-section{
  padding:80px 20px;
  text-align:center;
 /* background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);*/
}

.competence-title{
  font-size:2rem;
  margin-bottom:50px;
  color:#111827;
}

/* Grid */

.competence-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  width: 100%;
  max-width: 100%;
  margin:auto;
}

/* =========================
   Kacheln
========================= */

.competence-tile{
  background:#ffffff;
  padding:35px 30px;
  border-radius:14px;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
  transition:all .3s ease;
  cursor:default;
}

.competence-tile h3{
  margin-top:10px;
  color:#111827;
}

.competence-tile p{
  color:#4b5563;
}

/* Hover Effekt */

.competence-tile:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

/* Icon */

.tile-icon{
  font-size:40px;
  margin-bottom:15px;
}

/* =========================
   DARKMODE
========================= */

body.dark .competence-section,
html.dark .competence-section,
[data-theme="dark"] .competence-section{
   background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .competence-title,
html.dark .competence-title,
[data-theme="dark"] .competence-title{
  color:#ffffff;
}

body.dark .competence-tile,
html.dark .competence-tile,
[data-theme="dark"] .competence-tile{
  background:#111827;
  color:#e5e7eb;
  box-shadow:0 10px 30px rgba(0,0,0,0.6);
}

body.dark .competence-tile h3,
html.dark .competence-tile h3,
[data-theme="dark"] .competence-tile h3{
  color:#ffffff;
}

body.dark .competence-tile p,
html.dark .competence-tile p,
[data-theme="dark"] .competence-tile p{
  color:#cbd5e1;
}

body.dark .competence-tile:hover,
html.dark .competence-tile:hover,
[data-theme="dark"] .competence-tile:hover{
  box-shadow:0 25px 60px rgba(0,0,0,0.8);
}

/* =========================
   Responsive
========================= */

@media (max-width:900px){

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

}

/* =========================
 6c  Faire Preise / Vertrauen
========================= */

.trust-section{
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.trust-inner{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.trust-intro{
  width: 100%;
  max-width: 100%;
  margin: 0 auto 50px;
  text-align: center;
}

.trust-badge{
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-intro h2{
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: #0f172a;
}

.trust-intro p{
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
}

.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card{
  padding: 30px 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
}

.trust-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.trust-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.10);
  color: #2563eb;
  font-size: 1.8rem;
  font-weight: 700;
}

.trust-card h3{
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #0f172a;
}

.trust-card p{
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

/* =========================
   Darkmode
========================= */

body.dark .trust-section,
html.dark .trust-section,
[data-theme="dark"] .trust-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .trust-badge,
html.dark .trust-badge,
[data-theme="dark"] .trust-badge{
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .trust-intro h2,
html.dark .trust-intro h2,
[data-theme="dark"] .trust-intro h2{
  color: #ffffff;
}

body.dark .trust-intro p,
html.dark .trust-intro p,
[data-theme="dark"] .trust-intro p{
  color: #cbd5e1;
}

body.dark .trust-card,
html.dark .trust-card,
[data-theme="dark"] .trust-card{
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

body.dark .trust-card:hover,
html.dark .trust-card:hover,
[data-theme="dark"] .trust-card:hover{
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

body.dark .trust-icon,
html.dark .trust-icon,
[data-theme="dark"] .trust-icon{
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .trust-card h3,
html.dark .trust-card h3,
[data-theme="dark"] .trust-card h3{
  color: #ffffff;
}

body.dark .trust-card p,
html.dark .trust-card p,
[data-theme="dark"] .trust-card p{
  color: #cbd5e1;
}



/* =========================
   Responsive
========================= */

@media (max-width: 1000px){
  .trust-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  .trust-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
 6d  Ablauf / So arbeiten wir
========================= */

.process-section{
  padding: 80px 20px;
}

.process-inner{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.process-intro{
  width: 100%;
  max-width: 100%;
  margin: 0 auto 50px;
  text-align: center;
}

.process-badge{
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
  font-size: 0.95rem;
  font-weight: 600;
}

.process-intro h2{
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: #0f172a;
}

.process-intro p{
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
}

.process-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.process-step{
  position: relative;
  padding: 32px 26px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
}

.process-step:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.process-number{
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  font-size: 1.6rem;
  font-weight: 700;
}

.process-step h3{
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #0f172a;
}

.process-step p{
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

/* =========================
   Darkmode
========================= */

body.dark .process-section,
html.dark .process-section,
[data-theme="dark"] .process-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .process-badge,
html.dark .process-badge,
[data-theme="dark"] .process-badge{
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .process-intro h2,
html.dark .process-intro h2,
[data-theme="dark"] .process-intro h2{
  color: #ffffff;
}

body.dark .process-intro p,
html.dark .process-intro p,
[data-theme="dark"] .process-intro p{
  color: #cbd5e1;
}

body.dark .process-step,
html.dark .process-step,
[data-theme="dark"] .process-step{
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

body.dark .process-step:hover,
html.dark .process-step:hover,
[data-theme="dark"] .process-step:hover{
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

body.dark .process-number,
html.dark .process-number,
[data-theme="dark"] .process-number{
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .process-step h3,
html.dark .process-step h3,
[data-theme="dark"] .process-step h3{
  color: #ffffff;
}

body.dark .process-step p,
html.dark .process-step p,
[data-theme="dark"] .process-step p{
  color: #cbd5e1;
}


/* =========================
   6e  Zielgruppe / Einsatzgebiet – Darkmode
   ========================= */

body.dark .region-section,
html.dark .region-section,
[data-theme="dark"] .region-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .region-badge,
html.dark .region-badge,
[data-theme="dark"] .region-badge{
  background: rgba(96,165,250,0.14);
  color: #93c5fd;
}

body.dark .region-intro h2,
html.dark .region-intro h2,
[data-theme="dark"] .region-intro h2{
  color:#ffffff;
}

body.dark .region-intro p,
html.dark .region-intro p,
[data-theme="dark"] .region-intro p{
  color:#cbd5e1;
}

body.dark .region-card,
html.dark .region-card,
[data-theme="dark"] .region-card{
  background:#111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
}

body.dark .region-card:hover,
html.dark .region-card:hover,
[data-theme="dark"] .region-card:hover{
  box-shadow:0 20px 50px rgba(0,0,0,0.65);
}

body.dark .region-card h3,
html.dark .region-card h3,
[data-theme="dark"] .region-card h3{
  color:#ffffff;
}

body.dark .region-card p,
html.dark .region-card p,
[data-theme="dark"] .region-card p{
  color:#cbd5e1;
}

/* =========================
   Responsive
========================= */

@media (max-width: 950px){
  .process-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
 6e  Zielgruppe / Einsatzgebiet
========================= */

.region-section{
  padding:80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.region-inner{
  max-width:1200px;
  margin:auto;
}

.region-intro{
  width: 100%;
  max-width: 100%;
  margin:0 auto 50px;
  text-align:center;
}

.region-badge{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(37,99,235,0.10);
  color:#1d4ed8;
  font-size:0.95rem;
  font-weight:600;
}

.region-intro h2{
  margin:0 0 18px;
  font-size:clamp(1.8rem,4vw,2.6rem);
  color:#0f172a;
}

.region-intro p{
  margin:0;
  color:#475569;
  line-height:1.7;
}

.region-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.region-card{
  padding:32px 26px;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  text-align:center;
  transition:all .3s ease;
}

.region-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(0,0,0,0.1);
}

.region-icon{
  font-size:34px;
  margin-bottom:16px;
}

.region-card h3{
  margin:0 0 10px;
  color:#0f172a;
}

.region-card p{
  margin:0;
  color:#475569;
  line-height:1.6;
}

/* =========================
   Darkmode
========================= */

body.dark .region-badge,
html.dark .region-badge,
[data-theme="dark"] .region-badge{
  background:rgba(96,165,250,0.14);
  color:#93c5fd;
}

body.dark .region-intro h2,
html.dark .region-intro h2,
[data-theme="dark"] .region-intro h2{
  color:#ffffff;
}

body.dark .region-intro p,
html.dark .region-intro p,
[data-theme="dark"] .region-intro p{
  color:#cbd5e1;
}

body.dark .region-card,
html.dark .region-card,
[data-theme="dark"] .region-card{
  background:#111827;
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
}

body.dark .region-card:hover,
html.dark .region-card:hover,
[data-theme="dark"] .region-card:hover{
  box-shadow:0 20px 50px rgba(0,0,0,0.65);
}

body.dark .region-card h3,
html.dark .region-card h3,
[data-theme="dark"] .region-card h3{
  color:#ffffff;
}

body.dark .region-card p,
html.dark .region-card p,
[data-theme="dark"] .region-card p{
  color:#cbd5e1;
}

/* =========================
   Responsive
========================= */

@media (max-width:900px){

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

}

/* =========================
 6f  Regionale Nähe
========================= */

.local-section{
  padding:80px 20px;
  /*background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);*/
}

.local-inner{
  max-width:1200px;
  margin:0 auto;
}

.local-intro{
  width: 100%;
  max-width: 100%;
  margin:0 auto 50px;
  text-align:center;
}

.local-badge{
  display:inline-block;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(37,99,235,0.10);
  color:#1d4ed8;
  font-size:0.95rem;
  font-weight:600;
}

.local-intro h2{
  margin:0 0 18px;
  font-size:clamp(1.8rem,4vw,2.8rem);
  line-height:1.2;
  color:#0f172a;
}

.local-intro p{
  margin:0;
  color:#475569;
  line-height:1.7;
  font-size:1.05rem;
}

.local-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-bottom:36px;
}

.local-card{
  padding:32px 26px;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  text-align:center;
  transition:transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.local-card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(0,0,0,0.10);
}

.local-icon{
  font-size:36px;
  margin-bottom:16px;
}

.local-card h3{
  margin:0 0 12px;
  color:#0f172a;
  font-size:1.2rem;
}

.local-card p{
  margin:0;
  color:#475569;
  line-height:1.65;
}

.local-areas{
  width: 100%;
  max-width: 100%;
  margin:0 auto;
  padding:28px 24px;
  border-radius:18px;
  background:rgba(37,99,235,0.06);
  text-align:center;
}

.local-areas h3{
  margin:0 0 12px;
  color:#0f172a;
  font-size:1.3rem;
}

.local-areas p{
  margin:0;
  color:#334155;
  line-height:1.7;
}

/* =========================
   Darkmode
========================= */

body.dark .local-section,
html.dark .local-section,
[data-theme="dark"] .local-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .local-badge,
html.dark .local-badge,
[data-theme="dark"] .local-badge{
  background:rgba(96,165,250,0.14);
  color:#93c5fd;
}

body.dark .local-intro h2,
html.dark .local-intro h2,
[data-theme="dark"] .local-intro h2{
  color:#ffffff;
}

body.dark .local-intro p,
html.dark .local-intro p,
[data-theme="dark"] .local-intro p{
  color:#cbd5e1;
}

body.dark .local-card,
html.dark .local-card,
[data-theme="dark"] .local-card{
  background:#111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.45);
}

body.dark .local-card:hover,
html.dark .local-card:hover,
[data-theme="dark"] .local-card:hover{
  box-shadow:0 20px 50px rgba(0,0,0,0.65);
}

body.dark .local-card h3,
html.dark .local-card h3,
[data-theme="dark"] .local-card h3{
  color:#ffffff;
}

body.dark .local-card p,
html.dark .local-card p,
[data-theme="dark"] .local-card p{
  color:#cbd5e1;
}

body.dark .local-areas,
html.dark .local-areas,
[data-theme="dark"] .local-areas{
  background:#111827;
  border: 1px solid rgba(255,255,255,0.08);
}

body.dark .local-areas h3,
html.dark .local-areas h3,
[data-theme="dark"] .local-areas h3{
  color:#ffffff;
}

body.dark .local-areas p,
html.dark .local-areas p,
[data-theme="dark"] .local-areas p{
  color:#cbd5e1;
}

/* =========================
   Responsive
========================= */

@media (max-width:900px){
  .local-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   6g  Call to Action / Kontakt
   ========================= */

.cta-section{
  padding: 90px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.cta-inner{
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 30px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37,99,235,0.25);
}

.cta-badge{
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-inner h2{
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: #ffffff;
}

.cta-inner p{
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  font-size: 1.08rem;
}

.cta-actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.cta-actions .btn{
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}

.cta-actions .btn-primary{
  background: #ffffff;
  color: #1d4ed8;
  border: 1px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.cta-actions .btn-primary:hover,
.cta-actions .btn-primary:focus{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.cta-actions .btn-secondary{
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}

.cta-actions .btn-secondary:hover,
.cta-actions .btn-secondary:focus{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
}

.cta-note{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}

/* =========================
   Darkmode
   ========================= */

body.dark .cta-section,
html.dark .cta-section,
[data-theme="dark"] .cta-section{
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .cta-inner,
html.dark .cta-inner,
[data-theme="dark"] .cta-inner{
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

body.dark .cta-badge,
html.dark .cta-badge,
[data-theme="dark"] .cta-badge{
  background: rgba(96,165,250,0.14);
  color: #93c5fd;
}

body.dark .cta-inner h2,
html.dark .cta-inner h2,
[data-theme="dark"] .cta-inner h2{
  color: #ffffff;
}

body.dark .cta-inner p,
html.dark .cta-inner p,
[data-theme="dark"] .cta-inner p{
  color: #cbd5e1;
}

body.dark .cta-actions .btn-primary,
html.dark .cta-actions .btn-primary,
[data-theme="dark"] .cta-actions .btn-primary{
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

body.dark .cta-actions .btn-secondary,
html.dark .cta-actions .btn-secondary,
[data-theme="dark"] .cta-actions .btn-secondary{
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
}

body.dark .cta-actions .btn-secondary:hover,
html.dark .cta-actions .btn-secondary:hover,
[data-theme="dark"] .cta-actions .btn-secondary:hover,
body.dark .cta-actions .btn-secondary:focus,
html.dark .cta-actions .btn-secondary:focus,
[data-theme="dark"] .cta-actions .btn-secondary:focus{
  background: rgba(255,255,255,0.06);
  color: #ffffff;
}

body.dark .cta-note,
html.dark .cta-note,
[data-theme="dark"] .cta-note{
  color: #cbd5e1;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 700px){

  .cta-section{
    padding: 70px 20px;
  }

  .cta-inner{
    padding: 40px 22px;
  }

  .cta-note{
    flex-direction: column;
    gap: 10px;
  }

}

/* =========================================================
   7. MAIN
   ========================================================= */

.site-main {
  padding: var(--space-10) 0;
}


/* =========================================================
   7b. CONTACT TABLE
   ========================================================= */

.contact-table {
  border-collapse: collapse;
  width: 100%;
}

.contact-table td {
  vertical-align: top;
  padding: 10px 20px;
}

.contact-table__left,
.contact-table__middle,
.contact-table__right {
  width: 33.33%;
}

.contact-table__left,
.contact-table__middle {
  border-right: 2px solid var(--color-text);
}

.contact-table__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-table__links li {
  margin-bottom: 8px;
}

.contact-table a {
  text-decoration: underline;
  font-weight: normal;
  color: inherit;
}


/* =========================================================
   7c. CONTACT TABLE MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .contact-table tr {
    display: flex;
    flex-direction: column;
  }

  .contact-table td {
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid var(--color-border);
  }

  .contact-table td:last-child {
    border-bottom: none;
  }
}

/* =========================================================
   8.SEITE  LEISTUNGEN
   ========================================================= */
/* =========================
   8a  Hero Leistungen
   ========================= */

.services-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 90px;
  background: transparent;
  color: var(--color-text);
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.services-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.services-hero__content {
  max-width: 760px;
}

.services-hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-align: left;
}

.services-hero__text {
  margin: 0 0 32px;
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.services-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.services-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.services-hero .btn:hover,
.services-hero .btn:focus {
  transform: translateY(-2px);
}

.services-hero .btn--primary {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.22);
}

.services-hero .btn--primary:hover,
.services-hero .btn--primary:focus {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.30);
}

.services-hero .btn--secondary {
  background: rgba(255,255,255,0.7);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.services-hero .btn--secondary:hover,
.services-hero .btn--secondary:focus {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,0,0,0.14);
  color: var(--color-text);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.services-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-hero__badges span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.10);
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--color-text);
}

/* Darkmode */
body.dark .services-hero,
html.dark .services-hero,
[data-theme="dark"] .services-hero {
  background:
    linear-gradient(135deg, rgba(10, 25, 47, 0.92), rgba(20, 45, 78, 0.88)),
    url("/files/theme/img/hero-leistungen.jpg") center/cover no-repeat;
  color: #ffffff;
}

body.dark .services-hero::before,
html.dark .services-hero::before,
[data-theme="dark"] .services-hero::before {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.10), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.06), transparent 30%);
}

body.dark .services-hero__eyebrow,
html.dark .services-hero__eyebrow,
[data-theme="dark"] .services-hero__eyebrow {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

body.dark .services-hero__title,
html.dark .services-hero__title,
[data-theme="dark"] .services-hero__title {
  color: #ffffff;
}

body.dark .services-hero__text,
html.dark .services-hero__text,
[data-theme="dark"] .services-hero__text {
  color: rgba(255,255,255,0.92);
}

body.dark .services-hero .btn--primary,
html.dark .services-hero .btn--primary,
[data-theme="dark"] .services-hero .btn--primary {
  background: #ffffff;
  color: #0f2747;
  border: 1px solid #ffffff;
  box-shadow: none;
}

body.dark .services-hero .btn--primary:hover,
html.dark .services-hero .btn--primary:hover,
[data-theme="dark"] .services-hero .btn--primary:hover,
body.dark .services-hero .btn--primary:focus,
html.dark .services-hero .btn--primary:focus,
[data-theme="dark"] .services-hero .btn--primary:focus {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.75);
  box-shadow: none;
}

body.dark .services-hero .btn--secondary,
html.dark .services-hero .btn--secondary,
[data-theme="dark"] .services-hero .btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: none;
}

body.dark .services-hero .btn--secondary:hover,
html.dark .services-hero .btn--secondary:hover,
[data-theme="dark"] .services-hero .btn--secondary:hover,
body.dark .services-hero .btn--secondary:focus,
html.dark .services-hero .btn--secondary:focus,
[data-theme="dark"] .services-hero .btn--secondary:focus {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
  box-shadow: none;
}

body.dark .services-hero__badges span,
html.dark .services-hero__badges span,
[data-theme="dark"] .services-hero__badges span {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.94);
}

/* Tablet */
@media (max-width: 991px) {
  .services-hero {
    padding: 90px 20px 75px;
  }

  .services-hero__text {
    font-size: 1.02rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .services-hero {
    padding: 78px 16px 60px;
  }

  .services-hero__title {
    margin-bottom: 18px;
    text-align: center;
  }

  .services-hero__text {
    margin-bottom: 26px;
    font-size: 1rem;
    line-height: 1.65;
    text-align: center;
  }

  .services-hero__eyebrow {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  .services-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-hero .btn {
    width: 100%;
  }

  .services-hero__badges {
    gap: 8px;
  }

  .services-hero__badges span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* =========================
   8b Service-Kacheln
   ========================= */

.services-grid-section {
  padding: 40px 20px 90px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-grid-section__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.services-grid-section__intro {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.services-grid-section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-grid-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--color-text);
}

.services-grid-section__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.10);
  font-size: 1.5rem;
  line-height: 1;
}

.service-card__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-text);
}

.service-card__text {
  margin: 0 0 22px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.service-card__link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.service-card__link:hover,
.service-card__link:focus {
  color: #1d4ed8;
}

.service-card__link:hover::after,
.service-card__link:focus::after {
  transform: translateX(3px);
}

/* Darkmode */
body.dark .services-grid-section,
html.dark .services-grid-section,
[data-theme="dark"] .services-grid-section {
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .services-grid-section__eyebrow,
html.dark .services-grid-section__eyebrow,
[data-theme="dark"] .services-grid-section__eyebrow {
  border: 1px solid rgba(96,165,250,0.16);
  background: rgba(96,165,250,0.14);
  color: #93c5fd;
}

body.dark .services-grid-section__title,
html.dark .services-grid-section__title,
[data-theme="dark"] .services-grid-section__title {
  color: #ffffff;
}

body.dark .services-grid-section__text,
html.dark .services-grid-section__text,
[data-theme="dark"] .services-grid-section__text {
  color: #cbd5e1;
}

body.dark .service-card,
html.dark .service-card,
[data-theme="dark"] .service-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

body.dark .service-card:hover,
html.dark .service-card:hover,
[data-theme="dark"] .service-card:hover,
body.dark .service-card:focus-within,
html.dark .service-card:focus-within,
[data-theme="dark"] .service-card:focus-within {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

body.dark .service-card__icon,
html.dark .service-card__icon,
[data-theme="dark"] .service-card__icon {
  background: rgba(96,165,250,0.14);
  color: #93c5fd;
}

body.dark .service-card__title,
html.dark .service-card__title,
[data-theme="dark"] .service-card__title {
  color: #ffffff;
}

body.dark .service-card__text,
html.dark .service-card__text,
[data-theme="dark"] .service-card__text {
  color: #cbd5e1;
}

body.dark .service-card__link,
html.dark .service-card__link,
[data-theme="dark"] .service-card__link {
  color: #93c5fd;
}

body.dark .service-card__link:hover,
html.dark .service-card__link:hover,
[data-theme="dark"] .service-card__link:hover,
body.dark .service-card__link:focus,
html.dark .service-card__link:focus,
[data-theme="dark"] .service-card__link:focus {
  color: #bfdbfe;
}


/* Tablet */
@media (max-width: 991px) {
  .services-grid {
    gap: 20px;
  }

  .service-card {
    padding: 24px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .services-grid-section {
    padding: 30px 16px 70px;
  }

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

  .services-grid-section__intro {
    margin-bottom: 30px;
  }

  .service-card {
    padding: 22px;
    border-radius: 18px;
  }

  .service-card__title {
    font-size: 1.15rem;
  }

  .service-card__text {
    margin-bottom: 18px;
  }
}

/* =========================
   8c So arbeiten wir
   ========================= */

.services-process-section {
  padding: 10px 20px 90px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.services-process-section__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.services-process-section__intro {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.services-process-section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-process-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--color-text);
}

.services-process-section__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.services-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.services-process-card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.services-process-card:hover,
.services-process-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}

.services-process-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.services-process-card__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--color-text);
}

.services-process-card__text {
  margin: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* Darkmode */
/* Darkmode */
body.dark .services-process-section,
html.dark .services-process-section,
[data-theme="dark"] .services-process-section {
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .services-process-section__eyebrow,
html.dark .services-process-section__eyebrow,
[data-theme="dark"] .services-process-section__eyebrow {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

body.dark .services-process-section__title,
html.dark .services-process-section__title,
[data-theme="dark"] .services-process-section__title {
  color: #ffffff;
}

body.dark .services-process-section__text,
html.dark .services-process-section__text,
[data-theme="dark"] .services-process-section__text {
  color: rgba(255,255,255,0.78);
}

body.dark .services-process-card,
html.dark .services-process-card,
[data-theme="dark"] .services-process-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

body.dark .services-process-card:hover,
html.dark .services-process-card:hover,
[data-theme="dark"] .services-process-card:hover,
body.dark .services-process-card:focus-within,
html.dark .services-process-card:focus-within,
[data-theme="dark"] .services-process-card:focus-within {
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}

body.dark .services-process-card__title,
html.dark .services-process-card__title,
[data-theme="dark"] .services-process-card__title {
  color: #ffffff;
}

body.dark .services-process-card__text,
html.dark .services-process-card__text,
[data-theme="dark"] .services-process-card__text {
  color: rgba(255,255,255,0.78);
}

/* Tablet */
@media (max-width: 991px) {
  .services-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 767px) {
  .services-process-section {
    padding: 0 16px 70px;
  }

  .services-process-section__intro {
    margin-bottom: 30px;
  }

  .services-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-process-card {
    padding: 22px;
    border-radius: 18px;
  }
}

/* =========================
   8c Typische Anliegen
   ========================= */

.help-topics-section {
  padding: 10px 20px 90px;
}

.help-topics-section__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.help-topics-section__intro {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.help-topics-section__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-topics-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--color-text);
}

.help-topics-section__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.help-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.help-topic-card {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.help-topic-card:hover,
.help-topic-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}

.help-topic-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--color-text);
}

.help-topic-card__text {
  margin: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* Darkmode */
body.dark .help-topics-section__eyebrow,
html.dark .help-topics-section__eyebrow,
[data-theme="dark"] .help-topics-section__eyebrow {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

body.dark .help-topics-section__title,
html.dark .help-topics-section__title,
[data-theme="dark"] .help-topics-section__title {
  color: #ffffff;
}

body.dark .help-topics-section__text,
html.dark .help-topics-section__text,
[data-theme="dark"] .help-topics-section__text {
  color: rgba(255,255,255,0.78);
}

body.dark .help-topic-card,
html.dark .help-topic-card,
[data-theme="dark"] .help-topic-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: none;
}

body.dark .help-topic-card:hover,
html.dark .help-topic-card:hover,
[data-theme="dark"] .help-topic-card:hover,
body.dark .help-topic-card:focus-within,
html.dark .help-topic-card:focus-within,
[data-theme="dark"] .help-topic-card:focus-within {
  border-color: rgba(255,255,255,0.18);
  box-shadow: none;
}

body.dark .help-topic-card__title,
html.dark .help-topic-card__title,
[data-theme="dark"] .help-topic-card__title {
  color: #ffffff;
}

body.dark .help-topic-card__text,
html.dark .help-topic-card__text,
[data-theme="dark"] .help-topic-card__text {
  color: rgba(255,255,255,0.78);
}

/* Tablet */
@media (max-width: 991px) {
  .help-topics-grid {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .help-topics-section {
    padding: 0 16px 70px;
  }

  .help-topics-section__intro {
    margin-bottom: 30px;
  }

  .help-topics-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .help-topic-card {
    padding: 22px;
    border-radius: 18px;
  }
}



/* =========================================================
   FULL WIDTH LAYOUT OVERRIDES
   ========================================================= */

.hero-inner,
.trust-inner,
.process-inner,
.region-inner,
.local-inner,
.cta-inner,
.services-hero__inner,
.services-grid-section__inner,
.services-process-section__inner,
.help-topics-section__inner,
.about-story__inner {
  width: 100%;
  max-width: 100%;
}

.competence-grid,
.trust-grid,
.process-grid,
.region-grid,
.local-grid,
.services-grid,
.services-process-grid,
.help-topics-grid,
.about-story__grid,
.about-values__grid,
.about-founders__grid {
  width: 100%;
}

@media (min-width: 1025px) {
  .hero-section,
  .competence-section,
  .trust-section,
  .process-section,
  .region-section,
  .local-section,
  .cta-section,
  .services-hero,
  .services-grid-section,
  .services-process-section,
  .help-topics-section,
  .about-story {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .container,
  .header-nav .mod_navigation,
  .hero-section,
  .competence-section,
  .trust-section,
  .process-section,
  .region-section,
  .local-section,
  .cta-section,
  .services-hero,
  .services-grid-section,
  .services-process-section,
  .help-topics-section,
  .about-story {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-nav .mod_navigation {
    max-width: 100%;
  }
}

/* =========================================================
   9. FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-8) 0;
  display: flex;
  background: var(--color-surface);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer small {
  display: block;
  width: 100%;
}


/* =========================================================
   10. DARKMODE
   ========================================================= */

[data-theme="dark"] {
  --color-bg: #0b1220;
  --color-surface: #0f172a;
  --color-text: #e5e7eb;
  --color-border: rgba(229, 231, 235, 0.14);
}

/* Burger: Submenüs standardmäßig zu */
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .header-nav .mod_navigation ul.level_2 {
    display: none;
  }

  /* Wenn geöffnet: Submenü anzeigen */
  .header-nav .mod_navigation li.is-open > ul.level_2 {
    display: block;
  }
}


/* ========================================================
   11. KONTAKTFORMULAR
   ======================================================== */


/* Optional: nur auf Kontaktseite anwenden, falls du eine Body-Klasse hast.
   Wenn du keine hast, einfach diese Zeile ignorieren.
   body.kontakt ... { } 
*/

form .formbody{
  /* Form "Card" */
  max-width: 720px;
  margin: 40px auto;
  padding: 28px 26px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);

  /* Text immer weiß */
  color: #fff;
}

/* Widgets vertikal sauber stapeln */
form .formbody .widget{
  margin: 0 0 18px 0;
}

/* Labels: immer weiß */
form .formbody label{
  display: inline-block;
  margin: 0 0 8px 0;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

/* Pflichtsternchen: immer weiß */
form .formbody .mandatory > .mandatory{
  color: #fff;
  margin-left: 2px;
  font-weight: 700;
}

/* Inputs/Textarea: volle Breite, modern */
form .formbody input[type="text"],
form .formbody input[type="email"],
form .formbody input[type="tel"],
form .formbody input[type="url"],
form .formbody input[type="password"],
form .formbody textarea,
form .formbody select{
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.95);
  outline: none;
  font: inherit;

  /* Text in Feldern immer weiß */
  color: #fff;

  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

/* Textarea etwas „wertiger“ */
form .formbody textarea{
  min-height: 140px;
  resize: vertical;
}

/* Focus-Zustand */
form .formbody input:focus,
form .formbody textarea:focus,
form .formbody select:focus{
  border-color: rgba(0,0,0,.45);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}

/* Placeholder dezenter (weiß, transparent) */
form .formbody ::placeholder{
  color: rgba(255,255,255,0.7);
  opacity: 1; /* überschreibt Browser-Defaults */
}

/* Hilfetext: immer weiß */
form .formbody .help{
  margin: 8px 0 0 0;
  font-size: 0.95rem;
  opacity: .8;
  line-height: 1.35;
  color: #fff;
}

/* Submit-Widget Abstand */
form .formbody .widget-submit{
  margin-top: 22px;
}

/* Button */
form .formbody button.submit,
form .formbody input[type="submit"]{
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  background: #111;
  color: #fff;
  transition: transform .08s ease, opacity .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

form .formbody button.submit:hover,
form .formbody input[type="submit"]:hover{
  opacity: .92;
}

form .formbody button.submit:active,
form .formbody input[type="submit"]:active{
  transform: translateY(1px);
}

/* =========================
   ALTCHA optisch einbetten
   ========================= */

form .formbody .widget-altcha{
  margin-top: 6px;
}

/* Der altcha-widget rendert innen .altcha */
form .formbody .widget-altcha .altcha{
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255,255,255,.85);

  /* ALTCHA Text immer weiß */
  color: #fff;
}

/* ALTCHA: alles innerhalb ebenfalls weiß (sicherer) */
form .formbody .widget-altcha,
form .formbody .widget-altcha *{
  color: #fff;
}

/* Footer/Branding etwas dezenter */
form .formbody .widget-altcha .altcha-footer{
  opacity: .8;
  font-size: .9rem;
}

/* Checkbox + Label etwas schöner ausrichten */
form .formbody .widget-altcha .altcha-main{
  align-items: center;
  gap: 10px;
}

/* =========================
   Dark Mode
   ========================= */

@media (prefers-color-scheme: dark){
  form .formbody{
    border-color: rgba(255,255,255,.14);
    background: rgba(20,20,20,.65);
  }

  /* Labels bleiben weiß (egal ob dark) */
  form .formbody label{
    color: #fff;
  }

  form .formbody input[type="text"],
  form .formbody input[type="email"],
  form .formbody input[type="tel"],
  form .formbody input[type="url"],
  form .formbody input[type="password"],
  form .formbody textarea,
  form .formbody select{
    border-color: rgba(255,255,255,.18);
    background: rgba(10,10,10,.55);
    color: #fff; /* bleibt weiß */
  }

  form .formbody input:focus,
  form .formbody textarea:focus,
  form .formbody select:focus{
    border-color: rgba(255,255,255,.35);
    box-shadow: 0 0 0 4px rgba(255,255,255,.10);
  }

  form .formbody .help{
    color: #fff; /* bleibt weiß */
    opacity: .8;
  }

  form .formbody button.submit,
  form .formbody input[type="submit"]{
    background: #fff;
    color: #111;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
  }

  form .formbody .widget-altcha .altcha{
    border-color: rgba(255,255,255,.18);
    background: rgba(10,10,10,.40);
    color: #fff;
  }
}

/* =========================
   Mobile Feinschliff
   ========================= */
@media (max-width: 600px){
  form .formbody{
    margin: 22px 12px;
    padding: 20px 16px;
    border-radius: 14px;
  }
}


/* =========================
   Über uns / Philosophie
   ========================= */

.about-story {
  padding: 90px 20px;
  background: transparent;
}

.about-story__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.about-story__hero {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 56px;
  text-align: center;
}

.about-story__badge {
  align-self: center;
}

.about-story__badge,
.about-values__badge,
.about-founders__badge,
.about-development__badge {
  display: block;
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 14px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-story__title {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--color-text);
}

.about-story__lead {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.about-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 70px;
}

.about-story__card,
.about-development__card {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.about-story__card h2,
.about-values__intro h2,
.about-founders__intro h2,
.about-development__card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  line-height: 1.2;
  color: var(--color-text);
}

.about-story__card p,
.about-founders__intro p,
.about-development__card p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.about-story__card p:last-child,
.about-development__card p:last-child {
  margin-bottom: 0;
}

/* Werte */

.about-values {
  margin-bottom: 70px;
}

.about-values__intro,
.about-founders__intro {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-value-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}

.about-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.10);
  font-size: 1.5rem;
  line-height: 1;
}

.about-value-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--color-text);
}

.about-value-card p {
  margin: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* Gründer */

.about-founders {
  margin-bottom: 70px;
}

.about-founders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 40px rgba(0,0,0,0.09);
}

.founder-card__image-wrap {
  flex: 0 0 170px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
}

.founder-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.founder-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-card__content h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  color: var(--color-text);
}

.founder-card__content p {
  margin: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* Entwicklung */

.about-development {
  margin-bottom: 70px;
}

/* Abschluss */

.about-closing {
  padding: 38px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37,99,235,0.22);
}

.about-closing__text {
  margin: 0 0 22px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.5;
  font-weight: 700;
  color: #ffffff;
}

.about-closing__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.about-btn:hover,
.about-btn:focus {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.about-closing__actions a.about-btn {
  text-decoration: none !important;
}

.about-btn--primary,
.about-btn--primary:link,
.about-btn--primary:visited,
.about-btn--primary:hover,
.about-btn--primary:focus,
.about-btn--primary:active {
  background: #ffffff;
  color: #1d4ed8 !important;
  border: 1px solid #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.about-btn--secondary,
.about-btn--secondary:link,
.about-btn--secondary:visited,
.about-btn--secondary:active {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.35);
}

.about-btn--secondary:hover,
.about-btn--secondary:focus {
  background: rgba(255,255,255,0.10);
  color: #ffffff !important;
}

/* =========================
   Darkmode
   ========================= */

body.dark .about-story,
html.dark .about-story,
[data-theme="dark"] .about-story {
  background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

body.dark .about-story__badge,
html.dark .about-story__badge,
[data-theme="dark"] .about-story__badge,
body.dark .about-values__badge,
html.dark .about-values__badge,
[data-theme="dark"] .about-values__badge,
body.dark .about-founders__badge,
html.dark .about-founders__badge,
[data-theme="dark"] .about-founders__badge,
body.dark .about-development__badge,
html.dark .about-development__badge,
[data-theme="dark"] .about-development__badge {
  border: 1px solid rgba(96,165,250,0.16);
  background: rgba(96,165,250,0.14);
  color: #93c5fd;
}

body.dark .about-story__title,
html.dark .about-story__title,
[data-theme="dark"] .about-story__title,
body.dark .about-story__card h2,
html.dark .about-story__card h2,
[data-theme="dark"] .about-story__card h2,
body.dark .about-values__intro h2,
html.dark .about-values__intro h2,
[data-theme="dark"] .about-values__intro h2,
body.dark .about-founders__intro h2,
html.dark .about-founders__intro h2,
[data-theme="dark"] .about-founders__intro h2,
body.dark .about-development__card h2,
html.dark .about-development__card h2,
[data-theme="dark"] .about-development__card h2,
body.dark .about-value-card h3,
html.dark .about-value-card h3,
[data-theme="dark"] .about-value-card h3,
body.dark .founder-card__content h3,
html.dark .founder-card__content h3,
[data-theme="dark"] .founder-card__content h3 {
  color: #ffffff;
}

body.dark .about-story__lead,
html.dark .about-story__lead,
[data-theme="dark"] .about-story__lead,
body.dark .about-story__card p,
html.dark .about-story__card p,
[data-theme="dark"] .about-story__card p,
body.dark .about-values__intro p,
html.dark .about-values__intro p,
[data-theme="dark"] .about-values__intro p,
body.dark .about-value-card p,
html.dark .about-value-card p,
[data-theme="dark"] .about-value-card p,
body.dark .about-founders__intro p,
html.dark .about-founders__intro p,
[data-theme="dark"] .about-founders__intro p,
body.dark .founder-card__content p,
html.dark .founder-card__content p,
[data-theme="dark"] .founder-card__content p,
body.dark .about-development__card p,
html.dark .about-development__card p,
[data-theme="dark"] .about-development__card p {
  color: #cbd5e1;
}

body.dark .about-story__card,
html.dark .about-story__card,
[data-theme="dark"] .about-story__card,
body.dark .about-value-card,
html.dark .about-value-card,
[data-theme="dark"] .about-value-card,
body.dark .founder-card,
html.dark .founder-card,
[data-theme="dark"] .founder-card,
body.dark .about-development__card,
html.dark .about-development__card,
[data-theme="dark"] .about-development__card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

body.dark .about-value-card:hover,
html.dark .about-value-card:hover,
[data-theme="dark"] .about-value-card:hover,
body.dark .founder-card:hover,
html.dark .founder-card:hover,
[data-theme="dark"] .founder-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.65);
}

body.dark .about-value-card__icon,
html.dark .about-value-card__icon,
[data-theme="dark"] .about-value-card__icon {
  background: rgba(96,165,250,0.14);
}

body.dark .about-closing,
html.dark .about-closing,
[data-theme="dark"] .about-closing {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}

body.dark .about-btn--primary,
html.dark .about-btn--primary,
[data-theme="dark"] .about-btn--primary,
body.dark .about-btn--primary:link,
html.dark .about-btn--primary:link,
[data-theme="dark"] .about-btn--primary:link,
body.dark .about-btn--primary:visited,
html.dark .about-btn--primary:visited,
[data-theme="dark"] .about-btn--primary:visited,
body.dark .about-btn--primary:hover,
html.dark .about-btn--primary:hover,
[data-theme="dark"] .about-btn--primary:hover,
body.dark .about-btn--primary:focus,
html.dark .about-btn--primary:focus,
[data-theme="dark"] .about-btn--primary:focus {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  box-shadow: none;
}

body.dark .about-btn--secondary,
html.dark .about-btn--secondary,
[data-theme="dark"] .about-btn--secondary,
body.dark .about-btn--secondary:link,
html.dark .about-btn--secondary:link,
[data-theme="dark"] .about-btn--secondary:link,
body.dark .about-btn--secondary:visited,
html.dark .about-btn--secondary:visited,
[data-theme="dark"] .about-btn--secondary:visited,
body.dark .about-btn--secondary:hover,
html.dark .about-btn--secondary:hover,
[data-theme="dark"] .about-btn--secondary:hover,
body.dark .about-btn--secondary:focus,
html.dark .about-btn--secondary:focus,
[data-theme="dark"] .about-btn--secondary:focus {
  color: #ffffff !important;
}
/* =========================
   Responsive
   ========================= */

@media (max-width: 991px) {
  .about-story__grid,
  .about-founders__grid {
    grid-template-columns: 1fr;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    flex-direction: column;
  }

  .founder-card__image-wrap {
    flex: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .founder-card__image {
    min-height: auto;
    aspect-ratio: 14 / 15;
  }
}

@media (max-width: 767px) {
  .about-story {
    padding: 70px 16px;
  }

  .about-story__hero {
    margin-bottom: 42px;
  }

  .about-story__grid,
  .about-values,
  .about-founders,
  .about-development {
    margin-bottom: 56px;
  }

  .about-story__card,
  .about-value-card,
  .founder-card,
  .about-development__card {
    padding: 22px;
    border-radius: 18px;
  }

  .about-closing {
    padding: 30px 20px;
    border-radius: 18px;
  }

  .about-closing__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-btn {
    width: 100%;
  }
}




/* =========================================================
   MOBILE HEADER FIX v2
   Theme-Button und Burger nebeneinander ohne Überlappung
   ========================================================= */

.logo-light{display:block;}
.logo-dark{display:none;}

body.dark .logo-light,
html.dark .logo-light,
[data-theme="dark"] .logo-light{
  display:none !important;
}

body.dark .logo-dark,
html.dark .logo-dark,
[data-theme="dark"] .logo-dark{
  display:block !important;
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {

  .header-top{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px 120px 12px 16px; /* rechts Platz für beide Buttons */
  }

  .brand{
    position: relative;
    z-index: 1;
    margin: 0 auto;
  }

  /* Beide Buttons rechts nebeneinander */
  .theme-toggle,
  .darkmode-toggle,
  .theme-switch{
    position: absolute !important;
    top: 50%;
    right: 64px !important;
    left: auto !important;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 30;
  }

  .nav-toggle{
    display: block;
    position: absolute !important;
    top: 50%;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 31;
  }
}

@media (max-width: 576px) {

  .header-top{
    min-height: 64px;
    padding: 10px 108px 10px 12px;
  }

  .theme-toggle,
  .darkmode-toggle,
  .theme-switch{
    right: 56px !important;
  }

  .nav-toggle{
    right: 8px !important;
  }
}

/* =======================
   WhatsApp Button
   ======================= */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.whatsapp-float img{
  width: 60px;
  height: auto;
  display: block;
}

