/* ==========================================================================
   FL Telecom & Energy GbR — Stylesheet
   ========================================================================== */

:root {
  --color-primary: #264c9c;
  --color-secondary: #484848;
  --color-text: #333333;
  --color-text-body: #666666;
  --color-text-muted: #6e6e6e;
  --color-bg: #ffffff;
  --color-bg-light: #f9fafb;
  --color-bg-card: #e8eef4;
  --color-border: #e0e0e0;
  --color-accent: #1a3a6e;
  --font-main: 'Roboto', Arial, sans-serif;
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-btn-hover: 0 8px 20px rgba(38, 76, 156, 0.3);
  --radius: 10px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  color: var(--color-secondary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; margin-bottom: 16px; color: var(--color-primary); }
h3 { font-size: 24px; font-weight: 600; }
p { font-size: 16px; }
small { font-size: 14px; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-secondary);
  font-size: 18px;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  min-height: 44px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-btn-hover);
  transform: scale(1.05);
  color: #ffffff;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.top-bar {
  background: var(--color-secondary);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
}

.top-bar a {
  color: #ffffff;
  padding: 12px 0;      /* Tippfläche 44 px, die Leiste selbst bleibt flach */
  margin: -12px 0;
}

.top-bar a:hover {
  color: #d6e0f5;
}

.top-bar i {
  margin-right: 6px;
  color: #a9c0ea;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 24px;
  transition: padding var(--transition);
}

.nav-logo img {
  height: 84px;
  transition: height var(--transition);
}

.site-header.scrolled .nav-wrapper {
  padding: 3px 24px;
}

.site-header.scrolled .nav-logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 16px;
  padding: 9px 0;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
  text-decoration: none;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* ==========================================================================
   Services-Dropdown
   ========================================================================== */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  font-family: inherit;
  color: var(--color-secondary);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-trigger i {
  font-size: 12px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--color-primary);
}

.nav-dropdown:hover .nav-dropdown-trigger i,
.nav-dropdown:focus-within .nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.nav-dropdown.active .nav-dropdown-trigger {
  color: var(--color-primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-secondary);
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  background: var(--color-bg-light);
  color: var(--color-primary);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  box-sizing: content-box;   /* Symbol 30 x 22 px, Tippfläche 44 x 44 px */
  padding: 11px 7px;
  margin-right: -7px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(38, 76, 156, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(38, 76, 156, 0.07) 0%, transparent 50%),
    #ffffff;
  color: var(--color-text-body);
  padding: 56px 0 80px;
  text-align: center;
}

.hero-compact {
  padding: 32px 0;
}

.hero.hero-compact h1 {
  margin-bottom: 0;
}

.contact-intro-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.trust-section {
  padding-top: 56px;
}

