:root {
  --black: #000000;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Comic Neue", sans-serif;
}

body {
  background: var(--black);
  color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Comic Neue", sans-serif;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

p {
  font-family: "Comic Neue", sans-serif;
  font-weight: 400;
  color: var(--white);
}

.hero {
  position: relative;
    min-height: 76vh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(130deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.55)),
    url("img/background-image.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 32px clamp(20px, 6vw, 72px);
}

.hero-header {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(12px, 3vh, 28px) 0 clamp(20px, 4vh, 40px);
}

.logo {
    width: clamp(105px, 13vw, 170px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
  padding: 2% 0%;
}

.hero-content {
  margin: auto;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

h1 {
  font-size: clamp(2.2rem, 6.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.hero-content > p {
    margin: 18px auto 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: 620px;
}

.services {
  margin: 36px 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.85rem);
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.slogan {
  margin: 18px 0 0;
  font-weight: 400;
  text-transform: none;
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}

.cta {
  position: relative;
  margin: 40px auto 0;
  width: min(94%, 640px);
  aspect-ratio: 6466 / 6673;
  background-image: url("img/back-box.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.cta-inner {
  position: absolute;
  top: 9%;
  left: 27%;
  right: 10%;
  bottom: 43%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  text-align: left;
}

.cta h2 {
  color: var(--black);
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  line-height: 1.3;
}

.cta p,
.cta address {
  margin: 0;
  color: var(--black);
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  line-height: 1.5;
  font-style: normal;
}

.cta a {
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.cta a:hover,
.cta a:focus-visible {
  text-decoration: none;
}

.owners {
  margin-top: 14px;
  font-weight: 700;
}

.site-footer {
  margin-top: auto;
  padding-top: 26px;
}

.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-bottom-color: var(--white);
}

.legal-body {
  margin: 0;
  min-height: 100vh;
  background-image:
    linear-gradient(130deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
    url("img/background-image.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.legal-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
}

.legal-logo {
  width: clamp(120px, 15vw, 190px);
  display: block;
  margin: 0 auto 22px;
}

.legal-card {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 14px;
  padding: clamp(20px, 3.5vw, 36px);
}

.legal-card h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 24px;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.legal-card h3 {
  margin: 16px 0 8px;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li,
.legal-card address {
  margin: 0 0 10px;
  line-height: 1.6;
  font-size: 1rem;
}

.legal-card ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.legal-card a {
  color: var(--white);
  text-decoration: underline;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  text-decoration: none;
}

.legal-footer {
  margin-top: 18px;
  padding: 12px 2px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.95;
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 16px;
  }

  .hero-content {
    margin-top: auto;
    margin-bottom: auto;
  }

  .cta {
    width: 100%;
    max-width: 420px;
  }

  .cta-inner {
    top: 8%;
    left: 26%;
    right: 9%;
    bottom: 41%;
    gap: 6px;
  }

  .cta h2 {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .cta p,
  .cta address {
    font-size: 0.66rem;
    line-height: 1.35;
  }

  .legal-wrap {
    padding-top: 26px;
  }

  .legal-body {
    background-attachment: scroll;
  }
}

/* Waldwichtel layout */
@font-face { font-family: "Comic Neue"; src: url("fonts/Comic_Neue/ComicNeue-Regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "Comic Neue"; src: url("fonts/Comic_Neue/ComicNeue-Bold.ttf") format("truetype"); font-weight: 700; }
:root { --green: #50a336; --dark: #222222; --line: #dcebd7; }
body { background: #ffffff; color: var(--dark); font-family: "Comic Neue", sans-serif; font-size: 1.05rem; line-height: 1.6; }
a { color: var(--green); }
.hero-page { min-height: 100vh; }
.hero { min-height: 76vh; display: flex; flex-direction: column; background-image: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.68)), url("img/Waldi_header_vorlage_2.jpg"); background-size: cover; background-position: center; padding: 0; }
.site-header { padding: 28px clamp(22px, 5vw, 72px); }
.logo { display: block; width: clamp(105px, 13vw, 170px); height: auto; }
.hero-content { width: 100%; margin: auto auto 10vh; padding: 0 24px; color: var(--green); text-align: center; }
.hero-content h1, .hero-content p { width: 100%; text-align: center; color: var(--green); }
.hero-content h1 { margin: 0; font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.hero-content p { display: block; width: 100%; margin: 18px auto 0; font-size: clamp(1.1rem, 2vw, 1.5rem); text-align: center; }
.site-footer { background: var(--dark); color: #ffffff; padding: 54px clamp(22px, 5vw, 72px) 26px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.35fr 1fr 1.35fr; gap: 36px; max-width: 1280px; margin: 0 auto; }
.footer-box { min-width: 0; }
.footer-logo { width: min(125px, 100%); height: auto; }
.footer-box h2 { color: var(--green); margin: 0 0 10px; font-size: 1.25rem; }
.footer-box p { margin: 0 0 18px; }
.footer-box a { color: #ffffff; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; max-width: 1280px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.footer-nav a { color: #ffffff; text-decoration: none; }
.legal-body { background: #ffffff; }
.legal-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .site-header { max-width: 1280px; margin: 0 auto; }
.legal-main { flex: 1; width: min(980px, calc(100% - 44px)); margin: 0 auto; padding: 72px 0 90px; }
.legal-main h1 { color: var(--green); margin: 0 0 42px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1; }
.legal-main h2 { color: var(--green); margin: 42px 0 12px; font-size: 1.55rem; line-height: 1.2; }
.legal-main h3 { color: var(--dark); margin: 30px 0 8px; font-size: 1.25rem; }
.legacy-content { display: none; }
.legal-main p, .legal-main address, .legal-main li { color: var(--dark); margin: 0 0 16px; font-style: normal; }
.legal-main a { color: var(--green); }
.legal-footer { padding-top: 28px; }
@media (max-width: 850px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-nav { justify-content: flex-start; gap: 12px 18px; } .legal-main { padding-top: 46px; } }
