/* ============================================================
   Kronos Pictures - Responsive & Performance Fixes
   Wird NACH dem Inline-Style geladen, kann gezielt ueberschreiben.
   Optimiert fuer Desktop, Tablet (768-1100px) und Mobile.
   ============================================================ */

/* --- 1) GLOBAL: lange Komposita umbrechen, horizontale Overflows verhindern --- */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: clamp(96px, 8vw, 136px);
}

body, p, h1, h2, h3, h4, .hero-title, .page-title, .lead, .section-body, .cta-title,
.section-heading, .offer-desc, .home-case-title, .service-desc, .service-title,
.faq-answer-inner, .faq-question, .review-quote, .review-source, .why-item span,
.cta-body, .clients-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Bilder/Medien nie ueber Container hinaus */
img, video, picture, svg {
  max-width: 100%;
  height: auto;
}

/* Minimal-Touch-Target fuer alle interaktiven Elemente */
a, button, [role="button"], .nav-link, .nav-cta, .btn-primary, .btn-ghost,
.btn-secondary, .inline-cta, .faq-question, .cookie-accept, .cookie-decline,
.popup-cta, .hamburger, .mobile-menu a, .banner-cta {
  -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   2) TABLET-BREAKPOINT (768-1100px): schliesst die Luecke
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) {

  /* Container etwas enger fuer Tablet */
  .hero-inner,
  .section-inner,
  .page-header-inner,
  .hero-grid,
  .inner {
    max-width: 92vw !important;
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Hero-Grid auf Tablet auf 1 Spalte */
  .hero-inner,
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-title,
  .page-title,
  h1 {
    font-size: clamp(36px, 6.5vw, 64px) !important;
    line-height: 1.05;
  }

  .hero-sub,
  .lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: 640px;
  }

  /* Offer/Case/Process Grids: 2 Spalten statt 3 */
  .offer-grid,
  .home-case-grid,
  .grid-3,
  .process-steps {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Nav: kompakter auf Tablet */
  nav {
    padding: 20px 32px !important;
  }

  /* Section-Padding reduzieren auf Tablet */
  section, .section, .home-cases-section, .offer-section,
  .process-section, .clients-section, .cta-section, .faq-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}

/* ============================================================
   3) MOBILE (<=768px): Performance + Lesbarkeit + Touch
   ============================================================ */
@media (max-width: 768px) {

  /* Noise-Overlay: GPU-Killer auf Mobile -> aus */
  body::before {
    display: none !important;
  }

  /* Custom Cursor komplett deaktivieren auf Touch (war schon, sicherheitshalber) */
  .cursor, .cursor-ring, .cursor-label {
    display: none !important;
  }

  /* Marquee auf Mobile langsamer und schmaler */
  .marquee-track {
    animation-duration: 60s !important;
    font-size: 14px !important;
  }
  .marquee-item {
    padding: 0 24px !important;
  }

  /* Hero Padding kompakter, Headlines auf Mobile-Skala */
  .hero-title,
  .page-title,
  h1 {
    font-size: clamp(30px, 8.5vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em;
  }
  .hero-sub, .lead, p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .hero-eyebrow, .eyebrow, .section-label, .page-eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.18em;
  }

  /* Alle Grids auf 1 Spalte */
  .offer-grid,
  .home-case-grid,
  .grid-3,
  .process-steps,
  .clients-grid,
  .hero-stats,
  .trust-grid,
  .hero-inner,
  .hero-grid,
  .cta-actions {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Section-Padding Mobile */
  section, .section, header.hero,
  .home-cases-section, .offer-section, .process-section,
  .clients-section, .cta-section, .faq-section, .page-header {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  .hero, header.hero, .page-header {
    padding-top: 68px !important;
  }
  .section-inner, .hero-inner, .page-header-inner, .inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Touch-Targets: Mindestmasse */
  .nav-cta, .btn-primary, .btn-ghost, .btn-secondary,
  .inline-cta, .cookie-accept, .cookie-decline, .popup-cta,
  .banner-cta, .faq-question, .mobile-menu a {
    min-height: 48px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-link, .mobile-menu a {
    padding: 14px 16px !important;
  }

  /* Buttons innerhalb hero-actions/cta-actions stacken voll */
  .hero-actions, .cta-actions {
    flex-direction: column !important;
    width: 100%;
  }
  .hero-actions > *, .cta-actions > * {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }

  /* Stat-Block kleiner */
  .hero-stat-num { font-size: 28px !important; }
  .hero-stat-label { font-size: 10px !important; }

  /* Cookie-Banner + Aktions-Popup nicht im Weg */
  #cookie-banner {
    padding: 16px !important;
  }
  .cookie-btns { flex-direction: column; }
  .cookie-btns button { width: 100%; }

  /* Reduzierte Bewegung: ueberlange Animationen abkuerzen */
  .reveal { transition-duration: 0.4s !important; }
}

/* ============================================================
   4) VERY SMALL PHONES (<=380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero-title, .page-title, h1 {
    font-size: 28px !important;
  }
  .section-inner, .hero-inner, .inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav-logo { font-size: 13px !important; }
  nav { padding: 16px 20px !important; }
}

/* ============================================================
   5) PERFORMANCE-HINTS (alle Viewports)
   ============================================================ */

/* Reveal-Animation GPU-freundlich */
.reveal {
  will-change: transform, opacity;
  contain: layout style;
}

/* Bilder normal rendern lassen; Browser-Lazy-Loading reicht hier aus. */
img[loading="lazy"] {
  content-visibility: visible;
}

/* Section-Container: layout containment fuer schnelleren Reflow */
section, .section, .home-cases-section, .offer-section,
.process-section, .clients-section, .cta-section, .faq-section {
  contain: layout;
}

/* Reduzierte Bewegung respektieren - global */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none !important; transform: none !important; }
  body::before { display: none !important; }
}

/* Spar-Datenmodus: schwere Effekte aus */
@media (prefers-reduced-data: reduce) {
  body::before { display: none !important; }
  .marquee-track { animation: none !important; }
}

/* Print: alles aufgeraeumt */
@media print {
  body::before, .cursor, .cursor-ring, nav, .marquee-section,
  #cookie-banner, #aktions-popup { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ============================================================
   6) REGIE-REDESIGN 2026
   Globaler Umbau nach dem Arbeitgeber-Regie-Prinzip:
   heller, lesbarer, responsiver und wartbarer.
   ============================================================ */
:root {
  --black: #F6F1E9 !important;
  --dark: #1A1410 !important;
  --deep: #EDE5D5 !important;
  --surface: #FFFFFF !important;
  --surface-2: #EDE5D5 !important;
  --white: #1A1410 !important;
  --text: #1A1410 !important;
  --muted: #6B5E4E !important;
  --text-dim: #6B5E4E !important;
  --soft: #9A8D7E !important;
  --text-muted: #9A8D7E !important;
  --gold: #C4A35A !important;
  --gold-border: rgba(196, 163, 90, 0.30) !important;
  --gold-line: rgba(196, 163, 90, 0.30) !important;
  --border: rgba(196, 163, 90, 0.20) !important;
  --regie-teal: #87aab0;
  --regie-shadow: 0 22px 60px rgba(120, 100, 70, 0.16);
}

html {
  background: #F6F1E9 !important;
}

body {
  background:
    linear-gradient(90deg, rgba(26,20,16,0.025) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #F8F4EE 0%, #EFE7D7 48%, #EDE5D5 100%) !important;
  color: var(--white) !important;
  cursor: auto !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  opacity: 0.018 !important;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(196,163,90,0.13), transparent 32%),
    linear-gradient(245deg, rgba(135,170,176,0.11), transparent 28%),
    radial-gradient(ellipse at 50% 0%, rgba(26,20,16,0.06), transparent 62%);
}

body > * {
  position: relative;
}

.cursor,
.cursor-ring,
.cursor-label,
#cur,
#cur-r,
#canvas-bg,
#grain,
#vig,
#ndots,
.fc-wrap {
  display: none !important;
}

a {
  text-underline-offset: 0.22em;
}

p,
li,
.lead,
.hero-sub,
.section-body,
.body-text,
.copy,
.offer-desc,
.service-desc,
.faq p,
.faq-card p,
.project-body p,
.target-item p,
.review-source,
.review-quote,
.why-item span,
.cta-body,
.gar-b,
.br-body,
.bc-b,
.ls-b,
.sb-d,
.oc-meta {
  color: rgba(26, 20, 16, 0.78) !important;
}

h1,
h2,
h3,
.hero-title,
.hero-h1,
.page-title,
.section-heading,
.h2,
.cta-title,
.gar-h,
.offer-title,
.service-title,
.project-title,
.home-case-title {
  color: var(--white) !important;
  letter-spacing: 0.02em !important;
  text-wrap: balance;
}

h1 span,
h2 span,
h3 span,
.gold,
.accent,
.g,
.hero-title .accent,
.section-heading .gold,
.h2 .g,
.cta-title .line2 {
  color: #C4A35A !important;
}

.hero-eyebrow,
.eyebrow,
.section-label,
.tag,
.hero-tag,
.page-eyebrow,
.project-meta,
.clients-label,
.card-kicker,
.offer-tag,
.t-tag,
.ls-time,
.br-tag,
.ki-l {
  color: #C4A35A !important;
  font-size: clamp(11px, 0.82vw, 13px) !important;
  letter-spacing: 0.16em !important;
}

nav,
.site-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 500 !important;
  background: rgba(246, 241, 233, 0.92) !important;
  border-bottom: 1px solid rgba(26, 20, 16, 0.14) !important;
  box-shadow: 0 12px 38px rgba(120, 100, 70, 0.22) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
}