.hero h1 {
  color: var(--color-secondary);
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero .btn {
  margin-top: 32px;
}

.home-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.home-hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   Service Tiles
   ========================================================================== */

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

.card {
  display: block;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid #e2e8f5;
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
  padding: 32px 24px;
  transition: all var(--transition);
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: var(--color-primary);
  color: inherit;
  text-decoration: none;
}

.card .icon {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.card .icon svg {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 auto;
}

.card .icon i {
  font-size: 40px;
}

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

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

/* ==========================================================================
   Customer Logo Carousel
   ========================================================================== */

.section-divider {
  border-top: 1px solid #b9c0cc;
}

.carousel-section.section-divider,
.bg-light.section-divider {
  background: #eef1f5;
}

.carousel-section.section-divider.section-plain {
  background: #ffffff;
}

.carousel-section {
  background: var(--color-bg-light);
  padding: 40px 0;
  text-align: center;
}

.carousel-section .section-title {
  margin-bottom: 32px;
  padding: 0 24px;
}

.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-window {
  overflow: hidden;
  position: relative;
  margin-bottom: 32px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.carousel-window:last-child {
  margin-bottom: 0;
}

.carousel-row {
  display: flex;
  width: max-content;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.carousel-row.dragging {
  cursor: grabbing;
}

.carousel-logo {
  flex: 0 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
}

.carousel-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition), box-shadow var(--transition);
}

.carousel-logo img:hover {
  transform: scale(1.15);
  box-shadow: var(--shadow-strong);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial {
  background: #ffffff;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px;
  transition: all var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-strong);
  transform: scale(1.02);
}

.testimonial p.quote {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 16px;
}

.testimonial .quote::before {
  content: '\201C';
  color: var(--color-primary);
  font-size: 28px;
  margin-right: 4px;
}

.testimonial .author {
  font-weight: 600;
  color: var(--color-secondary);
  min-width: 0;
}

.testimonial .author span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: #6e6e6e;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.testimonial-logo {
  max-height: 36px;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: var(--color-bg-light);
  border-top: 4px solid var(--color-primary);
  color: var(--color-text-body);
  text-align: center;
  padding: 72px 0;
}

.cta-section h2 {
  color: var(--color-primary);
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: var(--color-text-body);
  font-size: 18px;
}

.btn-pulse {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 18px;
  padding: 16px 40px;
}

.btn-pulse:hover {
  background: var(--color-accent);
  color: #ffffff;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.team-photos-section {
  padding-top: 32px;
}

.team-section {
  display: grid;
  grid-template-columns: 260px 260px;
  justify-content: center;
  gap: 16px;
  align-items: start;
}

.team-member {
  width: 100%;
  background: #e5e6ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}

.team-member:hover {
  box-shadow: var(--shadow-strong);
}

.team-bio {
  padding: 20px 24px 28px;
  text-align: left;
}

.team-bio h2 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-bio .role {
  font-weight: 400;
  color: #5f646c;
  display: block;
}

.team-bio .role-line2 {
  color: #000000;
  font-weight: 500;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  flex: 0 0 110px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 20px;
}

.timeline-text {
  color: var(--color-secondary);
}

/* Über uns: Unser Anspruch */
.promise { display: grid; grid-template-columns: 1.1fr .9fr; max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid #e2e8f5; border-radius: 16px; box-shadow: var(--shadow-strong); overflow: hidden; }
.promise-statement { position: relative; padding: 56px 44px 40px; }
.promise-statement::before { content: '\201C'; position: absolute; top: 2px; left: 26px; font-size: 170px; line-height: 1; font-weight: 700; color: #e8eef4; pointer-events: none; }
.promise-statement > * { position: relative; }
.promise-quote { font-size: 34px; font-weight: 700; line-height: 1.2; color: var(--color-secondary); margin-bottom: 18px; text-wrap: balance; }
.promise-quote span { display: block; color: var(--color-primary); }
.promise-text { font-size: 17px; line-height: 1.6; color: var(--color-text-body); margin-bottom: 28px; }
.promise-sign { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #e2e8f5; }
.promise-sign strong { display: block; font-size: 16px; color: var(--color-secondary); }
.promise-sign span { display: block; font-size: 14px; color: var(--color-text-muted); }
.promise-points { list-style: none; margin: 0; padding: 40px 36px; background: #f2f5fa; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.promise-points li { display: flex; align-items: flex-start; gap: 16px; }
.promise-points i { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: var(--shadow-soft); }
.promise-points strong { display: block; font-size: 17px; color: var(--color-secondary); margin-bottom: 2px; text-wrap: balance; }
.promise-points span { display: block; font-size: 15px; line-height: 1.5; color: var(--color-text-body); }

@media (max-width: 860px) {
  .promise { grid-template-columns: minmax(0, 1fr); }
  .promise-statement { padding: 44px 24px 28px; }
  .promise-statement::before { font-size: 130px; left: 14px; }
  .promise-quote { font-size: 27px; }
  .promise-points { padding: 28px 24px; gap: 20px; }
  .promise-sign .cta-avatar { width: 52px; height: 52px; }
}

/* ==========================================================================
   Inner Pages — Kennen Sie das / Was wir tun / Ablauf / Mehrwert
   ========================================================================== */

.problem-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 32px;
}

.problem-box-left {
  text-align: left;
}

.problem-box p {
  color: var(--color-secondary);
  margin-bottom: 16px;
  font-size: 17px;
}

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

.tile-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.step-list {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.step-list li:last-child {
  margin-bottom: 0;
}

.step-list li i {
  color: var(--color-primary);
  font-size: 13px;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  margin-bottom: 32px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: all var(--transition);
}

.value-item:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.value-item .icon {
  font-size: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-intro-section .value-item .icon {
  font-size: 28px;
  color: var(--color-primary);
}

.value-item h3 {
  margin-bottom: 8px;
}

.value-item p {
  color: var(--color-secondary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f5;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: var(--shadow-strong);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--color-bg-light);
}

.faq-question .chevron {
  transition: transform var(--transition);
  color: var(--color-primary);
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-secondary);
}

/* ==========================================================================
   Energie-Seite — Problem-first Komponenten
   ========================================================================== */

.pro-con-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.pro-con-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.45;
  color: var(--color-secondary);
}

.pro-con-list li:last-child {
  margin-bottom: 0;
}

.pro-con-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 14px;
}

.pro-con-list li.con i {
  color: #c0392b;
}

.pro-con-list li.pro i {
  color: #1a8f4c;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.compare-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px;
}

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

.compare-note {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--color-secondary);
  font-size: 16px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pain-card {
  border-radius: var(--radius);
  padding: 28px 32px;
}

.pain-card.pain-negative {
  background: #fdecea;
  border: 1px solid #f3c9c4;
}

.pain-card.pain-positive {
  background: #e9f7ef;
  border: 1px solid #bfe6cf;
}

.pain-card h3 {
  margin-bottom: 16px;
}

.pain-card.pain-negative h3 {
  color: #c0392b;
}

.pain-card.pain-positive h3 {
  color: #1a8f4c;
}

.pain-card p {
  color: var(--color-secondary);
  margin: 0 0 6px;
  line-height: 1.5;
}

.pain-card .pain-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
  color: inherit;
}

/* ==========================================================================
   Contact / Footer
   ========================================================================== */

footer.site-footer {
  background: var(--color-secondary);
  padding: 20px 0;
  border-top: 1px solid #5c5c5c;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
}

.footer-copyright {
  color: #a9c0ea;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
}

.footer-links .sep {
  color: #ffffff;
}

.footer-links a:hover {
  color: #d6e0f5;
}

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

@media (max-width: 1200px) {
  .service-grid,
  .tile-grid-3,
  .tile-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px;
    gap: 28px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right var(--transition);
    z-index: 1050;
  }

  .nav-menu.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-trigger i {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 0 16px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .dropdown-menu a {
    padding: 9px 0;
  }

  .top-bar .container {
    justify-content: flex-start;
    gap: 16px;
    font-size: 13px;
  }

  .team-section {
    grid-template-columns: 260px;
  }

  .carousel-logo {
    height: 62px;
    margin: 0 31px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  section {
    padding: 56px 0;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .home-hero {
    min-height: 0;
    padding: 56px 0;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .service-grid,
  .tile-grid-3,
  .tile-grid-5,
  .process-steps,
  .value-grid,
  .testimonial-grid,
  .compare-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-row {
    justify-content: center;
    text-align: center;
  }

  .carousel-logo {
    height: 46px;
    margin: 0 23px;
  }

  .carousel-window {
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   ERGÄNZUNGEN Überarbeitung September 2026
   Alles unterhalb dieser Zeile ist neu. Die Regeln oben sind unverändert,
   spätere Regeln überschreiben frühere mit gleicher Spezifität.
   ========================================================================== */

/* --- Kopfzeile --- */
.nav-logo img { width: auto; }                              /* width/height-Attribute nur gegen Layoutsprung, Höhe regelt das CSS */
.top-bar .container { align-items: center; }
.top-bar-note { margin-left: auto; color: #d6e0f5; }
.nav-menu a.nav-cta { background: var(--color-primary); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 600; }
.nav-menu a.nav-cta:hover, .nav-menu a.nav-cta.active { background: var(--color-accent); color: #fff; }
.nav-menu a.nav-cta::after { display: none; }
.nav-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown.open .nav-dropdown-trigger i { transform: rotate(180deg); }

/* --- Buttons --- */
.btn-secondary { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); padding: 12px 30px; }
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 28px 0 22px; }
.hero .hero-actions .btn, .contact-quickstart .hero-actions .btn { margin-top: 0; }
.hero .hero-actions { justify-content: center; }
.home-hero .hero-actions { justify-content: flex-start; }
.section-cta { text-align: center; margin-top: 36px; }

/* --- Vertrauenszeile unter dem Button --- */
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0; margin: 0; justify-content: center; }
.home-hero .hero-trust { justify-content: flex-start; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--color-secondary); }
.hero-trust i { color: #1a8f4c; }

/* --- Hero allgemein --- */
.hero-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-primary); background: #e8eef4; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 .h1-sub { display: block; font-weight: 500; font-size: .5em; color: var(--color-text-body); margin-top: 14px; line-height: 1.4; }

/* --- Hero Startseite: zwei Spalten mit Fotos --- */
.home-hero { min-height: 0; padding: 64px 0 72px; text-align: left; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.home-hero h1 { font-size: 50px; line-height: 1.15; margin: 0 0 18px; max-width: none; }
.home-hero h1 .h1-sub { font-size: .46em; }
.home-hero .hero-lead { font-size: 18px; color: var(--color-text-body); margin: 0; max-width: 620px; }
.hero-people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-people figure { margin: 0; background: #e5e6ea; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); }
.hero-people img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; display: block; }
.hero-people figcaption { padding: 12px 14px 14px; font-size: 13px; line-height: 1.35; color: var(--color-secondary); }
.hero-people figcaption strong { display: block; color: var(--color-primary); font-size: 15px; margin-bottom: 2px; }
.hero-people-note { grid-column: 1 / -1; text-align: center; font-size: 14px; color: var(--color-text-muted); margin: 2px 0 0; }

/* --- Problem-Kacheln (Kommt Ihnen das bekannt vor?) --- */
.pain-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-point { background: #fff; border-radius: var(--radius); border: 1px solid #e2e8f5; border-left: 4px solid #c0392b; box-shadow: var(--shadow-soft); padding: 24px; }
.pain-point h3 { font-size: 18px; color: var(--color-secondary); margin-bottom: 10px; line-height: 1.35; }
.pain-point p { color: var(--color-text-body); font-size: 15px; }
.pain-lead { text-align: center; max-width: 780px; margin: 36px auto 0; font-size: 18px; color: var(--color-secondary); }

/* --- Nutzen-Kacheln (Was Sie davon haben) --- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.benefit { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 24px; border: 1px solid #e2e8f5; }
.benefit .icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: #e8eef4; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.benefit h3 { font-size: 20px; color: var(--color-primary); margin-bottom: 6px; }
.benefit p { color: var(--color-secondary); }

/* --- Leistungskarten: Link-Zeile --- */
.card-link { display: inline-block; margin: 4px 0 -10px; padding: 10px 0; color: var(--color-primary); font-weight: 600; font-size: 15px; }   /* Tippfläche 44 px */
.card-link::after { content: " \2192"; }

/* --- Ablauf mit drei Schritten --- */
.process-steps.steps-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.process-step p { color: var(--color-secondary); }
.process-step h3 { margin-bottom: 10px; }

/* --- Zahlenleiste --- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat strong { display: block; font-size: 42px; line-height: 1.1; color: var(--color-primary); font-weight: 700; }
.stat span { display: block; margin-top: 6px; color: var(--color-secondary); font-size: 15px; }

/* --- Über uns: Teamkarten ohne Klapp-Effekt --- */
.team-section { grid-template-columns: repeat(2, minmax(0, 420px)); gap: 32px; }
.team-photo { aspect-ratio: 3 / 4; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.team-quote { margin: 14px 0 0; padding: 14px 16px; background: #fff; border-left: 4px solid var(--color-primary); border-radius: 8px; font-style: italic; color: var(--color-text); font-size: 15px; line-height: 1.5; }

/* --- Kontakt: Schnellstart-Box --- */
.contact-quickstart { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-strong); padding: 32px; max-width: 800px; margin: 0 auto 56px; border-top: 4px solid var(--color-primary); text-align: center; }
.contact-quickstart h2 { font-size: 28px; margin-bottom: 8px; }
.contact-quickstart > p { color: var(--color-text-body); font-size: 17px; }
.contact-quickstart .hero-actions { justify-content: center; margin-bottom: 0; }

/* --- Rechtstexte --- */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h1 { font-size: 36px; color: var(--color-primary); margin-bottom: 8px; }
.legal-content .legal-stand { color: var(--color-text-muted); font-size: 14px; margin-bottom: 32px; }
.legal-content h2 { font-size: 26px; margin: 40px 0 12px; }
.legal-content h1, .legal-content h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }   /* lange Wörter wie „Verbraucherstreitbeilegung“ */
.legal-content h3 { font-size: 19px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: var(--color-secondary); margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content a { text-decoration: underline; }

/* --- Sonstiges --- */
.testimonial-grid.single { grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }

.compare-note.small { font-size: 14px; color: var(--color-text-muted); }
.carousel-window { max-width: 100%; }                     /* Laufband nie breiter als der Bildschirm */
.testimonial-logo { height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--color-primary); border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--color-primary); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 2000; }
.skip-link:focus { left: 8px; }
.error-page { text-align: center; padding: 96px 0; }
.error-page h1 { font-size: 40px; color: var(--color-primary); margin-bottom: 16px; }
.error-page p { color: var(--color-text-body); font-size: 18px; margin-bottom: 28px; }

/* --- Fußzeile --- */
footer.site-footer { padding: 8px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid #5c5c5c; margin-bottom: 18px; }
.footer-grid p { margin-bottom: 8px; font-size: 14px; color: #d6d6d6; line-height: 1.5; }
.footer-grid a { color: #fff; }
.footer-title { color: #fff; font-weight: 600; font-size: 15px; }

/* --- Bewegung reduzieren, wenn das System es wünscht --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .timeline-item { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .testimonial:hover, .value-item:hover, .process-step:hover { transform: none; }
}

/* --- Responsiv --- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-people { max-width: 520px; }
  .pain-points { grid-template-columns: 1fr; }
  .process-steps.steps-3 { grid-template-columns: 1fr; max-width: 560px; }
  .team-section { grid-template-columns: minmax(0, 420px); }
  .top-bar-note { display: none; }
  .nav-menu a.nav-cta { margin-top: 8px; }
}
@media (max-width: 768px) {
  .nav-logo img { height: 64px; }                           /* Kopfzeile am Handy flacher */
  .home-hero { padding: 40px 0 48px; }
  .home-hero h1 { font-size: 31px; }
  .home-hero .hero-lead { font-size: 16px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat strong { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-people { gap: 12px; }
  .hero-people figcaption { font-size: 13px; }
  .contact-quickstart { padding: 24px 18px; }
}

/* ==========================================================================
   NACHTRAG nach externem Prüfbericht (23.09.2026)
   ========================================================================== */

/* Kleine Displays (320 px): Raster dürfen schmaler werden als der längste
   Inhalt, lange Firmenbezeichnungen dürfen umbrechen, Logos bleiben proportional */
.testimonial-logo { width: auto; height: auto; }
.testimonial .author span, .value-item p, .pain-point, .benefit p, .footer-grid p { overflow-wrap: anywhere; }
.testimonial-label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-primary); background: #e8eef4; padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 768px) {
  .service-grid, .tile-grid-3, .tile-grid-5, .process-steps, .value-grid, .testimonial-grid, .compare-grid,
  .pain-grid, .benefit-grid, .pain-points, .hero-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-row, .hero-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial { padding: 22px 18px; }
  .testimonial-footer { flex-wrap: wrap; }
  .testimonial-logo { max-width: 90px; }
  .hero-compact { padding: 22px 0; }
}

/* FAQ: geschlossene Antworten auch für Screenreader verborgen (hidden), Animation bleibt */
.faq-answer[hidden] { display: none; }

/* Kontakt: Hauptaktion oben, E-Mail kopierbar */
.btn-link { background: none; border: none; color: var(--color-primary); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 600; padding: 0; }
.btn-link:hover { color: var(--color-accent); }
.contact-mail-line { margin: 4px 0 0; color: var(--color-secondary); font-size: 15px; }


/* ==========================================================================
   NACHTRAG 24.09.2026: Ablauf-Schritte mit Icons statt Nummernkreisen,
   Kontaktblock mit drei Schritten und Fotos, Energie-Seite gekürzt, Fußzeile
   ========================================================================== */

/* --- Ablauf-Schritte --- */
.process-step .step-icon { width: 60px; height: 60px; border-radius: 16px; background: #e8eef4; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; }
.process-step .step-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 6px; }

/* --- Kontaktblock: drei Schritte mit Icons und Verbindungslinie --- */
.cta-section .cta-lead { max-width: 640px; margin: 0 auto 36px; font-size: 18px; }
.cta-path { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto 40px; padding: 0; }
.cta-path li { position: relative; background: #fff; border: 1px solid #e2e8f5; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 26px 22px 24px; text-align: center; }
.cta-path li + li::before { content: ''; position: absolute; left: -24px; top: 54px; width: 24px; height: 2px; background: #c9d5ec; }
.cta-path-icon { width: 56px; height: 56px; border-radius: 50%; background: #e8eef4; color: var(--color-primary); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.cta-path strong { display: block; color: var(--color-primary); font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.cta-path span { display: block; color: var(--color-secondary); font-size: 15px; line-height: 1.45; }

/* --- Kontaktblock: Fotos der Ansprechpartner neben den Buttons --- */
.cta-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; }
.cta-persons { display: flex; align-items: center; gap: 14px; text-align: left; }
.cta-avatars { display: flex; }
.cta-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--color-primary); background: #a9c4ee; box-shadow: var(--shadow-soft); flex-shrink: 0; }
.cta-avatar img { width: 140%; height: auto; max-width: none; margin: -14% 0 0 -20%; display: block; }
.cta-avatars .cta-avatar + .cta-avatar { margin-left: -14px; }
.cta-person-text strong { display: block; color: var(--color-secondary); font-size: 16px; line-height: 1.3; }
.cta-person-text span { display: block; color: var(--color-text-muted); font-size: 14px; }
.cta-section .cta-contact .hero-actions, .contact-quickstart .cta-contact .hero-actions { margin: 0; }
.contact-quickstart .cta-path { margin: 28px auto 26px; }
.contact-quickstart .cta-path li { box-shadow: none; background: var(--color-bg-light); }
.contact-quickstart .contact-mail-line { margin-top: 16px; }

/* --- Fußzeile: Überschriften in Blau --- */
.footer-grid .footer-title { color: #a9c0ea; }

/* --- Festnetz: Partner-Box (IT-Systemhaus) --- */
.partner-box { display: flex; gap: 28px; align-items: flex-start; max-width: 900px; margin: 40px auto 0; background: #fff; border: 1px solid #e2e8f5; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 28px; }
.partner-logo { flex-shrink: 0; display: block; width: 120px; height: 120px; padding: 10px; background: #fff; border: 1px solid #e2e8f5; border-radius: var(--radius); }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-primary); background: #e8eef4; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.partner-text h3 { font-size: 22px; color: var(--color-secondary); margin-bottom: 8px; }
.partner-text > p { color: var(--color-secondary); }
.partner-quote { margin: 18px 0 4px; padding: 14px 18px; background: var(--color-bg-light); border-left: 4px solid var(--color-primary); border-radius: 8px; display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.partner-quote .draft-note { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
.partner-person { grid-column: 1; grid-row: 2 / span 2; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--color-primary); background: #fff; object-fit: cover; }
.partner-quote blockquote { grid-column: 2; grid-row: 2; }
.partner-quote figcaption { grid-column: 2; grid-row: 3; }
.partner-quote figcaption strong { display: block; }
.partner-quote figcaption span { display: block; font-weight: 400; color: var(--color-text-body); }
.partner-quote blockquote p { font-style: italic; color: var(--color-text); line-height: 1.55; }
.partner-quote figcaption { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--color-secondary); }
.draft-note { display: inline-block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #7a4f00; background: #fff4e0; border: 1px solid #f1d9a6; padding: 2px 8px; border-radius: 999px; }

@media (max-width: 768px) {
  .partner-box { flex-direction: column; gap: 16px; padding: 20px 18px; }
  .partner-logo { width: 96px; height: 96px; }
  .partner-quote { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; }
  .partner-quote blockquote { grid-column: 1 / -1; }
  .partner-person { grid-row: 3; width: 52px; height: 52px; margin-top: 10px; }
  .partner-quote figcaption { align-self: center; margin-top: 10px; }
}

/* --- Energie: Strompreis-Grafik (Daten: Bundesnetzagentur | SMARD.de) --- */
.price-chart { max-width: 860px; margin: 40px auto 0; background: #fff; border: 1px solid #e2e8f5; border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 24px 24px 18px; }
.price-chart-head { margin-bottom: 22px; }
.price-chart-head strong { display: block; font-size: 19px; color: var(--color-secondary); }
.price-chart-head span { display: block; font-size: 14px; color: var(--color-text-body); margin-top: 2px; }
.pc-plot { position: relative; padding: 0 0 28px 34px; border-radius: 6px; }
.pc-plot:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(38, 76, 156, .35); }
.pc-canvas { position: relative; height: 260px; touch-action: pan-y; cursor: crosshair; }
.pc-canvas [hidden] { display: none; }
.pc-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pc-grid { stroke: #e7e9ee; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-base { stroke: #c9ced6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pc-fill { fill: rgba(38, 76, 156, .10); }
.pc-line { fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pc-y, .pc-x { position: absolute; font-size: 13px; line-height: 1; color: var(--color-text-body); font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.pc-y { left: -8px; transform: translate(-100%, 50%); }
.pc-x { top: calc(100% + 9px); transform: translateX(-50%); }
.pc-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 2px #fff; transform: translate(-50%, -50%); pointer-events: none; }
.pc-label { position: absolute; font-size: 13px; line-height: 1.3; color: var(--color-text-body); white-space: nowrap; pointer-events: none; }
.pc-label strong { display: block; font-size: 15px; color: var(--color-secondary); }
.pc-label-right { transform: translate(12px, -50%); }
.pc-label-above { transform: translate(-50%, calc(-100% - 18px)); text-align: center; }
.pc-label-end { transform: translate(-100%, calc(-100% - 14px)); text-align: right; }
.pc-cross { position: absolute; top: 0; bottom: 0; width: 1px; margin-left: -0.5px; background: #9aa3b2; pointer-events: none; }
.pc-tip { position: absolute; z-index: 2; background: #fff; border: 1px solid #e2e8f5; border-radius: 6px; box-shadow: var(--shadow-strong); padding: 6px 10px; white-space: nowrap; pointer-events: none; }
.pc-tip strong { display: block; font-size: 15px; color: var(--color-secondary); }
.pc-tip span { display: block; font-size: 13px; color: var(--color-text-body); }
.price-chart-source { margin: 14px 0 0; font-size: 13px; color: var(--color-text-body); }
.price-chart-table { margin-top: 10px; }
.price-chart-table summary { cursor: pointer; color: var(--color-primary); font-weight: 600; font-size: 14px; }
.pc-table-wrap { overflow-x: auto; margin-top: 10px; }
.price-chart-table table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 13px; font-variant-numeric: tabular-nums; }
.price-chart-table th, .price-chart-table td { padding: 5px 6px; text-align: right; border-bottom: 1px solid #eef0f4; }
.price-chart-table th { color: var(--color-secondary); font-weight: 600; }
.price-chart-table td { color: var(--color-text-body); }
.price-chart-table th:first-child { text-align: left; }

@media (max-width: 768px) {
  .price-chart { padding: 18px 14px 14px; }
  .pc-canvas { height: 220px; }
  .pc-x-odd { display: none; }
  .pc-label { font-size: 13px; }
  .pc-label strong { font-size: 14px; }
  .pc-label-above { transform: translate(-50%, calc(-100% - 26px)); }
}

@media (max-width: 768px) {
  .cta-path { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cta-path li + li::before { display: none; }
  .cta-contact { flex-direction: column; gap: 20px; }
  .cta-section .hero-actions, .contact-quickstart .hero-actions { justify-content: center; }
}

/* --- Kundenstimmen: Name und Logo führen zur Website des Kunden --- */
.testimonial .author a { color: inherit; display: inline-block; padding: 12px 0; margin: -12px 0; }   /* größere Tippfläche, Layout bleibt */
.testimonial .author a:hover { color: var(--color-primary); }
.testimonial .author a i { margin-left: 6px; font-size: 12px; color: var(--color-primary); }
.testimonial-logo-link { flex-shrink: 0; transition: opacity .2s ease; }
.testimonial-logo-link:hover { opacity: .75; }

/* ==========================================================================
   NACHTRAG 26.09.2026 (Prüfbericht): Logo als WebP, Rechtstexte am Handy
   ========================================================================== */
.nav-logo picture { display: contents; }                   /* <picture> ändert das Layout des Logos nicht */
.btn-link { display: inline-block; padding: 9px 0; margin: -9px 0; }   /* „E-Mail-Adresse kopieren“: Tippfläche 44 px */
.carousel-row { min-height: 80px; }                         /* Platz fürs Laufband, bevor die Logos nachgeladen werden */
@media (max-width: 992px) { .carousel-row { min-height: 62px; } }
@media (max-width: 768px) { .carousel-row { min-height: 46px; } }
@media (max-width: 400px) {
  .legal-content h1 { font-size: 26px; }
  .legal-content h2 { font-size: 21px; }
}

/* ==========================================================================
   NACHTRAG 05.10.2026: Kontaktblock ohne Einleitungssatz unter der Überschrift
   ========================================================================== */
.cta-section h2 + .cta-path, .cta-section h2 + .cta-contact { margin-top: 32px; }

/* Stefan im Vordergrund: ein Foto im Startseiten-Hero, Gründer-Kasten auf „Über uns“ */
.hero-people.hero-people-single { grid-template-columns: minmax(0, 340px); justify-content: center; }
.team-section.team-single { grid-template-columns: minmax(0, 420px); }
.founder-box { display: flex; align-items: center; gap: 18px; max-width: 540px; margin: 28px auto 0; padding: 18px 22px; background: #f2f5fa; border-radius: var(--radius); }
.founder-box .cta-avatar { width: 80px; height: 80px; }
.founder-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--color-primary); }
.founder-box strong { display: block; font-size: 17px; color: var(--color-secondary); }
.founder-role { display: block; font-size: 14px; color: #5f646c; }
.founder-quote { margin-top: 6px; font-size: 15px; line-height: 1.5; font-style: italic; color: var(--color-text); }
@media (max-width: 768px) {
  .hero-people.hero-people-single { grid-template-columns: minmax(0, 260px); }
  .founder-box { gap: 14px; padding: 16px; }
  .founder-box .cta-avatar { width: 64px; height: 64px; }
}

/* --- Kontakt: Rückruf-Formular --- */
.rueckruf-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-strong); padding: 32px; max-width: 800px; margin: 0 auto 56px; border-top: 4px solid var(--color-primary); scroll-margin-top: 100px; }
.rueckruf-box h2 { font-size: 28px; margin-bottom: 8px; text-align: center; }
.rueckruf-box > p { text-align: center; color: var(--color-text-body); font-size: 17px; margin: 0 auto 24px; max-width: 600px; }
.rueckruf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.rueckruf-form .feld { display: flex; flex-direction: column; gap: 6px; }
.rueckruf-form .feld-breit, .rueckruf-form .hinweis, .rueckruf-form .absenden, .rueckruf-meldung { grid-column: 1 / -1; }
.rueckruf-form label { font-weight: 600; font-size: 15px; color: var(--color-secondary); }
.rueckruf-form .pflicht { color: #c0392b; font-weight: 700; }
.rueckruf-form .pflicht-hinweis { grid-column: 1 / -1; font-size: 14px; color: var(--color-text-muted); margin: 0; }
.rueckruf-form input, .rueckruf-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--color-text); background: #fff; border: 1px solid #c9d3e3; border-radius: 8px; padding: 12px 14px; }
.rueckruf-form textarea { min-height: 110px; resize: vertical; }
.rueckruf-form input:focus, .rueckruf-form textarea:focus { border-color: var(--color-primary); outline: 2px solid var(--color-primary); outline-offset: 1px; }
.rueckruf-form .hinweis { font-size: 14px; color: var(--color-text-muted); margin: 0; }
.rueckruf-form .absenden { text-align: center; }
.rueckruf-form .btn { font-family: inherit; }
.rueckruf-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rueckruf-meldung { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1f17; border-radius: 8px; padding: 12px 14px; font-size: 15px; margin: 0; }
.rueckruf-meldung[hidden] { display: none; }
.cta-section p.cta-rueckruf { font-size: 16px; margin: 24px auto 0; color: var(--color-secondary); }
.cta-rueckruf a { font-weight: 600; }
@media (max-width: 600px) {
  .rueckruf-form { grid-template-columns: 1fr; }
  .rueckruf-box { padding: 24px 18px; }
  .rueckruf-box h2 { font-size: 24px; }
}
