/* ==========================================================================
   Dennis Fechner – Hausmeisterservice Lichterfelde
   Basis-Stylesheet
   ========================================================================== */

/* ---------- Lokal eingebundene Schriften ---------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-navy: #262a5e;
  --color-navy-soft: #333868;
  --color-cream: #ece6d5;
  --color-cream-soft: #f4efe2;
  --color-white: #ffffff;
  --color-text: #33364a;
  --color-text-soft: #5a5d72;
  --color-green: #98b449;
  --color-green-dark: #4f6b2a;
  --color-orange: #e8ac3b;
  --color-orange-dark: #c88a24;
  --color-teal: #16a99c;
  --color-teal-dark: #0f7d73;
  --color-gold: #c99a4e;
  --color-border: #ded5bd;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --shadow: 0 20px 45px rgba(38, 42, 94, 0.12);
  --container-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
}

figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a {
  color: var(--color-navy);
  text-decoration: none;
}

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

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

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--color-gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 18px auto 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--color-green-dark);
  color: var(--color-white);
  box-shadow: 0 12px 26px rgba(79, 107, 42, 0.35);
}
.btn-primary:hover { background: #3f5921; color: var(--color-white); }

.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-navy); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(38, 42, 94, 0.6);
  backdrop-filter: blur(6px);
}

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

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand:hover { text-decoration: none; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-white);
}
.brand-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-gold);
  margin-top: 2px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a.active {
  color: var(--color-white);
}
.main-nav a:hover {
  color: var(--color-white);
  text-decoration: none;
  border-bottom-color: var(--color-gold);
}

.main-nav a.nav-highlight {
  color: var(--color-green);
}
.main-nav a.nav-highlight:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: none;
  }
  .main-nav a:hover { border-bottom: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: -92px;
  padding-top: 92px;
  background:
    linear-gradient(100deg, rgba(15, 17, 38, 0.86) 0%, rgba(15, 17, 38, 0.55) 42%, rgba(15, 17, 38, 0.12) 70%),
    url("../images/Header_02.jpg") center 22% / cover no-repeat;
}

.hero-inner {
  max-width: 620px;
  padding: 120px 0 90px;
}

.hero h1 {
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero p.lead {
  font-size: 1.2rem;
  color: #f1ecdd;
  max-width: 44ch;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  margin-top: 32px;
}

@media (max-width: 700px) {
  .hero { min-height: auto; }
  .hero-inner { padding: 70px 0 60px; }
  .hero {
    background:
      linear-gradient(100deg, rgba(15, 17, 38, 0.86) 0%, rgba(15, 17, 38, 0.55) 42%, rgba(15, 17, 38, 0.12) 70%),
      url("../images/Header_02.jpg") 78% 15% / cover no-repeat;
  }
}

/* ---------- Services ---------- */

.services { background: var(--color-cream); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-cream-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-icon.is-green { background: var(--color-green); }
.service-icon.is-orange { background: var(--color-orange); }
.service-icon.is-teal { background: var(--color-teal); }

.service-card h3 {
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: var(--color-text);
}
.service-list li:last-child { margin-bottom: 0; }

.check-badge {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.62rem;
  margin-top: 3px;
}
.check-badge.is-green { background: var(--color-green); }
.check-badge.is-orange { background: var(--color-orange); }
.check-badge.is-teal { background: var(--color-teal); }

.services-note {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-style: italic;
  color: var(--color-text-soft);
}

@media (max-width: 940px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */

.about {
  background: var(--color-navy);
  color: #e3e2ee;
}
.about h2 { color: var(--color-white); }
.about p { color: #cfcfe2; }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-signature {
  width: 190px;
  margin-top: 20px;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > div:first-child { max-width: 320px; margin: 0 auto; }
  .about-signature { margin-left: auto; margin-right: auto; }
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--color-cream-soft);
  text-align: center;
}
.pricing .section-head { margin-bottom: 24px; }
.pricing-text {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}
.pricing-highlight {
  color: var(--color-navy);
  margin-bottom: 14px;
}
.pricing-fineprint {
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

/* ---------- Contact ---------- */

.contact {
  background: var(--color-navy);
  color: var(--color-white);
}
.contact h2 { color: var(--color-white); }
.contact p.lead { color: #cfcfe2; max-width: 44ch; }
.contact p a { color: var(--color-gold); font-weight: 600; }
.contact p a:hover { color: var(--color-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.contact-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-white);
}
.contact-item span, .contact-item a {
  font-size: 0.9rem;
  color: #b9b9d2;
}
.contact-item a:hover { color: var(--color-white); }

.contact-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-disclaimer {
  margin: 6px 0 0;
  font-size: 0.68rem;
  color: #9c9cbb;
  text-align: center;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:last-child { max-width: 420px; margin: 0 auto; order: -1; }
}

/* ---------- FAQ ---------- */

.faq { background: var(--color-cream); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(38, 42, 94, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-cream-soft);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
  background: var(--color-green-dark);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--color-text-soft);
}

/* ---------- Gallery ---------- */

.gallery { background: var(--color-white); }
.gallery .container { max-width: 1500px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(15,17,38,0.85), rgba(15,17,38,0));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.8rem;
}

@media (max-width: 940px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1c1e42;
  color: #b9b9d2;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a { color: #b9b9d2; font-size: 0.9rem; }
.footer-links a:hover { color: var(--color-white); }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #85859f;
}

/* ---------- Legal pages ---------- */

.page-header {
  background: var(--color-navy);
  padding: 150px 0 60px;
  text-align: center;
}
.page-header h1 { color: var(--color-white); }

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 0;
}
.legal-content h2 { margin-top: 1.6em; }
.legal-content .placeholder {
  background: #fff4e0;
  border: 1px dashed var(--color-orange-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-style: italic;
}

/* ---------- Lichterfelde packt an ---------- */

.initiative-header {
  margin-top: -92px;
  padding-top: 242px;
  background:
    linear-gradient(180deg, rgba(38, 42, 94, 0.55) 0%, rgba(38, 42, 94, 0.72) 100%),
    url("../images/Foto_03.png") center 30% / cover no-repeat;
}

.initiative-header .initiative-logo {
  width: 200px;
  margin: 0 auto 24px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.initiative-header .eyebrow { margin-bottom: 0; }

.initiative-intro { background: var(--color-cream-soft); }

.highlight-box {
  background: var(--color-cream);
  border-left: 4px solid var(--color-green-dark);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 24px 0;
  font-weight: 700;
  color: var(--color-navy);
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