nav a,
nav button {
  pointer-events: auto !important;
}

.mobile-menu {
  pointer-events: none !important;
}

.mobile-menu.open {
  pointer-events: auto !important;
}

nav.solid,
nav.nav-scrolled {
  background: rgba(246, 241, 233, 0.97) !important;
  border-bottom-color: rgba(196, 163, 90, 0.34) !important;
}

.nav-link,
.nl,
.nav-links a {
  color: rgba(26, 20, 16, 0.76) !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
}

.nav-link:hover,
.nav-link.active,
.nl:hover,
.nav-links a:hover,
.nav-links a.active {
  color: #C4A35A !important;
}

.nav-cta,
.nc,
.btn-primary,
.btn-g,
.cta-btn,
.banner-cta,
.cookie-accept,
.form-submit,
.btn-dark {
  background: #C4A35A !important;
  color: #1A1410 !important;
  border: 1px solid rgba(26, 20, 16, 0.12) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  min-height: 48px !important;
  font-weight: 700 !important;
}

.nav-cta:hover,
.nc:hover,
.btn-primary:hover,
.btn-g:hover,
.cta-btn:hover,
.banner-cta:hover,
.cookie-accept:hover,
.form-submit:hover,
.btn-dark:hover {
  background: #C4A35A !important;
  color: #1A1410 !important;
}

