:root {
  --blue: #173f79;
  --blue-deep: #0b2a53;
  --blue-light: #2b5e9e;
  --yellow: #ffe500;
  --paper: #f6f3e9;
  --white: #fffef8;
  --ink: #10223a;
  --muted: #536174;
  --line: #d9d6cc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1240px; margin: auto; padding: 24px 32px; color: white; }
.brand { display: grid; width: max-content; text-decoration: none; line-height: .82; }
.brand strong { color: var(--yellow); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.055em; }
.brand span { color: var(--yellow); font-size: .82rem; letter-spacing: .16em; text-align: center; margin-top: 8px; }
.site-header nav { display: flex; gap: 28px; font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--yellow); }
.phone-link { justify-self: end; font-weight: 800; text-decoration: none; border-bottom: 3px solid var(--yellow); padding-bottom: 4px; }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: clamp(36px, 7vw, 96px); padding: 150px max(32px, calc((100vw - 1180px) / 2)) 88px; background: radial-gradient(circle at 80% 30%, #285c9e 0, transparent 34%), var(--blue); color: white; overflow: hidden; }
.hero-copy { max-width: 720px; }
.eyebrow, .kicker { color: var(--yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
h1 { margin: 18px 0 24px; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.hero-lead { max-width: 670px; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 2px solid var(--yellow); font-weight: 900; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.15); }
.button-primary { background: var(--yellow); color: var(--blue-deep); }
.button-secondary { color: white; background: transparent; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; list-style: none; font-weight: 700; }
.trust-list li::before { content: '✓'; color: var(--yellow); margin-right: 8px; }
.hero-visual { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; border: 2px solid rgba(255,255,255,.65); background-image: linear-gradient(145deg, rgba(10,42,83,.2), rgba(10,42,83,.64)), url('images/hero-vorher-nachher.jpg'), repeating-linear-gradient(45deg, #254c79 0 18px, #2a5587 18px 36px); background-size: cover, cover, auto; background-position: center; transform: rotate(2deg); }
.hero-visual span { font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.hero-visual strong { margin: 10px 0; color: var(--yellow); font-size: clamp(2rem, 4vw, 4rem); line-height: .95; text-shadow: 0 3px 14px rgba(0,0,0,.75); }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: -34px auto 0; position: relative; background: var(--yellow); box-shadow: 0 18px 50px rgba(10,42,83,.16); }
.proof-strip div { padding: 24px; border-right: 1px solid rgba(16,34,58,.18); }
.proof-strip div:last-child { border: 0; }
.proof-strip strong, .proof-strip span { display: block; }
.proof-strip strong { font-size: 1.1rem; text-transform: uppercase; }
.proof-strip span { margin-top: 5px; font-size: .88rem; }

.section { max-width: 1180px; margin: auto; padding: 120px 32px; }
.section-heading { max-width: 790px; }
.section-heading.compact { max-width: 560px; }
.kicker { margin: 0 0 16px; color: var(--blue); font-size: .78rem; }
h2 { margin: 0; font-size: clamp(2.45rem, 5.4vw, 5.5rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.section-heading > p:last-child, .project-copy > p:last-child { font-size: 1.16rem; line-height: 1.65; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 58px; }
.feature-card { position: relative; min-height: 420px; padding: 44px; overflow: hidden; }
.feature-card h3 { margin: 78px 0 16px; max-width: 540px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .95; text-transform: uppercase; }
.feature-card p, .feature-card li { font-size: 1.04rem; line-height: 1.6; }
.feature-card ul { padding-left: 20px; }
.card-number { position: absolute; top: 28px; right: 32px; font-size: 4rem; font-weight: 900; opacity: .22; }
.dark-card { background: var(--blue); color: white; }
.dark-card h3 { color: var(--yellow); }
.yellow-card { background: var(--yellow); }

.project-band { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; padding: 110px max(32px, calc((100vw - 1180px) / 2)); background: var(--blue-deep); color: white; }
.project-copy .kicker { color: var(--yellow); }
.project-copy > p:last-child { color: #c9d5e4; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-placeholder { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid rgba(255,255,255,.65); background-image: linear-gradient(to top, rgba(10,42,83,.92), transparent 68%), var(--project-image), repeating-linear-gradient(45deg, #254c79 0 16px, #2a5587 16px 32px); background-size: cover, cover, auto; background-position: center; }
.project-before { --project-image: url('images/projekt-treppe-vorher.jpg'); }
.project-after { --project-image: url('images/projekt-treppe-nachher.jpg'); }
.project-hof { --project-image: url('images/projekt-hof-vorher-nachher.jpg'); }
.photo-placeholder.wide { grid-column: 1 / -1; min-height: 220px; }
.photo-placeholder strong { color: var(--yellow); font-size: 1.4rem; text-transform: uppercase; }

.all-services { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.service-list span { color: var(--blue-light); font-size: .74rem; padding-top: 3px; }

.process { padding: 110px max(32px, calc((100vw - 1180px) / 2)); background: var(--blue); color: white; }
.light-heading .kicker { color: var(--yellow); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 64px 0 0; padding: 0; list-style: none; }
.process-grid li { min-height: 270px; padding: 26px; border: 1px solid rgba(255,255,255,.22); }
.process-grid li > span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--yellow); color: var(--blue-deep); font-weight: 900; }
.process-grid h3 { margin-top: 42px; color: var(--yellow); font-size: 1.4rem; text-transform: uppercase; }
.process-grid p { line-height: 1.55; color: #d9e2ed; }

.region-section { display: grid; grid-template-columns: 1.1fr .8fr auto; align-items: end; gap: 50px; }
.region-section h2 { font-size: clamp(2.2rem, 4.5vw, 4.4rem); }
.region-section > p { margin: 0; color: var(--muted); line-height: 1.65; }
.text-link { color: var(--blue); font-weight: 900; white-space: nowrap; text-transform: uppercase; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 1.4rem; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: -6px 0 26px; max-width: 720px; color: var(--muted); line-height: 1.65; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); padding: 110px max(32px, calc((100vw - 1180px) / 2)); background: var(--yellow); }
.contact .kicker { color: var(--blue); }
.contact h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
.contact-copy > p { line-height: 1.65; }
.direct-contact { display: grid; gap: 18px; margin-top: 38px; }
.direct-contact a { display: grid; text-decoration: none; }
.direct-contact span { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.direct-contact strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-form { padding: 38px; background: var(--white); box-shadow: 16px 16px 0 var(--blue); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #aab1ba; border-radius: 0; background: white; color: var(--ink); padding: 13px 14px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,63,121,.14); }
.contact-form .check-row { grid-template-columns: 22px 1fr; align-items: start; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.4; }
.check-row input { width: 18px; height: 18px; margin: 0; }
.contact-form .button { border-color: var(--blue); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding: 52px max(32px, calc((100vw - 1180px) / 2)); background: var(--blue-deep); color: white; }
.footer-brand strong { font-size: 2rem; }
.footer-brand span { font-size: .58rem; }
footer address { font-style: normal; font-size: .88rem; }
.legal-links { display: flex; gap: 18px; font-size: .8rem; }
.legal-note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); color: #b8c4d2; font-size: .78rem; }
.check-row a { color: var(--blue); text-underline-offset: 3px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px max(32px, calc((100vw - 980px) / 2)); background: var(--blue-deep); color: white; }
.legal-header .brand strong { font-size: 2.25rem; }
.legal-header .brand span { font-size: .62rem; }
.back-link { color: var(--yellow); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.legal-content { max-width: 980px; margin: auto; padding: 90px 32px 110px; }
.legal-content > h1 { margin: 10px 0 12px; color: var(--blue); font-size: clamp(3.5rem, 8vw, 7rem); }
.legal-intro { margin-bottom: 48px; color: var(--muted); font-size: 1.1rem; }
.legal-content section { max-width: 780px; margin-top: 50px; }
.legal-content section h2 { margin-bottom: 14px; color: var(--blue); font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.025em; text-transform: none; }
.legal-content section p { color: #35475c; line-height: 1.75; }
.legal-content section a { color: var(--blue); overflow-wrap: anywhere; }
.legal-footer { display: flex; justify-content: center; gap: 28px; padding: 32px; background: var(--blue-deep); color: white; font-weight: 800; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; transform: none; }
  .proof-strip { margin: 0; max-width: none; grid-template-columns: 1fr 1fr; }
  .project-band, .all-services, .faq, .contact { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .region-section { grid-template-columns: 1fr; align-items: start; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 18px 20px; }
  .brand strong { font-size: 2rem; }
  .brand span { font-size: .55rem; }
  .phone-link { font-size: .76rem; }
  .hero { min-height: 0; padding: 132px 20px 52px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 250px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid rgba(16,34,58,.18); }
  .section, .project-band, .process, .contact { padding: 78px 20px; }
  .feature-grid, .service-list, .process-grid, .field-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 30px; }
  .feature-card h3 { margin-top: 58px; }
  .project-grid { grid-template-columns: 1fr; }
  .photo-placeholder.wide { grid-column: auto; }
  .process-grid li { min-height: 220px; }
  .contact-form { padding: 24px; box-shadow: 8px 8px 0 var(--blue); }
  .legal-header { padding: 18px 20px; }
  .legal-header .brand strong { font-size: 1.8rem; }
  .back-link { font-size: .8rem; }
  .legal-content { padding: 64px 20px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
