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

:root {
  --blue:        #1a6bbf;
  --blue-dark:   #0d4a8a;
  --blue-light:  #e8f1fb;
  --text:        #1a1a1a;
  --text-muted:  #555;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --border:      #dce3ec;
  --radius:      6px;
  --shadow:      0 2px 8px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Nav ──────────────────────────────────────────────── */
.nav {
  background: var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-brand span { color: #7ec8f7; }

.nav-links {
  list-style: none;
  display: flex;
  gap: .25rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  padding: .45rem .9rem;
  border-radius: var(--radius);
  font-size: .95rem;
  transition: background .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
  text-decoration: none;
}

/* hamburger — checkbox hack, no JS */
.nav-toggle { display: none; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
.nav-hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

@media (max-width: 640px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    padding: .75rem 1.25rem 1.25rem;
    gap: .15rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .nav-toggle:checked ~ .nav-inner .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #3a92d8 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.25rem 4rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none;
}

/* ── Sections ─────────────────────────────────────────── */
.section {
  padding: 4rem 1.25rem;
}

.section--alt { background: var(--gray-light); }
.section--blue { background: var(--blue-light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: .5rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── Services Grid ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .6rem;
}

.service-card p { color: var(--text-muted); font-size: .95rem; }

/* ── Gallery ──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--blue);
  color: var(--blue-dark);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

/* ── About ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.about-img-placeholder {
  background: var(--blue-light);
  border: 2px dashed var(--blue);
  border-radius: 10px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-weight: 600;
}

.about-text p + p { margin-top: 1rem; }

/* ── USP / Stats ──────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat-item span { font-size: .95rem; color: var(--text-muted); }

/* ── Contact Page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-info p { margin-bottom: .75rem; color: var(--text-muted); }
.contact-info strong { color: var(--text); display: block; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1.25rem;
}

/* ── Impressum ────────────────────────────────────────── */
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 2rem 0 .5rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content address { color: var(--text-muted); font-style: normal; line-height: 1.7; }
.legal-content p + p { margin-top: .5rem; }

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 3rem 1.25rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; }
.page-hero p { opacity: .85; margin-top: .5rem; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85rem;
}

.footer-col p, .footer-col address { font-style: normal; font-size: .9rem; line-height: 1.7; }

.footer-links { list-style: none; }
.footer-links li + li { margin-top: .4rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
