/* =========================================================
   DAVI Projekt GmbH — Website
   Corporate Design: Petrol / Kupfer
   ========================================================= */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/nunito-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-sans-latin-700-normal.woff2') format('woff2');
}

:root {
  --petrol: #0E5C63;
  --petrol-dark: #0A464B;
  --kupfer: #B85D26;
  --tiefsee: #16282C;
  --dunst: #E4ECEB;
  --nebel: #F4F7F6;
  --white: #FFFFFF;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--tiefsee);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--tiefsee);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--kupfer);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.lede {
  font-size: 1.15rem;
  color: #3A4C50;
  max-width: 640px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--kupfer);
  color: var(--white);
}
.btn-primary:hover { background: #a3541f; }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--petrol);
  color: var(--petrol);
}
.btn-outline-dark:hover { background: var(--dunst); }

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--kupfer);
}
.btn-white:hover { background: #FBE8DA; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--dunst);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--tiefsee);
  line-height: 1;
}

.logo-text span { color: var(--kupfer); }

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
  color: var(--petrol);
  text-transform: uppercase;
  margin-top: 2px;
}

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

nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--tiefsee);
  position: relative;
}
nav.main-nav a:hover { color: var(--petrol); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
  font-size: 0.98rem;
}

@media (min-width: 860px) {
  .phone-link { display: inline-flex; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--dunst);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--petrol); }

@media (max-width: 859px) {
  nav.main-nav {
    display: none;
  }
  .nav-toggle { display: inline-flex; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--dunst);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 700;
  color: var(--tiefsee);
  border-bottom: 1px solid var(--dunst);
}
.mobile-menu a:last-child { border-bottom: none; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-dark) 62%);
  color: var(--white);
  padding: 88px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .eyebrow { color: #E9C6A9; }
.hero h1 { color: var(--white); max-width: 780px; }
.hero .lede { color: #D6E4E3; }

.hero-graphic {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 480px;
  max-width: 60vw;
  opacity: 0.5;
  z-index: 1;
}

/* Trust strip */
.trust-strip {
  background: var(--nebel);
  border-bottom: 1px solid var(--dunst);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding-top: 22px;
  padding-bottom: 22px;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--petrol-dark);
}
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Sections */
section { padding: 88px 0; }
.section-nebel { background: var(--nebel); }
.section-header { max-width: 700px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Leistungen / process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--dunst);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--dunst);
  line-height: 1;
  margin-bottom: 10px;
}

.step-card h3 { margin-bottom: 10px; }
.step-card p { margin-bottom: 0; color: #45585C; font-size: 0.98rem; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--dunst);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--petrol); }

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}
.feature-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--kupfer);
  margin-top: 1px;
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

.panel-visual {
  background: var(--petrol);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.panel-visual svg { width: 100%; height: auto; }

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat {
  font-family: var(--font-display);
}
.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--petrol);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: #45585C;
  margin-top: 4px;
}

/* CTA band */
.cta-band {
  background: var(--kupfer);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: #FBE8DA; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--dunst);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--dunst);
}
.contact-row:last-child { border-bottom: none; }
.contact-row svg {
  width: 24px;
  height: 24px;
  color: var(--petrol);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-row a { text-decoration: none; font-weight: 700; color: var(--tiefsee); }
.contact-row a:hover { color: var(--petrol); }
.contact-row .label {
  display: block;
  font-size: 0.82rem;
  color: #6B7C7F;
  font-weight: 600;
  margin-bottom: 2px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
  font-size: 0.92rem;
}
.map-link svg { width: 16px; height: 16px; }

/* Footer */
footer.site-footer {
  background: var(--tiefsee);
  color: #C6D3D2;
  padding: 48px 0 28px;
}
footer.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-brand span { color: var(--kupfer); }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #C6D3D2;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #7E9491;
  text-align: center;
}

/* Legal pages */
.legal-page main {
  padding: 64px 0 96px;
}
.legal-page h1 { margin-bottom: 8px; }
.legal-page .updated {
  color: #6B7C7F;
  font-weight: 600;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 44px;
}
.legal-page p, .legal-page li { color: #2E4044; }
.legal-page a { color: var(--petrol); font-weight: 700; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--petrol);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}