.btn-secondary,
.btn-ghost,
.btn-o,
.inline-cta,
.cookie-decline {
  color: var(--white) !important;
  border-color: rgba(196, 163, 90, 0.48) !important;
  background: rgba(26, 20, 16, 0.04) !important;
}

.btn-secondary:hover,
.btn-ghost:hover,
.btn-o:hover,
.inline-cta:hover,
.cookie-decline:hover {
  color: #C4A35A !important;
  border-color: #C4A35A !important;
}

.hero,
#hero,
.page-header,
.kontakt-main {
  background:
    linear-gradient(135deg, rgba(196,163,90,0.13), transparent 35%),
    linear-gradient(245deg, rgba(135,170,176,0.10), transparent 32%),
    #EDE5D5 !important;
}

.hero {
  min-height: auto !important;
}

.hero-bg {
  background:
    linear-gradient(135deg, rgba(196,163,90,0.12), transparent 42%),
    linear-gradient(245deg, rgba(135,170,176,0.10), transparent 38%),
    #EDE5D5 !important;
}

.hero-portrait img,
.hero-media img,
.project-media img,
.offer-media img,
.media-tile img,
.impression-card img,
.work-image img,
.case-media img {
  filter: saturate(0.94) contrast(1.02) brightness(0.82) !important;
}

