/* HeesNet Stylesheet — Modern Edition 2025
   by Sven Hees
   hees.net.de
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Mulish:wght@300;400;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:      #0d1b3e;
  --navy-mid:  #152550;
  --navy-soft: #1e3468;
  --gold:      #f5c842;
  --gold-dark: #d4a820;
  --white:     #ffffff;
  --off-white: #f0f2f8;
  --gray:      #8892a4;
  --text:      #1a2540;

  --radius: 6px;
  --shadow: 0 4px 20px rgba(13,27,62,0.15);
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Mulish', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { border: none; max-width: 100%; display: block; }
a   { color: var(--gold-dark); text-decoration: underline; transition: color var(--transition); }
a:hover { color: var(--navy); }
p   { margin-bottom: 1em; text-align: justify; }
h1,h2,h3,h4 { line-height: 1.2; color: var(--navy); }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
}
.site-logo span { color: var(--white); }

.site-nav a {
  color: var(--off-white);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--gold); }

/* ── Main Content Wrapper ──────────────────────────────── */
.main-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

/* ── Hero (Startseite) ─────────────────────────────────── */
.hero {
  background: var(--navy);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(245,200,66,0.05) 39px,
      rgba(245,200,66,0.05) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(245,200,66,0.05) 39px,
      rgba(245,200,66,0.05) 40px
    );
  padding: 5rem 1.5rem;
  text-align: center;
}

.hero__eyebrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero__title em {
  color: var(--gold);
  font-style: normal;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(240,242,248,0.75);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

/* ── Section ───────────────────────────────────────────── */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── Cards ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(13,27,62,0.2);
}

.card__header {
  background: var(--navy);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card__icon {
  font-size: 2rem;
  line-height: 1;
}

.card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.card__body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  font-size: 0.95rem;
  color: #3a4a6a;
}

.card__footer {
  padding: 0.75rem 1.5rem 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--gold-dark);
  color: var(--navy);
}
.btn--ghost {
  border: 2px solid var(--navy-soft);
  color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--gold);
}

/* ── Impressum / Content ───────────────────────────────── */
.content-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.content-box h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.content-box h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.content-box address {
  font-style: normal;
  line-height: 1.9;
}

/* ── Error Page ────────────────────────────────────────── */
.error-page {
  background: var(--navy);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.error-box {
  text-align: center;
  max-width: 640px;
}

.error-gifs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.error-gifs img {
  filter: invert(1) sepia(1) saturate(2) hue-rotate(5deg);
  opacity: 0.9;
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 18vw, 10rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0;
}

.error-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--white);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.error-msg {
  color: rgba(240,242,248,0.7);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  color: rgba(240,242,248,0.65);
  font-size: 0.85rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.site-footer a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 0.5rem;
}
.site-footer a:hover { color: var(--white); }
.site-footer .sep { opacity: 0.4; }

/* ── Utilities ─────────────────────────────────────────── */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .site-nav a   { margin-left: 1rem; font-size: 0.8rem; }
  .content-box  { padding: 1.5rem; }
  .error-gifs img { max-height: 60px; }
}
