/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #F07A20;
  --orange-dark: #D96510;
  --navy: #1B2B45;
  --navy-light: #253d5f;
  --gray: #8C97A8;
  --gray-light: #F4F6F9;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #637083;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(27,43,69,0.10);
  --shadow-lg: 0 8px 40px rgba(27,43,69,0.16);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Arial', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

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

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

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  border-bottom-color: #e2e6ed;
  box-shadow: 0 2px 16px rgba(27,43,69,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link { display: flex; align-items: center; }
.logo {
  height: 68px;
  width: auto;
  max-width: 310px;
  display: block;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-list a {
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.nav-list a:hover { color: var(--orange); }

.btn-nav {
  background: var(--orange);
  color: var(--white) !important;
  padding: 8px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
}
.btn-nav:hover { background: var(--orange-dark); color: var(--white) !important; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid #e2e6ed;
  padding: 16px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.mobile-nav a { color: var(--navy); font-weight: 600; font-size: 16px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240,122,32,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}
.btn-full { width: 100%; text-align: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(155deg, rgba(11,22,40,0.97) 0%, rgba(14,26,46,0.80) 55%, rgba(11,22,40,0.94) 100%),
    radial-gradient(ellipse 65% 80% at 78% 20%, rgba(240,122,32,0.28) 0%, transparent 60%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><rect width="48" height="48" fill="%230A1426"/><circle cx="24" cy="24" r="20" stroke="%23F07A20" stroke-width="0.8" fill="none" opacity="0.13"/><circle cx="24" cy="24" r="14" stroke="%23F07A20" stroke-width="0.6" fill="none" opacity="0.09"/><circle cx="24" cy="24" r="7" stroke="%23F07A20" stroke-width="0.8" fill="none" opacity="0.11"/></svg>');
  background-color: #0A1426;
  background-size: auto, auto, 48px 48px;
  background-repeat: no-repeat, no-repeat, repeat;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(27,43,69,0.4));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding: 60px 24px;
}

.hero-content {
  /* text column */
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  opacity: 0;
  animation: heroIllIn 1s ease 0.3s forwards;
}

@keyframes heroIllIn {
  from { opacity: 0; transform: translateX(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollHint 1.6s infinite;
}
@keyframes scrollHint {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 18px; opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--orange);
  padding: 20px 0;
  border-top: 3px solid rgba(0,0,0,0.1);
  border-bottom: 3px solid rgba(0,0,0,0.1);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.trust-icon { display: flex; align-items: center; }

/* ===== SECTIONS ===== */
.section { padding: 112px 0; position: relative; z-index: 0; overflow: hidden; }
.section-dark {
  background:
    radial-gradient(ellipse 55% 70% at 8% 55%, rgba(240,122,32,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 92% 85%, rgba(240,122,32,0.08) 0%, transparent 55%),
    var(--navy);
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-label.light { color: var(--orange); }

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 32px;
  background: var(--orange);
  opacity: 0.25;
  transition: height 0.35s ease, opacity 0.35s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(240,122,32,0.2);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { height: 100%; opacity: 0.08; }

.card-icon { margin-bottom: 20px; }
.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ÜBER UNS ===== */
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ueber-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
}
.ueber-text p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-size: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.ueber-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.stat:hover {
  background: rgba(240,122,32,0.15);
  border-color: rgba(240,122,32,0.4);
}

.stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.kontakt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.kontakt-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.k-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
  font-weight: 700;
}
.kontakt-list p, .kontakt-list div {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-area {
  background: var(--gray-light);
  border-left: 3px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.93rem;
  color: var(--text-light);
}
.service-area strong { color: var(--navy); }

/* ===== FORM ===== */
.kontakt-form {
  background: var(--white);
  border: 1px solid #e8edf4;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

input, select, textarea {
  border: 1.5px solid #dde3ec;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240,122,32,0.12);
}
input::placeholder, textarea::placeholder { color: #b0bac8; }

textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray);
  text-align: center;
}

.form-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 14px 20px;
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}
.hidden { display: none; }

/* ===== FOOTER ===== */
footer {
  background: #111c2d;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-logo img { margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-logo p { font-size: 0.9rem; line-height: 1.7; }

.footer-links h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li {
  padding: 5px 0;
  font-size: 0.92rem;
}
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--orange); }

/* ===== CALL BUTTON ===== */
.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 24px;
  transition: background var(--transition), transform var(--transition);
}
.btn-call:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== LEGAL PAGES ===== */
.page-hero {
  background: var(--navy);
  padding: 120px 0 56px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.3px;
}
.legal-content h2 { margin-bottom: 32px; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 8px;
}
.legal-content p, .legal-content address {
  color: var(--text-light);
  font-size: 0.97rem;
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 8px;
}
.legal-content a { color: var(--orange); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 48px;
  font-size: 0.93rem;
}
.legal-back:hover { color: var(--orange); }

/* ===== PROZESS ===== */
.section-light {
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="54" height="54"><circle cx="27" cy="27" r="23" stroke="%231B2B45" stroke-width="0.6" fill="none" opacity="0.07"/><circle cx="27" cy="27" r="15" stroke="%231B2B45" stroke-width="0.4" fill="none" opacity="0.05"/><circle cx="27" cy="27" r="7" stroke="%231B2B45" stroke-width="0.6" fill="none" opacity="0.06"/></svg>'),
    #F2F0EC;
  background-size: 54px 54px, auto;
}

.prozess-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  padding-top: 8px;
}

.prozess-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 6px);
  right: calc(12.5% + 6px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--orange) 0, var(--orange) 10px,
    transparent 10px, transparent 20px
  );
  opacity: 0.35;
}

.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(240,122,32,0.30);
  flex-shrink: 0;
}

.step-icon-wrap {
  background: var(--white);
  border: 1px solid #e8edf4;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  transition: box-shadow var(--transition);
}
.prozess-step:hover .step-icon-wrap {
  box-shadow: var(--shadow);
}

.prozess-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.prozess-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}

.cards .card.animate:nth-child(1) { transition-delay: 0.05s; }
.cards .card.animate:nth-child(2) { transition-delay: 0.12s; }
.cards .card.animate:nth-child(3) { transition-delay: 0.19s; }
.cards .card.animate:nth-child(4) { transition-delay: 0.05s; }
.cards .card.animate:nth-child(5) { transition-delay: 0.12s; }
.cards .card.animate:nth-child(6) { transition-delay: 0.19s; }

.prozess-step.animate:nth-child(1) { transition-delay: 0.05s; }
.prozess-step.animate:nth-child(2) { transition-delay: 0.15s; }
.prozess-step.animate:nth-child(3) { transition-delay: 0.25s; }
.prozess-step.animate:nth-child(4) { transition-delay: 0.35s; }

/* ===== BACKGROUND PIPE ART ===== */
.section-bg-pipe {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  user-select: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .ueber-inner { grid-template-columns: 1fr; gap: 48px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .prozess-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .prozess-steps::before { display: none; }
}

@media (max-width: 640px) {
  .prozess-steps { grid-template-columns: 1fr; gap: 28px; }
  .nav-list { display: none; }
  .burger { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ueber-stats { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .kontakt-form { padding: 24px 20px; }
}