.hero-portrait::after {
  background:
    linear-gradient(to right, rgba(246,241,233,0.28) 0%, rgba(246,241,233,0.88) 100%),
    linear-gradient(to bottom, rgba(246,241,233,0.82) 0%, rgba(246,241,233,0.08) 34%, rgba(246,241,233,0.92) 100%) !important;
}

.hero-title,
.hero-h1 {
  font-size: clamp(52px, 7.2vw, 104px) !important;
  line-height: 0.94 !important;
}

.page-title {
  font-size: clamp(46px, 5.6vw, 82px) !important;
  line-height: 0.96 !important;
}

@media (min-width: 769px) {
  .hero-title,
  .hero-h1,
  .page-title {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
  }
}

.hero-sub,
.lead,
.page-lead {
  font-size: clamp(20px, 1.65vw, 28px) !important;
  line-height: 1.55 !important;
  max-width: 720px !important;
}

.section,
section,
.pain-section,
.offer-section,
.process-section,
.clients-section,
.target-section,
.faq-section,
.portfolio-section,
.services-section,
.additional-section,
.approach-section,
.story-section,
.values-section,
.work-section,
.impressions-section,
.bg-section,
.philosophy-section,
#problem,
#loesung,
#branchen,
#output,
#budget,
#kontakt {
  background-color: transparent !important;
}

.section.alt,
.pain-section,
.target-section,
.faq-section,
#problem,
#branchen,
.additional-section,
.bg-section {
  background: rgba(26, 20, 16, 0.045) !important;
}

.card,
.offer-card,
.home-case-card,
.process-step,
.faq,
.faq-card,
.service-card,
.additional-card,
.approach-card,
.package-card,
.target-item,
.review-card,
.why-item,
.client-logo,
.stat-box,
.bc,
.ls,
.oc,
.bconf,
.btype,
.brange,
.form-box,
.form-panel,
.contact-card,
.project,
.portfolio-card,
.story-card,
.value-card,
.work-card,
.impression-card,
.legal-block,
.block {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(26, 20, 16, 0.14) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.card:hover,
.offer-card:hover,
.home-case-card:hover,
.process-step:hover,
.faq-card:hover,
.service-card:hover,
.additional-card:hover,
.approach-card:hover,
.package-card:hover,
.target-item:hover,
.review-card:hover,
.why-item:hover,
.stat-box:hover,
.bc:hover,
.ls:hover,
.oc:hover,
.project:hover,
.portfolio-card:hover,
.work-card:hover {
  background: rgba(237, 229, 213, 0.96) !important;
  border-color: rgba(196, 163, 90, 0.48) !important;
  transform: translateY(-2px);
}

.offer-grid,
.home-case-grid,
.process-steps,
.process-grid,
.clients-grid,
.trust-grid,
.grid-3,
.steps,
.branchen-grid,
.loesung-steps,
.out-grid,
.btype-grid,
.brange-wrap,
.faq-list-static,
.faq-grid-simple,
.portfolio-grid,
.services-grid,
.additional-grid,
.values-grid,
.work-grid,
.impressions-grid {
  gap: clamp(14px, 2vw, 24px) !important;
}

.offer-card,
.home-case-card,
.service-card,
.package-card,
.portfolio-card {
  padding: clamp(24px, 3vw, 42px) !important;
}

.hero-stat-num,
.hs-n,
.sb-n,
.bc-num,
.ls-n,
.process-dot,
.process-step::before,
.stat-num {
  color: #C4A35A !important;
}

.section-heading,
.h2 {
  font-size: clamp(42px, 5.5vw, 82px) !important;
  line-height: 0.98 !important;
}

.offer-title,
.service-title,
.target-title,
.faq-question,
.faq-q,
.review-stars,
.why-item strong,
.process-step-title,
.process-step h3,
.step h3,
.card h3 {
  color: var(--white) !important;
}

.offer-desc,
.service-desc,
.target-note,
.clients-note {
  font-size: 15px !important;
  line-height: 1.75 !important;
}

input,
textarea,
select,
.ff input,
.ff select,
.ff textarea,
.form-group input,
.form-group textarea,
.form-group select {
  background: #FFFFFF !important;
  border: 1px solid rgba(26, 20, 16, 0.18) !important;
  border-bottom-color: rgba(196, 163, 90, 0.55) !important;
  color: #1A1410 !important;
  border-radius: 4px !important;
  min-height: 52px !important;
  color-scheme: light !important;
}

/* Dropdown-Liste hell erzwingen (sonst dunkel-auf-dunkel bei OS-Dark-Mode) */
select option,
select optgroup {
  background-color: #FFFFFF !important;
  color: #1A1410 !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: rgba(196, 163, 90, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.16) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(26, 20, 16, 0.42) !important;
}

label,
.ff label,
.form-group label {
  color: rgba(26, 20, 16, 0.82) !important;
  font-size: 12px !important;
}

#cookie-banner {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(196, 163, 90, 0.45) !important;
  border-radius: 8px !important;
  box-shadow: var(--regie-shadow) !important;
  z-index: 90 !important;
}

