:root {
  --bg: #080808;
  --bg-elevated: #101214;
  --bg-panel: rgba(16, 18, 20, 0.88);
  --line: rgba(199, 139, 74, 0.28);
  --blue: #c78b4a;
  --blue-soft: rgba(199, 139, 74, 0.12);
  --text: #e8eef4;
  --muted: #9aa6b2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Bahnschrift", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(199, 139, 74, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(199, 139, 74, 0.08), transparent 50%),
    linear-gradient(180deg, #0a0c0e 0%, var(--bg) 42%, #050607 100%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #e0ad72; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 1000;
  background: var(--blue);
  color: #041018;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(199, 139, 74, 0.45));
  animation: brandFloat 3.2s ease-in-out infinite;
}

@keyframes brandFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.brand__name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav__link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--white);
  border-color: var(--line);
  background: var(--blue-soft);
}

.site-nav__link--admin {
  color: var(--blue);
  border-color: rgba(199, 139, 74, 0.35);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.88) 0%, rgba(5, 6, 8, 0.55) 48%, rgba(5, 6, 8, 0.25) 100%),
    radial-gradient(circle at 70% 40%, rgba(199, 139, 74, 0.22), transparent 42%),
    url("/assets/logo.png") right 8% center / min(42vw, 520px) no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px 88px;
  animation: riseIn 0.8s ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  text-shadow: 0 0 28px rgba(199, 139, 74, 0.35);
  margin: 0 0 18px;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  border-top: 1px solid rgba(199, 139, 74, 0.18);
}

.offer-list li {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(199, 139, 74, 0.18);
}

.offer-list strong {
  font-size: 1.05rem;
  color: var(--text);
}

.offer-list span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.section--alt {
  border-top: 1px solid rgba(199, 139, 74, 0.12);
  border-bottom: 1px solid rgba(199, 139, 74, 0.12);
  background: rgba(0, 0, 0, 0.22);
}

.link-rows {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(199, 139, 74, 0.18);
  color: inherit;
}

.link-row:first-child {
  border-top: 1px solid rgba(199, 139, 74, 0.18);
}

.link-row__label {
  grid-column: 1;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.link-row__desc {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.link-row__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--blue);
  font-size: 1.25rem;
}

.link-row:hover .link-row__label,
.link-row:hover .link-row__go {
  color: #e0ad72;
}

.contact-line {
  margin: 0;
  font-size: 1.15rem;
}

.contact-line a {
  font-weight: 700;
}

body.page-ki {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-ki .ki-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}


.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #041018;
}
.btn-primary:hover {
  background: #58b0ea;
  color: #041018;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--blue-soft);
  color: var(--white);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.section__text {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 22px;
  border: 1px solid rgba(199, 139, 74, 0.18);
  border-radius: var(--radius);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  animation: riseIn 0.7s ease both;
}

.feature:nth-child(2) { animation-delay: 0.08s; }
.feature:nth-child(3) { animation-delay: 0.16s; }

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px 24px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}

.page-hero p {
  max-width: 42rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 22px 80px;
  line-height: 1.7;
  color: var(--text);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.prose p,
.prose li { color: var(--muted); }

.site-footer {
  border-top: 1px solid rgba(199, 139, 74, 0.16);
  background: rgba(0, 0, 0, 0.35);
  margin-top: 40px;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 22px 28px;
}

.site-footer__brand p {
  color: var(--muted);
  margin: 8px 0 0;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.site-footer__cols h3 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer__cols a {
  display: block;
  color: var(--muted);
  margin: 6px 0;
  font-size: 0.95rem;
}

.site-footer__copy {
  margin: 28px 0 0;
  color: #6d7883;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 14, 16, 0.96);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-banner button {
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #041018;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}

.footer-admin-btn {
  display: block;
  margin: 6px 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-admin-btn:hover { color: #e0ad72; }

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}
.admin-modal[hidden] { display: none !important; }
.admin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.admin-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 26px 22px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 14, 16, 0.98);
  box-shadow: var(--shadow);
}
.admin-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}
.admin-modal__logo {
  height: 48px;
  margin: 0 auto 12px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(199, 139, 74, 0.45));
}
.admin-modal__panel h2 {
  margin: 0;
  text-align: center;
  color: var(--blue);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-modal__hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 6px 0 18px;
}
.admin-modal__error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.admin-modal__panel label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.admin-modal__panel input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0a;
  color: var(--text);
  font-size: 0.95rem;
}
.admin-modal__panel input:focus {
  outline: none;
  border-color: rgba(199, 139, 74, 0.55);
}
.admin-modal__panel button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #041018;
  font-weight: 700;
  cursor: pointer;
}
.admin-modal__panel button[type="submit"]:hover { background: #58b0ea; }

@media (max-width: 900px) {
  .feature-grid,
  .site-footer__cols {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open { display: flex; }

  .hero__media {
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.72), rgba(5, 6, 8, 0.92)),
      radial-gradient(circle at 50% 20%, rgba(199, 139, 74, 0.2), transparent 48%);
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
