/* ECCK – style.css */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: #f8f6ef;
}

body {
  margin: 0;
  background: #f8f6ef;
  color: #243d33;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

/* ── Skip link ── */
.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  background: #243d33;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  z-index: 9999;
  text-decoration: none;
  outline: 3px solid #936241;
  outline-offset: 3px;
}

/* ── Focus styles ── */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #936241;
  outline-offset: 6px;
  border-radius: 2px;
}

/* ── Link styles ── */
a {
  color: #243d33;
  text-decoration-line: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 0.15s;
}
a:hover {
  text-decoration-thickness: 2px;
}

/* ── Container ── */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ── Header ── */
header {
  border-bottom: 1px solid #d7ddd2;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 23px;
  padding-bottom: 23px;
  flex-wrap: wrap;
}

.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #243d33;
}
.brand:hover {
  text-decoration: none;
}

header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 15px;
  flex-wrap: wrap;
}
header nav a {
  text-decoration: none;
  color: #243d33;
}
header nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
header nav a[aria-current="page"] {
  font-weight: 700;
}

/* ── Main ── */
main.wrap {
  /* uses .wrap for container */
}

/* ── Eyebrow ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0 0;
  color: #243d33;
}

/* ── Hero ── */
.hero {
  max-width: 800px;
  padding-top: 85px;
  padding-bottom: 65px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-top: 23px;
  margin-bottom: 23px;
  color: #243d33;
}

.hero h1 em {
  font-style: italic;
  color: #53725c;
}

.intro {
  max-width: 590px;
  font-size: 20px;
  color: #4e5e52;
  margin: 0;
}

/* ── Button group ── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 13px 23px;
  border: 1px solid #243d33;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: #243d33;
  cursor: pointer;
  transition: opacity 0.15s;
}
.button:hover {
  text-decoration: none;
  opacity: 0.85;
}
.button.primary {
  background: #243d33;
  color: #fff;
}

/* ── Band sections ── */
.band {
  border-top: 1px solid #d7ddd2;
  padding-top: 25px;
  padding-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.band p {
  margin: 0;
}

.muted {
  color: #566459;
}

.band nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 17px;
  text-align: right;
}
.band nav a {
  display: block;
  text-decoration: none;
  color: #243d33;
}
.band nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ── Legal article ── */
article.legal {
  max-width: 760px;
  padding-top: 50px;
  padding-bottom: 65px;
}

article.legal .eyebrow {
  margin-bottom: 0;
}

article.legal h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 7vw, 57px);
  line-height: 1.15;
  margin-top: 13px;
  margin-bottom: 35px;
  color: #243d33;
}

article.legal h2 {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  margin-top: 34px;
  margin-bottom: 0;
}

article.legal h3 {
  font-size: 17px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 0;
}

article.legal p {
  margin-top: 12px;
  margin-bottom: 12px;
}

article.legal address {
  font-style: normal;
  margin-top: 12px;
  margin-bottom: 12px;
}

article.legal ul {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 1.4em;
}

article.legal ul li {
  margin-bottom: 4px;
}

/* ── Contact box (Impressum) ── */
.contact-box {
  background: #eef0e7;
  padding: 24px;
  border-radius: 8px;
  margin-top: 25px;
  margin-bottom: 25px;
}

/* ── Draft notice ── */
.notice {
  background: #ede6d7;
  border-left: 3px solid #88652f;
  padding: 18px 21px;
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 12px;
  border-radius: 0;
}

/* ── Footer ── */
footer {
  border-top: 1px solid #d7ddd2;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 32px;
}

footer span {
  font-size: 14px;
  color: #243d33;
}

footer nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  flex-wrap: wrap;
}
footer nav a {
  text-decoration: none;
  color: #243d33;
}
footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ── Smooth scroll ── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ── Mobile ── */
@media (max-width: 560px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  header .wrap {
    align-items: flex-start;
    gap: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  header nav {
    gap: 12px;
    font-size: 14px;
    padding-top: 7px;
  }

  .hero {
    padding-top: 55px;
    padding-bottom: 44px;
  }

  .intro {
    font-size: 18px;
  }

  article.legal {
    padding-top: 35px;
  }

  .contact-box {
    padding: 18px;
  }

  article.legal a {
    overflow-wrap: anywhere;
  }

  .band {
    flex-direction: column;
  }

  .band nav {
    text-align: left;
  }
}