#kpcc {
  z-index: 90 !important;
}

body.mobile-menu-open #cookie-banner,
body.mobile-menu-open #kpcc {
  display: none !important;
}

.footer-logo,
footer .footer-logo {
  color: #F6F1E9 !important;
}

footer {
  background: #1A1410 !important;
  border-top: 1px solid rgba(246, 241, 233, 0.12) !important;
}

footer,
footer p,
.footer-contact,
.footer-copy,
.footer-seo {
  color: rgba(246, 241, 233, 0.72) !important;
}

footer a {
  color: #C4A35A !important;
}

.footer-social {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
  margin-top: 0.35rem;
  line-height: 1.7;
}

.footer-social a {
  white-space: nowrap;
}

footer > div {
  min-width: 0;
}

footer:not(:has(> .footer-logo + .footer-contact + .footer-copy)):not(:has(.f-grid)) {
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}

footer:not(:has(> .footer-logo + .footer-contact + .footer-copy)):not(:has(.f-grid)) > div {
  text-align: center !important;
}

footer:has(> .footer-logo + .footer-contact + .footer-copy) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(min-content, 480px) minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: clamp(20px, 3vw, 48px) !important;
}

footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-logo {
  justify-self: start !important;
  min-width: 0 !important;
}

footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-contact {
  justify-self: center !important;
  width: min(100%, 480px) !important;
  max-width: 480px !important;
  text-align: center !important;
}

footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-copy {
  justify-self: end !important;
  min-width: 0 !important;
  text-align: right !important;
}

