/* isny200.de – Schanzen-Netzelauf */

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0070b6;
  --blue-dark: #005a93;
  --navy: #003e66;
  --gold: #cfbd6b;
  --ink: #2b313a;
  --muted: #5a626e;
  --line: #e3e6ea;
  --photo-bg: #1b2633;
  --gutter: clamp(16px, 5vw, 80px);
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --text: "Inter", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--text);
  font-size: 17px;
  line-height: 27px;
}

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

a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 8px 14px;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Dunkle Flächen (Startseite, Header, Footer) */
.dk a { color: #fff; }
.dk a:hover { color: var(--gold); }
.dk a:focus-visible { outline-color: var(--gold); }

/* ---------- Startseite ---------- */

.page-home { background: var(--blue); color: #fff; }

.hero {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap;
}

.hero__content {
  flex: 999 1 560px;
  min-width: 0;
  padding: 40px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero__logo { align-self: flex-start; }
.hero__logo img { width: 120px; height: 120px; }

.hero__main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  max-width: 720px;
}

.eyebrow {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 150px);
  line-height: 0.88;
}
.hero h1 span { color: var(--gold); }

.lead {
  margin: 0;
  max-width: 560px;
  font-size: 21px;
  line-height: 32px;
}

.contact {
  margin: 0;
  font-size: 17px;
  line-height: 27px;
  color: #e6f0f8;
}
.contact a { font-weight: 600; overflow-wrap: anywhere; }

.hero__photo {
  flex: 1 1 420px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: var(--photo-bg);
}
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}
.hero__photo::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 120px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
/* Bild unterhalb des Textes: Keil oben statt links */
@media (max-width: 1000px) {
  .hero__photo { min-height: 360px; }
  .hero__photo::before {
    top: -1px;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 64px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
}

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

.site-footer { background: var(--blue-dark); color: #fff; }

.site-footer__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  font-size: 14px;
  line-height: 20px;
}
.page-home .site-footer__inner { max-width: none; padding-block: 20px; }

.site-footer__logo img { width: 150px; height: 90px; }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.legal-nav [aria-current="page"] {
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}
.legal-nav__copy { color: #d6e6f2; }

/* ---------- Rechtliche Seiten ---------- */

.page-legal { background: #fff; color: var(--ink); }
.page-legal a { color: var(--blue); }
.page-legal a:hover { color: var(--navy); }
.page-legal .dk a { color: #fff; }
.page-legal .dk a:hover { color: var(--gold); }

.site-header { background: var(--blue); }
.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header__logo img { width: 72px; height: 72px; }
.back-link {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

.legal {
  flex-grow: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 72px) var(--gutter) clamp(56px, 10vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
@media (min-width: 880px) {
  .legal { padding-inline: 32px; }
}

.legal__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 32px;
}
.legal h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
  hyphens: manual;
  overflow-wrap: break-word;
}
.legal__intro {
  margin: 0;
  font-size: 19px;
  line-height: 28px;
  color: var(--muted);
}
.legal section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.legal p { margin: 0; }
.legal ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal a { overflow-wrap: anywhere; }
