/* ============================================================
   Stempel Göbel & Werbeagentur – Hauptstylesheet
   Design-System: Printa-Template (TemplateMonster #285461)
   ============================================================ */

/* ── Google Fonts – geladen via HTML <head> (Performance) ── */

/* ── CSS Variables ── */
:root {
  --bg:          #ffffff;
  --bg-light:    #f7f7f7;
  --bg-dark:     #111111;
  --text:        #111111;
  --text-muted:  #666666;
  --text-light:  #999999;
  --accent:      #CC1414;
  --accent-dark: #a00f0f;
  --border:      #e5e5e5;
  --white:       #ffffff;

  --font:        'Inter', sans-serif;

  --radius-sm:   4px;
  --radius:      6px;
  --radius-lg:   12px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);

  --max-w:       1160px;
  --header-h:    72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── KEIN HORIZONTALES SCROLLEN ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
/* Alle direkten Kinder nach .bg-circles liegen darüber */
body > *:not(.bg-circles) { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; }

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 700; }
p  { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section    { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-red    { color: var(--accent); }
.bg-light    { background: var(--bg-light); }
.bg-dark     { background: var(--bg-dark); color: var(--white); }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.section-title { margin-bottom: 15px; }
.section-sub   { font-size: 1rem; color: var(--text-muted); max-width: 580px; }
.section-sub.centered { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--bg-dark);
  color: var(--white);
  border: 2px solid var(--bg-dark);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-red {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-red:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--bg-dark);
  border: 2px solid var(--bg-dark);
}
.btn-outline:hover { background: var(--bg-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn svg, .btn .arrow { font-size: 1rem; }

/* ── Decorative Dots ── */
.dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.dot-red    { background: var(--accent); }
.dot-blue   { background: #2196f3; }
.dot-orange { background: #ff9800; }
.dot-green  { background: #31af36; }
.dot-yellow { background: #ffd600; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
/* Footer: logo auf dunklem Hintergrund sichtbar machen */
.site-footer .logo-img {
  filter: brightness(0) invert(1);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Header Phone */
.header-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s;
}
.header-phone:hover { background: var(--accent); }
.header-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 20px;
  box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

/* Page offset */
.page-content { padding-top: var(--header-h); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff3f3;
  color: var(--accent);
  border: 1px solid rgba(204,20,20,0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-badge .blink {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.05rem; margin-bottom: 30px; max-width: 440px; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-claim {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
.hero-claim-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.hero-claim-item .check {
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-claim-item .check svg { width: 12px; height: 12px; color: white; }

/* Hero image blob */
.hero-image { position: relative; z-index: 1; }
.hero-blob {
  position: relative;
  width: 100%;
  padding-bottom: 95%;
}
.hero-blob-bg {
  position: absolute;
  inset: 0;
  background: #f0f0f0;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  overflow: hidden;
}
.hero-blob-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-blob-accent {
  position: absolute;
  width: 80px; height: 80px;
  background: var(--accent);
  border-radius: 50%;
  bottom: 15%; right: -20px;
  z-index: 2;
}
.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 3;
  white-space: nowrap;
}
.hero-badge-float.badge-1 { top: 10%; left: 0; }
.hero-badge-float.badge-2 { bottom: 20%; right: 0; }
.hero-badge-float .val { color: var(--accent); font-size: 1.3rem; display: block; }

/* Decorative dots hero */
.hero .dot { opacity: 0.7; }

/* ============================================================
   URGENCY BANNER
   ============================================================ */
.urgency-bar {
  background: var(--accent);
  color: var(--white);
  padding: 12px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.urgency-bar span { opacity: 0.85; font-weight: 400; margin-left: 8px; }

/* ============================================================
   SERVICES OVERVIEW (Startseite)
   ============================================================ */
.services-overview { padding: 80px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px; height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; color: white; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 20px; font-size: 0.9rem; }
.service-card .btn { font-size: 0.85rem; padding: 10px 20px; }

/* ============================================================
   TWO-COLUMN FEATURE SECTION
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-image { position: relative; }
.feature-blob {
  width: 100%;
  padding-bottom: 90%;
  position: relative;
}
.feature-blob-bg {
  position: absolute;
  inset: 0;
  border-radius: 45% 55% 60% 40% / 55% 45% 50% 50%;
  overflow: hidden;
  background: var(--bg-light);
}
.feature-blob-bg img { width:100%; height:100%; object-fit:cover; }
.feature-dot-accent {
  position: absolute;
  width: 55px; height: 55px;
  background: var(--accent);
  border-radius: 50%;
}

.feature-content .section-label { margin-bottom: 8px; }
.feature-list {
  margin: 20px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.feature-list li .bullet {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ============================================================
   DIFFERENCE / USP SECTION
   ============================================================ */
.usp-section { background: var(--bg-light); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 50px;
}
.usp-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.usp-card:hover { box-shadow: var(--shadow); }
.usp-icon {
  width: 50px; height: 50px;
  background: #fff0f0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 15px;
}
.usp-icon svg { width: 22px; height: 22px; color: var(--accent); }
.usp-card h3 { font-size: 1rem; margin-bottom: 8px; }
.usp-card p { font-size: 0.88rem; }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--bg-dark);
  color: var(--white);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   PORTFOLIO / GALERIE GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  cursor: pointer;
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.75);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 20px;
  text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { color: white; font-size: 1rem; margin-bottom: 6px; }
.gallery-overlay p { color: rgba(255,255,255,0.75); font-size: 0.82rem; }

/* Gallery placeholder (no image) */
.gallery-placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:3rem;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion { margin-top: 40px; }
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 700;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: color 0.2s;
}
.accordion-btn:hover { color: var(--accent); }
.accordion-btn .acc-icon {
  width: 26px; height: 26px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.accordion-btn.open .acc-icon { background: var(--accent); border-color: var(--accent); }
.accordion-btn.open .acc-icon svg { color: white; transform: rotate(45deg); }
.accordion-btn .acc-icon svg { width: 14px; height: 14px; transition: transform 0.2s; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.accordion-body.open { max-height: 300px; padding-bottom: 18px; }
.accordion-body p { font-size: 0.9rem; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 25px; }
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 46px; height: 46px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 20px; height: 20px; color: white; }
.contact-item-text h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-text p { font-size: 0.95rem; color: var(--text); font-weight: 600; }
.contact-item-text a { color: var(--text); transition: color 0.2s; }
.contact-item-text a:hover { color: var(--accent); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.5); }
.footer-brand .logo-mark { background: var(--accent); }
.footer-desc {
  margin-top: 16px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 260px;
}
.footer-phone {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.footer-phone svg { width: 18px; height: 18px; color: var(--accent); }
.footer-social {
  display: flex; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 18px; height: 18px; color: white; }

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-tagline-box {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 25px;
}
.footer-tagline-box p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.6; }
.footer-tagline-box strong { color: white; display: block; font-size: 1.05rem; margin-bottom: 8px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 110;
  padding: 0 5px;
}
.bottom-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.bottom-bar-item:hover, .bottom-bar-item.primary { color: var(--accent); }
.bottom-bar-item.primary .bar-icon { background: var(--accent); color: white; }
.bar-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-light);
  transition: background 0.2s, color 0.2s;
}
.bar-icon svg { width: 18px; height: 18px; }
.bottom-bar-item:hover .bar-icon { background: #fff0f0; color: var(--accent); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 15px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb .sep { opacity: 0.4; }

.page-hero-dots .dot { opacity: 0.15; }

/* ============================================================
   PRODUCT GRID (Stempelwelt)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-img {
  aspect-ratio: 4/3;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.product-body { padding: 20px; }
.product-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
.product-body p { font-size: 0.85rem; margin-bottom: 15px; }
.product-tag {
  display: inline-block;
  background: #fff0f0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

/* ============================================================
   TEAM / ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-blob {
  width: 100%;
  padding-bottom: 110%;
  position: relative;
}
.about-blob-bg {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
  overflow: hidden;
  background: var(--bg-light);
}
.about-blob-bg img { width:100%; height:100%; object-fit:cover; object-position: top center; }
.about-badge-float {
  position: absolute;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 800;
  z-index: 3;
  white-space: nowrap;
}
.about-badge-float.pos-1 { bottom: 15%; left: 0; }
.about-badge-float.pos-2 { top: 20%; right: 0; background: var(--bg-dark); }
.about-badge-float .big { display: block; font-size: 1.5rem; }

.timeline { margin: 25px 0 30px; display: flex; flex-direction: column; gap: 20px; }
.timeline-item { display: flex; gap: 15px; }
.timeline-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.timeline-dot .d {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.timeline-dot .line {
  width: 2px;
  flex: 1;
  background: var(--border);
  min-height: 20px;
}
.timeline-item:last-child .timeline-dot .line { display: none; }
.timeline-content { padding-bottom: 4px; }
.timeline-year { font-size: 0.75rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; display: block; }
.timeline-content h4 { font-size: 0.9rem; margin-bottom: 3px; }
.timeline-content p { font-size: 0.85rem; }

/* ============================================================
   PRICING / SERVICE TABLE
   ============================================================ */
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 0.9rem;
}
.service-table th {
  background: var(--bg-dark);
  color: white;
  padding: 14px 18px;
  text-align: left;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); }
.service-table tr:last-child td { border-bottom: none; }
.service-table tr:hover td { background: var(--bg-light); }

/* ============================================================
   IMPRESSUM
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.3rem; margin: 35px 0 12px; }
.legal-content h3 { font-size: 1rem; margin: 25px 0 8px; }
.legal-content p  { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 12px; }
.legal-content ul { margin: 10px 0 10px 20px; }
.legal-content ul li { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 6px; list-style: disc; }

/* ============================================================
   PARTNERS / LOGOS
   ============================================================ */
.partners-strip { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}
.partner-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  opacity: 0.5;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.partner-logo:hover { opacity: 1; }

/* ============================================================
   SECTION: CTA
   ============================================================ */
.cta-section {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: white; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 500px; margin: 0 auto 35px; font-size: 1rem; }
.cta-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.cta-section .dot { opacity: 0.08; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE – VOLLSTÄNDIG MOBILE-FIRST OPTIMIERT
   ============================================================ */

/* ── Tablet (≤960px) ── */
@media (max-width: 960px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-image         { display: none; }
  .feature-split      { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .about-grid         { grid-template-columns: 1fr; gap: 40px; }
  .about-image        { display: none; }
  .contact-grid       { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 35px; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  /* Keine Badges die rausragen */
  .hero-badge-float   { display: none; }
  .about-badge-float  { display: none; }
}

/* ── Mobile (≤720px) ── */
@media (max-width: 720px) {
  :root { --header-h: 60px; }

  /* Overflow-Schutz für alle Sektionen */
  section, .section, .section-sm,
  .hero, .page-hero, .cta-section,
  .stats-strip, .usp-section, .partners-strip,
  .site-footer, .services-overview { overflow: hidden; }

  /* Layout */
  .section         { padding: 55px 0; }
  .container       { padding: 0 16px; }

  /* Header */
  .main-nav        { display: none; }
  .header-phone    { display: none; }
  .hamburger       { display: flex; }

  /* Hero */
  .hero            { padding: 30px 0 40px; }
  .hero h1         { font-size: 1.85rem; }
  .hero p          { font-size: 0.95rem; }
  .hero-btns       { flex-direction: column; align-items: stretch; }
  .hero-btns .btn  { width: 100%; justify-content: center; }
  .hero-badge-float { display: none; }

  /* Page Hero */
  .page-hero       { padding: 45px 0 35px; }
  .page-hero h1    { font-size: 1.9rem; }

  /* Typography */
  h2               { font-size: 1.55rem; }
  h3               { font-size: 1.05rem; }

  /* Urgency bar */
  .urgency-bar     { font-size: 0.75rem; padding: 9px 16px; line-height: 1.4; }
  .urgency-bar span { display: block; margin: 0; }

  /* Footer */
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
  .footer-tagline-box { display: none; }
  .footer-bottom   { flex-direction: column; gap: 10px; text-align: center; }

  /* Formulare */
  .form-row        { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }

  /* Bottom Bar */
  .bottom-bar      { display: flex; align-items: stretch; }
  body             { padding-bottom: 64px; }

  /* Dots aus dem Viewport nehmen */
  .dot             { display: none; }
  .page-hero .dot  { display: none; }
  .cta-section .dot { display: none; }

  /* CTA */
  .cta-btns        { flex-direction: column; align-items: stretch; }
  .cta-btns .btn   { width: 100%; max-width: 100%; justify-content: center; }

  /* Galerie */
  .gallery-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Produkte */
  .product-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Feature Split: kein direction-Trick */
  .feature-split.reverse { direction: ltr; }
  .feature-image   { display: none; }
}

/* ── Kleines Mobile (≤480px) ── */
@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .container          { padding: 0 14px; }

  /* Kein Element darf breiter als Viewport sein */
  * { max-width: 100%; }
  img { max-width: 100%; }

  /* Typografie */
  h1                  { font-size: 1.65rem; }
  h2                  { font-size: 1.35rem; }
  h3                  { font-size: 1rem; }
  .hero h1            { font-size: 1.65rem; }
  .page-hero h1       { font-size: 1.65rem; }

  /* Hero-Badge (kleiner Banner) */
  .hero-badge         { font-size: 0.7rem; padding: 5px 10px; }

  /* Buttons */
  .btn                { padding: 11px 18px; font-size: 0.84rem; min-height: 44px; }

  /* Sections */
  .section            { padding: 45px 0; }

  /* Services 1-spaltig */
  .services-grid      { grid-template-columns: 1fr; }
  .usp-grid           { grid-template-columns: 1fr; }
  .service-card       { padding: 22px 18px; }

  /* Stats */
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-val           { font-size: 1.7rem; }
  .stat-label         { font-size: 0.78rem; }

  /* Galerie */
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-grid       { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Kontakt */
  .contact-item       { flex-direction: row; gap: 12px; }
  .contact-item-icon  { width: 40px; height: 40px; flex-shrink: 0; }

  /* Logo */
  .logo-img           { height: 38px; }

  /* Urgency */
  .urgency-bar        { font-size: 0.72rem; }

  /* Footer */
  .footer-desc        { max-width: 100%; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* Bottom Bar */
  .bottom-bar         { height: 60px; }
  .bar-icon           { width: 32px; height: 32px; }
  .bar-icon svg       { width: 16px; height: 16px; }
  .bottom-bar-item    { font-size: 0.58rem; }

  /* Mobile Menu */
  .mobile-menu        { padding: 16px; }
  .mobile-menu a      { padding: 14px 0; font-size: 1rem; }

  /* Accordion */
  .accordion-btn      { font-size: 0.88rem; padding: 16px 0; }

  /* Hintergrundelemente komplett aus */
  .bg-circle          { display: none; }
  .hero-blob-accent   { display: none; }
  .feature-dot-accent { display: none; }
}

/* ── Sehr kleine Geräte (≤360px) ── */
@media (max-width: 360px) {
  .container    { padding: 0 12px; }
  h1            { font-size: 1.5rem; }
  h2            { font-size: 1.25rem; }
  .btn          { padding: 10px 14px; font-size: 0.82rem; }
  .logo-img     { height: 34px; }
  .urgency-bar  { font-size: 0.68rem; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stat-val     { font-size: 1.5rem; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   LIGHTBOX (Galerie)
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 25px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}
.lightbox-close:hover { color: var(--accent); }

/* ============================================================
   ANIMATED BACKGROUND CIRCLES
   ============================================================ */
.bg-circles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  max-width: 100vw;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Circle definitions – Positionen, Größen, Farben */
.bc-1 {
  width: 280px; height: 280px;
  background: rgba(204, 20, 20, 0.055);
  top: 8%; left: 3%;
  animation: bg-float-a 22s ease-in-out infinite;
}
.bc-2 {
  width: 180px; height: 180px;
  background: rgba(33, 150, 243, 0.04);
  top: 55%; right: 4%;
  animation: bg-float-b 28s ease-in-out infinite;
}
.bc-3 {
  width: 110px; height: 110px;
  background: rgba(255, 152, 0, 0.06);
  top: 30%; left: 52%;
  animation: bg-float-c 19s ease-in-out infinite, bg-pulse 14s ease-in-out infinite;
}
.bc-4 {
  width: 220px; height: 220px;
  background: rgba(204, 20, 20, 0.03);
  bottom: 12%; left: 18%;
  animation: bg-float-b 25s ease-in-out infinite reverse;
}
.bc-5 {
  width: 70px; height: 70px;
  background: rgba(255, 214, 0, 0.07);
  top: 18%; right: 22%;
  animation: bg-float-a 17s ease-in-out infinite, bg-spin 50s linear infinite;
}
.bc-6 {
  width: 160px; height: 160px;
  background: rgba(13, 71, 161, 0.038);
  bottom: 25%; right: 28%;
  animation: bg-float-c 30s ease-in-out infinite;
}
.bc-7 {
  width: 90px; height: 90px;
  background: rgba(49, 175, 54, 0.045);
  top: 72%; left: 42%;
  animation: bg-float-a 21s ease-in-out infinite reverse, bg-pulse 18s ease-in-out infinite;
}

/* Keyframes */
@keyframes bg-float-a {
  0%,100% { transform: translateY(0px)   translateX(0px); }
  33%      { transform: translateY(-28px) translateX(14px); }
  66%      { transform: translateY(18px)  translateX(-8px); }
}
@keyframes bg-float-b {
  0%,100% { transform: translateY(0px)   translateX(0px); }
  50%      { transform: translateY(-38px) translateX(22px); }
}
@keyframes bg-float-c {
  0%,100% { transform: translateY(0px)  translateX(0px); }
  30%      { transform: translateY(24px) translateX(-16px); }
  70%      { transform: translateY(-18px) translateX(12px); }
}
@keyframes bg-pulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@keyframes bg-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Mobil: Bewegung abschalten */
@media (max-width: 720px) {
  .bg-circle { animation: none !important; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-circle { animation: none !important; }
}

/* Skip-Link entfernt */

/* ── HEADER SCROLLED ── */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
}

/* ── FOCUS STATES (Accessibility + SEO) ── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ── CLS PREVENTION ── */
.logo-img { width: auto; height: 46px; aspect-ratio: auto; }
.gallery-item { contain: layout; }
.hero-blob, .feature-blob, .about-blob { contain: layout; }

/* ── MOBILE 100% OPTIMIERUNG ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.95rem; }
  .btn { padding: 11px 20px; font-size: 0.85rem; }
  .section { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .stat-val { font-size: 1.8rem; }
  .urgency-bar { font-size: 0.78rem; padding: 10px 0; }
  .hero-badge { font-size: 0.72rem; }
  .service-card { padding: 25px 20px; }
  .contact-info { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
}

/* ── TOUCH OPTIMIERUNG ── */
@media (max-width: 720px) {
  .btn { min-height: 44px; min-width: 44px; }
  .bottom-bar-item { min-height: 44px; }
  .hamburger { min-height: 44px; min-width: 44px; justify-content: center; }
  .main-nav a { padding: 8px 0; }
}

/* ── PRINT STYLES ── */
@media print {
  .site-header, .bottom-bar, .mobile-menu, .urgency-bar,
  .bg-circles, .cta-section, .hero-btns, .btn { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
  .page-hero { background: #333 !important; padding: 20pt; }
}

/* ── SCROLL SMOOTH FALLBACK ── */
html { scroll-behavior: smooth; }

/* ── MOBILE NAV OVERFLOW FIX ── */
.site-header { overflow: visible; }
.main-nav a { padding: 6px 0; }