@media (max-width: 900px) {
  footer:has(> .footer-logo + .footer-contact + .footer-copy) {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    row-gap: 18px !important;
    text-align: center !important;
  }

  footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-logo,
  footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-contact,
  footer:has(> .footer-logo + .footer-contact + .footer-copy) > .footer-copy {
    justify-self: center !important;
    text-align: center !important;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .hero-title,
  .hero-h1,
  .page-title,
  h1 {
    font-size: clamp(50px, 7vw, 76px) !important;
  }

  .hero-inner,
  .hero-grid,
  .kontakt-grid,
  .contact-grid,
  .target-grid,
  .problem-grid,
  .loesung-intro,
  .out-intro {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 960px) {
  .hero-name-tag {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px !important;
    line-height: 1.66 !important;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body::after {
    opacity: 0.8;
  }

  nav {
    min-height: 70px;
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 14px !important;
  }

  .nav-logo,
  .logo {
    min-width: 0 !important;
    max-width: calc(100vw - 96px) !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  .hamburger,
  .nav-toggle,
  #hamburgerBtn,
  #hamburger {
    display: flex !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }

  .nav-links,
  .nav-r,
  .nav-cta,
  .nc {
    display: none !important;
  }

  .hero,
  #hero,
  .page-header,
  .kontakt-main {
    min-height: auto !important;
    padding-top: 96px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .hero-inner,
  .hero-grid,
  .page-header-inner,
  .section-inner,
  .inner,
  .wrap,
  .kontakt-grid,
  .contact-grid,
  .target-grid,
  .problem-grid,
  .loesung-intro,
  .out-intro {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: 1fr !important;
    box-sizing: border-box !important;
  }

  .hero-inner,
  .hero-grid {
    gap: 24px !important;
    text-align: center !important;
  }

  .hero-left,
  .hero-right,
  .hero-copy,
  .lead,
  .page-lead,
  .section-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-sub,
  .hero-benefits,
  .hero-actions,
  .hv2-sub,
  .hv2-trust,
  .hv2-disclaimer,
  .hv2-actions {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-title,
  .hero-h1,
  .hv2-h1,
  .page-title,
  h1 {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: clamp(28px, 8.8vw, 35px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0.01em !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-title .accent,
  .hero-title .italic,
  .hero-h1 .g,
  .hv2-h1 span,
  .page-title span,
  h1 span {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero-eyebrow,
  .eyebrow,
  .section-label,
  .hero-tag,
  .page-eyebrow {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    font-size: 10px !important;
    letter-spacing: 0.11em !important;
  }

  .hero-sub,
  .lead,
  .page-lead {
    font-size: 18px !important;
    line-height: 1.52 !important;
  }

  .hero-sub {
    font-size: 16.5px !important;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center !important;
  }

  .section-heading,
  .h2,
  h2 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.02 !important;
  }

  p,
  .copy,
  .section-body,
  .offer-desc,
  .service-desc,
  .faq p,
  .faq-card p {
    font-size: 15.5px !important;
  }

  .hero-portrait img {
    filter: saturate(0.92) contrast(1.03) brightness(0.62) !important;
  }

  .card,
  .offer-card,
  .home-case-card,
  .process-step,
  .faq,
  .faq-card,
  .service-card,
  .additional-card,
  .approach-card,
  .package-card,
  .target-item,
  .review-card,
  .why-item,
  .stat-box,
  .bc,
  .ls,
  .oc,
  .form-box,
  .form-panel,
  .project-body,
  .portfolio-card,
  .story-card,
  .value-card,
  .work-card,
  .legal-block,
  .block {
    padding: 22px 18px !important;
  }

  .hero-stat-strip,
  .hero-stats,
  .hero-strip,
  .hero-benefits,
  .benefit-list,
  .signal-strip,
  .stat-stack {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-stat,
  .hs,
  .stat-box,
  .hero-benefits li,
  .benefit-list li {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .hero-benefits,
  .benefit-list {
    width: calc(100vw - 40px) !important;
    max-width: 330px !important;
    padding-left: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-sub,
  .hero-actions {
    width: calc(100vw - 40px) !important;
    max-width: 330px !important;
  }

  .hero-benefits li,
  .benefit-list li {
    text-align: left !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere !important;
  }

  .project,
  .home-case-card,
  .portfolio-card {
    grid-template-columns: 1fr !important;
  }

  .hero-scroll,
  .hero-line {
    display: none !important;
  }

  .kontakt-info,
  .info-block,
  .info-label,
  .info-value,
  .info-sub {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }
}

.home-case-media img,
.home-case-media video,
.offer-media img,
.project-media img,
.portfolio-media img,
.case-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

@media (max-width: 768px) {
  .case-link-row {
    justify-content: center;
  }

  .home-case-row {
    grid-template-columns: 1fr !important;
  }

}

/* Final responsive consistency pass across marketing pages. */
@media (max-width: 768px) {
  h1,
  h2,
  h3,
  .page-title,
  .hero-title,
  .section-heading,
  .service-title,
  .project-title {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  .project,
  .project-media,
  .project-body,
  .service-card,
  .service-main,
  .service-detail {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .project-media {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .project-media img,
  .project-media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .service-main {
    overflow: hidden;
  }

  .service-title {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 1.02 !important;
  }

  input,
  select,
  textarea {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Lesbarkeit gewinnt gegen Animation: Anker-Spruenge duerfen keine Inhalte ausgegraut lassen. */
.reveal,
.pain-item,
.process-step,
.card-reveal,
.approach-item,
.timeline-item,
.skill-item {
  opacity: 1 !important;
  transform: none !important;
}
