/*
Theme Name: KFD.SH Platzhalter
Theme URI: https://kfd.sh/
Author: KFD.SH
Description: Temporäre Platzhalterseite für den neuen Internetauftritt von KFD.SH.
Version: 1.7.0
Text Domain: kfdsh-platzhalter
*/

:root {
  --sh-blue: #003064;
  --sh-blue-dark: #00264f;
  --sh-red: #ec3f58;
  --sh-red-dark: #b40007;
  --sh-slate: #bbc5d0;
  --sh-slate-light: #eef2f5;
  --sh-white: #ffffff;
  --sh-black: #101820;
  --sh-gray: #6e7379;
  --sh-line: #d9e0e6;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--sh-white);
}

body.kfdsh-placeholder {
  min-height: 100vh;
  margin: 0;
  color: var(--sh-black);
  background: var(--sh-white);
  font-family: Avenir, "Avenir Next", Mulish, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero {
  position: relative;
  display: grid;
  flex: 1;
  overflow: hidden;
  min-height: 540px;
  background:
    linear-gradient(110deg, rgba(0, 48, 100, 0.96) 0%, rgba(0, 48, 100, 0.84) 48%, rgba(0, 48, 100, 0.24) 100%),
    linear-gradient(155deg, #7fa4bf 0%, var(--sh-slate) 48%, #dce4e9 100%);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero::before {
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, 0.35) 49% 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, 0.2) 49% 51%, transparent 52%);
  background-size: 140px 82px;
}

.hero::after {
  right: -85px;
  bottom: -170px;
  width: 470px;
  height: 470px;
  border: 85px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 88px) 0;
  align-items: center;
  justify-content: center;
}

.hero-panel {
  width: 100%;
  max-width: 820px;
  padding: clamp(38px, 5vw, 62px);
  border-top: 6px solid var(--sh-red);
  background: var(--sh-white);
  box-shadow: 0 20px 50px rgba(0, 30, 63, 0.2);
  text-align: center;
}

.eyebrow {
  display: flex;
  margin: 0 0 20px;
  color: var(--sh-red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.eyebrow::before {
  width: 34px;
  height: 4px;
  content: "";
  background: var(--sh-red);
}

h1 {
  max-width: 700px;
  margin: 0 auto;
  color: var(--sh-blue);
  font-size: clamp(2.65rem, 4.6vw, 4.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.lead {
  max-width: 700px;
  margin: 25px auto 0;
  color: #354553;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.contact-section {
  max-width: 650px;
  margin: 36px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--sh-line);
  color: var(--sh-blue);
}

.contact-title {
  margin: 0 0 20px;
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-list {
  display: grid;
  max-width: 590px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-link {
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--sh-line);
  color: var(--sh-blue);
  background: var(--sh-slate-light);
  font-size: clamp(1rem, 2.2vw, 1.17rem);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--sh-white);
  background: var(--sh-blue);
  transform: translateY(-2px);
}

.legacy-site {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid var(--sh-line);
}

.legacy-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sh-gray);
  font-size: 0.82rem;
  font-weight: 600;
}

.legacy-link {
  display: inline-flex;
  color: var(--sh-blue);
  font-size: 1rem;
  font-weight: 800;
  text-decoration-color: var(--sh-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  align-items: center;
  gap: 9px;
}

.legacy-link:hover,
.legacy-link:focus-visible {
  color: var(--sh-red-dark);
}

.emergency {
  max-width: 590px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--sh-line);
  color: var(--sh-gray);
  font-size: 0.9rem;
}

.emergency strong {
  color: var(--sh-red-dark);
}

.site-footer {
  color: var(--sh-white);
  background: var(--sh-blue-dark);
}

.footer-inner {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  padding: 18px 0;
  align-items: center;
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 38px 0 46px;
    gap: 25px;
  }

  .hero-panel {
    padding: 27px 23px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .footer-inner {
    display: block;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
