* {
  box-sizing: border-box;
}

:root {
  --bg-dark: #081a2d;
  --bg-dark-2: #0b223b;
  --bg-dark-3: #102b47;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --surface-soft-2: #edf3f9;
  --text: #142231;
  --text-soft: #5c6b7a;
  --text-on-dark: rgba(255, 255, 255, 0.88);
  --white: #ffffff;
  --line: rgba(11, 31, 51, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --brand: #f0c24b;
  --brand-strong: #ffcf54;
  --brand-dark: #b98a15;
  --shadow-soft: 0 18px 48px rgba(5, 15, 28, 0.08);
  --shadow-strong: 0 24px 60px rgba(5, 15, 28, 0.24);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-height: 110px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(65, 116, 185, 0.08), transparent 26%),
    linear-gradient(180deg, #f9fbfd 0%, #ffffff 22%, #f7fbff 100%);
  line-height: 1.6;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  height: var(--header-height);
  background: rgba(8, 26, 45, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 26, 45, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 35px rgba(2, 10, 20, 0.28);
}

.site-header .container {
  width: min(1440px, calc(100% - 36px));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 176px;
  width: auto;
  display: block;
  object-fit: contain;
}

.register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 204px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(240, 194, 75, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 194, 75, 1) 0%, rgba(255, 214, 90, 1) 100%);
  color: #0b1f33;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(240, 194, 75, 0.18);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(240, 194, 75, 0.26);
}

.register-btn.logged-in:hover,
#openRegisterModal.logged-in:hover,
#openRegisterModal.is-logged-in:hover {
  background: linear-gradient(135deg, #c73232 0%, #aa1f1f 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(199, 50, 50, 0.24);
}

.register-btn.logged-out:hover,
#openRegisterModal.logged-out:hover {
  color: #0b1f33;
}

.site-header .container.nav,
.site-header nav,
.nav-links,
.nav-dropdown {
  overflow: visible;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin: 0 0 0 auto;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
}

.nav-links a,
.dropdown-toggle {
  font-weight: 700;
  font-size: 0.97rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  line-height: 1;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 194, 75, 0), rgba(240, 194, 75, 1), rgba(240, 194, 75, 0));
  transform: scaleX(0.3);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-links a:visited {
  color: rgba(255, 255, 255, 0.96);
}

.nav-links a:hover {
  color: #ffd86f;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a:active {
  color: #ffffff;
}

/* DROPDOWN */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: color 0.2s ease;
}

.dropdown-toggle:hover {
  color: #ffd86f;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 230px;
  background: rgba(9, 26, 45, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 4000;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f4c542;
}

.dropdown-menu.open,
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* HERO */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  margin: calc(var(--header-height) * -1) 0 0;
  padding: calc(var(--header-height) + 56px) 0 80px;
  background: linear-gradient(135deg, #0a1b2d, #102844 55%, #16395c);
}

.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5, 16, 31, 0.88) 8%, rgba(6, 18, 34, 0.74) 42%, rgba(5, 18, 35, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 16, 31, 0.2) 0%, rgba(5, 16, 31, 0.55) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-left {
  width: 240px;
  height: 240px;
  left: -30px;
  top: 110px;
  background: rgba(240, 194, 75, 0.18);
  animation: floatGlow 9s ease-in-out infinite;
}

.hero-glow-right {
  width: 320px;
  height: 320px;
  right: -60px;
  bottom: 70px;
  background: rgba(88, 146, 224, 0.15);
  animation: floatGlow 11s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
  gap: 34px;
  align-items: center;
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  margin: 0 0 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffde82;
  border: 1px solid rgba(240, 194, 75, 0.22);
  background: rgba(240, 194, 75, 0.08);
}

.hero-content h1 {
  margin: 0 0 22px;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-text {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.94rem;
}

.hero-info-card {
  color: #ffffff;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(240, 194, 75, 0.14);
  border: 1px solid rgba(240, 194, 75, 0.22);
  color: #ffde82;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-info-card h2 {
  margin: 0 0 20px;
  font-size: 1.75rem;
  line-height: 1.15;
}

.hero-steps {
  display: grid;
  gap: 14px;
}

.hero-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 194, 75, 1) 0%, rgba(255, 214, 90, 1) 100%);
  color: #0b1f33;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero-step strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.hero-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 0.97rem;
}

.hero-card-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-footer strong {
  display: block;
  margin-bottom: 6px;
}

.hero-card-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.22s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(240, 194, 75, 1) 0%, rgba(255, 214, 90, 1) 100%);
  color: #0b1f33;
  box-shadow: 0 16px 32px rgba(240, 194, 75, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(240, 194, 75, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary-dark {
  color: var(--text);
  border-color: rgba(11, 31, 51, 0.12);
  background: rgba(11, 31, 51, 0.04);
}

.btn-secondary-dark:hover {
  background: rgba(11, 31, 51, 0.08);
  color: var(--text);
}

.btn-about,
.btn-about:visited,
.btn-about:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: #0b1f33;
  color: #ffffff;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 800;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-about:hover,
.btn-about:focus,
.btn-about:focus-visible {
  background: #163a63;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11, 31, 51, 0.18);
  outline: none;
}

.primary-btn,
.secondary-btn,
.auth-secondary-btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.primary-btn {
  border: none;
  background: linear-gradient(135deg, #ffd54a 0%, #ffb800 100%);
  color: #0b1f33;
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn,
.auth-secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.secondary-btn:hover,
.auth-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* SECTIONS */

.section {
  padding: 104px 0;
}

.section-light {
  background: linear-gradient(180deg, #f6fafe 0%, #eef5fb 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light .section-kicker {
  color: #ffffff;
}

.section-heading.light p,
.section-heading.light .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #846219;
}

.section h2,
.section-heading h2,
.about-text h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-heading p,
.about-text p,
.appointment-intro,
.reviews-intro {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--text-soft);
}

/* TRUST */

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 0 24px;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  border-radius: 22px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.trust-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(240, 194, 75, 0.12);
  color: #8b6714;
  font-weight: 700;
  font-size: 0.86rem;
}

.trust-item h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.trust-item p {
  margin: 0;
  color: var(--text-soft);
}

/* SERVICES */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 249, 253, 0.96) 100%);
  border: 1px solid rgba(11, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 194, 75, 0.18) 0%, rgba(240, 194, 75, 0) 70%);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(5, 15, 28, 0.12);
  border-color: rgba(240, 194, 75, 0.3);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(10, 34, 59, 1) 0%, rgba(20, 59, 95, 1) 100%);
  color: #ffd86f;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 14px 32px rgba(10, 34, 59, 0.18);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
}

/* ABOUT */

.about-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.premium-about-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.about-text {
  padding-right: 10px;
}

.about-feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 6px;
}

.about-feature {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbfe 0%, #f2f7fb 100%);
  border: 1px solid rgba(11, 31, 51, 0.06);
}

.about-feature strong {
  color: var(--text);
}

.about-feature span {
  color: var(--text-soft);
}

.about-spotlight-card,
.legal-card {
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(9, 26, 45, 0.96) 0%, rgba(11, 31, 51, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.spotlight-kicker {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffd86f;
}

.about-spotlight-card h3,
.legal-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.6rem;
  line-height: 1.15;
  color: #ffffff;
}

.about-spotlight-card ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.spotlight-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

/* PROCESS */

.section-dark-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(240, 194, 75, 0.08), transparent 26%),
    linear-gradient(135deg, #08192c 0%, #0a2239 48%, #0e2b46 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.process-card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240, 194, 75, 1) 0%, rgba(255, 214, 90, 1) 100%);
  color: #0b1f33;
  font-weight: 800;
  font-size: 1.1rem;
}

.process-card h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* REVIEWS */

.reviews-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.premium-reviews-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 251, 254, 1) 100%);
  border: 1px solid rgba(11, 31, 51, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(5, 15, 28, 0.12);
  border-color: rgba(240, 194, 75, 0.28);
}

.review-stars {
  color: #f0c24b;
  font-size: 1.12rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 18px;
}

.review-author {
  font-weight: 800;
  color: var(--text);
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(11, 31, 51, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: #8c6c1c;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--text-soft);
}

/* NEWS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-card {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(9, 26, 45, 0.98) 0%, rgba(16, 43, 71, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(240, 194, 75, 0.14);
  color: #ffde82;
  font-weight: 700;
  font-size: 0.85rem;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.news-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* APPOINTMENT */

.appointment-section {
  background: #ffffff;
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.55fr);
  gap: 26px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(8, 26, 45, 0.98) 0%, rgba(12, 36, 60, 0.98) 100%),
    linear-gradient(180deg, #0b1f33 0%, #163a63 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: var(--shadow-strong);
}

.appointment-panel h2,
.appointment-panel .section-kicker,
.appointment-panel .appointment-intro {
  color: #ffffff;
}

.appointment-panel .section-kicker {
  color: #ffd86f;
}

.appointment-panel .appointment-intro {
  color: rgba(255, 255, 255, 0.8);
}

.appointment-actions-box {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.appointment-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.appointment-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
}

/* MODAL */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 29, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 5000;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(11, 31, 51, 0.06);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #0b1f33;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

.modal-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0b1f33;
  font-size: 1.78rem;
}

.modal-intro {
  color: #475569;
  margin-bottom: 24px;
  line-height: 1.65;
}

.appointment-helper {
  margin-top: 14px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.6;
}

.modal-actions {
  margin-top: 22px;
}

.appointment-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 10px;
}

.mode-card {
  border: 1px solid #dbe3ea;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f7fb 100%);
  border-radius: 20px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mode-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
}

.mode-card.active {
  border-color: #0b1f33;
  background: #eef4fb;
  box-shadow: 0 10px 24px rgba(11, 31, 51, 0.08);
}

.mode-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1f33;
  margin-bottom: 6px;
}

.mode-text {
  display: block;
  color: #475569;
  line-height: 1.55;
}

.appointment-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 700;
  color: #0b1f33;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  font-size: 1rem;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0b1f33;
  box-shadow: 0 0 0 4px rgba(11, 31, 51, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.full-width {
  margin-top: 18px;
}

/* QUICK LINKS */

.quick-links-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.quick-links-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-link-card {
  display: grid;
  gap: 6px;
  min-height: 150px;
  padding: 24px;
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 51, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(5, 15, 28, 0.12);
  border-color: rgba(240, 194, 75, 0.3);
}

.quick-link-card strong {
  font-size: 1.08rem;
}

.quick-link-card span {
  color: var(--text-soft);
}

/* LEGAL */

.legal-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.legal-card p {
  color: rgba(255, 255, 255, 0.8);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* FOOTER */

.site-footer {
  background: linear-gradient(180deg, #09182a 0%, #071321 100%);
  color: #ffffff;
  padding: 34px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.6fr));
  gap: 24px;
  padding-bottom: 24px;
}

.footer-brand {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 1.12rem;
}

.footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 440px;
}

.footer-title {
  margin: 0 0 12px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffd86f;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* AUTH MODAL */

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: none;
}

.auth-modal.active {
  display: block;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 24, 0.68);
  backdrop-filter: blur(6px);
}

.auth-modal-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 470px);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  margin: 110px auto 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 26px;
  padding: 26px 24px 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(11, 31, 51, 0.06);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #0b1f33;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}

.auth-tab {
  flex: 1;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: #edf2f7;
  color: #0b1f33;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.active {
  background: #f4c542;
}

.auth-panel h2 {
  margin: 0 0 18px;
  color: #0b1f33;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-form label {
  font-weight: 600;
  color: #0b1f33;
}

.auth-form input {
  height: 48px;
  border: 1px solid #d7dde5;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1rem;
}

.auth-submit {
  margin-top: 12px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0c24b 0%, #ffd65a 100%);
  color: #0b1f33;
  font-weight: 800;
  cursor: pointer;
}

.auth-user-box {
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.auth-user-box p {
  margin: 0 0 12px;
  color: #0b1f33;
  font-weight: 600;
}

.hidden {
  display: none;
}

/* SIDE MENU */

.top-tools {
  list-style: none;
  display: flex;
  align-items: center;
}

.top-tools-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.top-tools-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: 0.25s ease;
}

.top-tools-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 194, 75, 0.24);
}

.top-tools-btn:hover span {
  background: #f3c969;
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 5100;
  pointer-events: none;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 26, 45, 0.98) 0%, rgba(11, 31, 51, 1) 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.28);
  padding: 90px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.side-menu.active {
  pointer-events: auto;
}

.side-menu.active .side-menu-backdrop {
  opacity: 1;
}

.side-menu.active .side-menu-panel {
  transform: translateX(0);
}

.side-menu-close {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.side-menu-close:hover {
  color: #f3c969;
}

.side-menu-panel h3 {
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-menu-nav a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 14px;
  transition: 0.2s ease;
}

.side-menu-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f3c969;
}

.side-menu-actions {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.side-menu-actions button {
  width: 100%;
}

/* STATUS */

.status-message {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.status-message.info {
  color: #1d4ed8;
}

.status-message.success {
  color: #15803d;
}

.status-message.error {
  color: #dc2626;
}

/* REVEAL ANIMATION */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   PROFILSEITE
========================= */

.profile-page {
  background: linear-gradient(180deg, #081521 0%, #0b1f33 100%);
  min-height: 100vh;
  color: #ffffff;
}

.profile-page .site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  background-color: rgba(11, 31, 51, 0.99);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-page .logo-img {
  height: 116px;
  width: auto;
  display: block;
  max-width: none;
  object-fit: contain;
}

.profile-page .header-left {
  display: flex;
  align-items: center;
}

.profile-login-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.12);
  color: #ffcc00;
  font-weight: 700;
  white-space: nowrap;
}

.profile-main {
  padding: 120px 0 70px;
}

.profile-hero {
  padding: 20px 0 10px;
}

.profile-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
  color: #ffffff;
}

.profile-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.profile-section {
  padding: 20px 0 60px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.profile-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.profile-page .form-group {
  display: flex;
  flex-direction: column;
}

.profile-page .form-group-full {
  grid-column: 1 / -1;
}

.profile-page .form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.profile-page .form-group input {
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 16px;
  font-size: 1rem;
  outline: none;
}

.profile-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.profile-page .form-group input:focus {
  border-color: rgba(255, 204, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.profile-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.profile-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
  display: none;
}

.profile-status.success,
.profile-status.error,
.profile-status.info {
  display: block;
}

.profile-status.success {
  background: rgba(36, 201, 124, 0.12);
  color: #7ff0b2;
  border: 1px solid rgba(36, 201, 124, 0.25);
}

.profile-status.error {
  background: rgba(255, 77, 77, 0.12);
  color: #ff9d9d;
  border: 1px solid rgba(255, 77, 77, 0.25);
}

.profile-status.info {
  background: rgba(255, 204, 0, 0.12);
  color: #ffe17a;
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.profile-page .side-menu {
  position: fixed;
  inset: 0;
  z-index: 4500;
  pointer-events: none;
}

.profile-page .side-menu.active {
  pointer-events: auto;
}

.profile-page .side-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-page .side-menu.active .side-menu-backdrop {
  opacity: 1;
}

.profile-page .side-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: min(360px, 90vw);
  height: 100%;
  background: #0b1f33;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.28);
  padding: 90px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.profile-page .side-menu.active .side-menu-panel {
  transform: translateX(0);
}

.profile-page .side-menu-close {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.profile-page .side-menu-close:hover {
  color: #f3c969;
}

.profile-page .side-menu-panel h3 {
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.profile-page .side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-page .side-menu-nav a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.profile-page .side-menu-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f3c969;
}

/* =========================
   ADMINSEITE
========================= */

.admin-page {
  background: linear-gradient(180deg, #081521 0%, #0b1f33 100%);
  min-height: 100vh;
  color: #ffffff;
}

.admin-main {
  padding-bottom: 80px;
}

.admin-hero {
  padding: 70px 0 30px;
}

.admin-hero h1 {
  margin-bottom: 12px;
  color: #ffffff;
}

.admin-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.admin-section {
  padding: 20px 0 60px;
}

.admin-status {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 600;
  display: none;
}

.admin-status.success,
.admin-status.error,
.admin-status.info {
  display: block;
}

.admin-status.success {
  background: rgba(80, 170, 90, 0.15);
  border: 1px solid rgba(80, 170, 90, 0.35);
  color: #b9efc0;
}

.admin-status.error {
  background: rgba(200, 40, 40, 0.16);
  border: 1px solid rgba(200, 40, 40, 0.35);
  color: #ffd1d1;
}

.admin-status.info {
  background: rgba(240, 194, 75, 0.14);
  border: 1px solid rgba(240, 194, 75, 0.28);
  color: #ffe89a;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.admin-card {
  background: rgba(11, 31, 51, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-card-head h2,
.admin-card-head h3 {
  margin: 0;
  color: #ffffff;
}

.admin-subsection {
  margin-top: 30px;
}

.admin-empty {
  opacity: 0.78;
  color: rgba(255, 255, 255, 0.78);
}

.admin-appointments-list,
.admin-availability-list {
  display: grid;
  gap: 16px;
}

.admin-appointment-card,
.admin-availability-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.admin-appointment-top,
.admin-availability-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-appointment-top h3 {
  margin: 0 0 6px;
  color: #ffffff;
}

.admin-appointment-top p,
.admin-appointment-body p,
.admin-availability-card p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.admin-appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-pending {
  background: rgba(240, 194, 75, 0.18);
  color: #f0c24b;
  border: 1px solid rgba(240, 194, 75, 0.35);
}

.status-accepted,
.status-booked {
  background: rgba(80, 170, 90, 0.18);
  color: #97f2a3;
  border: 1px solid rgba(80, 170, 90, 0.35);
}

.status-declined,
.status-cancelled {
  background: rgba(200, 40, 40, 0.18);
  color: #ffb3b3;
  border: 1px solid rgba(200, 40, 40, 0.35);
}

.admin-page .form-group label {
  color: #ffffff;
}

.admin-page .form-group input,
.admin-page .form-group select {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.admin-page .form-group input:focus,
.admin-page .form-group select:focus {
  border-color: rgba(255, 204, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.admin-page .side-menu-nav a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  padding: 14px 16px;
  border-radius: 12px;
  transition: 0.2s ease;
}

.admin-page .side-menu-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f3c969;
}

/* TARIFRECHNER */

.tarifrechner-page {
  --calc-page-width: 1320px;
  --calc-card-width: 1180px;
  --calc-side-width: 980px;
  --calc-visible-height: 980px;
  --calc-inner-height: 4200px;

  background:
    radial-gradient(circle at top left, rgba(42, 92, 153, 0.18), transparent 35%),
    linear-gradient(180deg, #071829 0%, #0a1d31 100%);
  color: #ffffff;
}

.tarifrechner-main {
  padding-top: 0;
}

.calc-hero .container,
.calc-trust-strip .container,
.calc-widget-section .container,
.calc-bottom-cta .container {
  width: min(var(--calc-page-width), calc(100% - 56px));
}

.calc-hero {
  padding: 70px 0 34px;
}

.calc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 390px);
  gap: 24px;
  align-items: stretch;
}

.calc-kicker,
.calc-section-label {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #f4c542;
}

.calc-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  max-width: 760px;
}

.calc-lead {
  margin: 0 0 28px;
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.calc-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.calc-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.calc-benefit {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.calc-benefit strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
}

.calc-benefit span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.55;
}

.calc-hero-card {
  max-width: 100%;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.calc-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.14);
  border: 1px solid rgba(244, 197, 66, 0.28);
  color: #ffd24a;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.calc-hero-card h2 {
  margin: 0 0 20px;
  color: #ffffff;
}

.calc-step-list {
  display: grid;
  gap: 16px;
}

.calc-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f4c542;
  color: #0b1f33;
  font-weight: 800;
}

.calc-step-item strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.calc-step-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.calc-trust-strip {
  padding: 0 0 32px;
}

.calc-trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-trust-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.calc-widget-section {
  padding: 10px 0 70px;
}

.calc-widget-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.calc-widget-card,
.calc-side-card,
.calc-bottom-cta-inner {
  width: 100%;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.calc-widget-card {
  max-width: var(--calc-card-width);
  margin: 0 auto;
  padding: 24px;
}

.calc-widget-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.calc-widget-head h2 {
  margin: 0;
  color: #ffffff;
}

.calc-widget-note {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  text-align: left;
  line-height: 1.6;
}

.calc-widget-frame {
  position: relative;
  height: var(--calc-visible-height);
  min-height: var(--calc-visible-height);
  border-radius: 22px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.calc-widget-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #0b1f33;
  text-align: center;
}

.calc-loading-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(11, 31, 51, 0.12);
  border-top-color: #0b1f33;
  animation: calcSpin 0.8s linear infinite;
}

@keyframes calcSpin {
  to {
    transform: rotate(360deg);
  }
}

#egon-root {
  width: 100%;
  min-height: var(--calc-inner-height);
  background: #ffffff;
}

#egon-root iframe {
  width: 100% !important;
  min-height: var(--calc-inner-height) !important;
  height: var(--calc-inner-height) !important;
  border: 0 !important;
  display: block !important;
  background: #ffffff !important;
}

.calc-side-card {
  max-width: var(--calc-side-width);
  margin: 0 auto;
  padding: 24px;
}

.calc-side-card h3 {
  margin: 0 0 18px;
  color: #ffffff;
  line-height: 1.2;
}

.calc-side-list {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.calc-side-list li + li {
  margin-top: 8px;
}

.calc-side-cta {
  margin-top: 22px;
}

.calc-bottom-cta {
  padding: 0 0 80px;
}

.calc-bottom-cta-inner {
  max-width: var(--calc-card-width);
  margin: 0 auto;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.calc-bottom-cta-inner h2 {
  margin: 0 0 10px;
  color: #ffffff;
}

.calc-bottom-cta-inner p:last-child {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.calc-bottom-actions {
  flex: 0 0 auto;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .services-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tarifrechner-page {
    --calc-page-width: 1240px;
    --calc-card-width: 1080px;
    --calc-side-width: 940px;
    --calc-visible-height: 940px;
    --calc-inner-height: 3600px;
  }

  .calc-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .admin-grid,
  .hero-shell,
  .faq-layout,
  .quick-links-grid,
  .appointment-panel,
  .legal-grid,
  .premium-about-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip-grid,
  .process-grid,
  .premium-reviews-grid,
  .reviews-grid,
  .quick-links-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .appointment-mode-switch,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 22px;
  }

  .site-header {
    height: auto;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    height: auto;
    min-height: var(--header-height);
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-banner {
    min-height: auto;
    padding-top: 180px;
  }

  .logo-img {
    height: 64px;
  }

  .profile-page .logo-img {
    height: 64px;
  }

  .tarifrechner-page {
    --calc-page-width: 1100px;
    --calc-card-width: 100%;
    --calc-side-width: 100%;
    --calc-visible-height: 860px;
    --calc-inner-height: 3000px;
  }

  .calc-hero {
    padding: 46px 0 24px;
  }

  .calc-hero-grid {
    grid-template-columns: 1fr;
  }

  .calc-widget-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-widget-note {
    max-width: none;
  }

  .calc-bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-widget-card,
  .calc-side-card,
  .calc-bottom-cta-inner,
  .calc-hero-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 84px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.25rem, 8vw, 3.2rem);
  }

  .hero-info-card,
  .service-card,
  .review-card,
  .news-card,
  .trust-item,
  .quick-link-card,
  .about-spotlight-card,
  .legal-card,
  .appointment-panel {
    padding: 22px;
  }

  .register-btn {
    min-width: auto;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .profile-main {
    padding: 100px 0 50px;
  }

  .profile-card {
    padding: 22px;
  }

  .profile-page .form-grid {
    grid-template-columns: 1fr;
  }

  .admin-card {
    padding: 20px;
  }

  .admin-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-appointment-actions {
    flex-direction: column;
  }

  .admin-appointment-actions button {
    width: 100%;
  }

  .auth-modal-content {
    margin-top: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-banner {
    padding-top: 165px;
    padding-bottom: 64px;
  }

  .hero-buttons,
  .hero-trust-pills,
  .appointment-points,
  .legal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn,
  .appointment-actions-box .btn,
  .legal-actions .btn {
    width: 100%;
  }

  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .tarifrechner-page {
    --calc-page-width: 100%;
    --calc-card-width: 100%;
    --calc-side-width: 100%;
    --calc-visible-height: 760px;
    --calc-inner-height: 2400px;
  }

  .calc-hero .container,
  .calc-trust-strip .container,
  .calc-widget-section .container,
  .calc-bottom-cta .container {
    width: min(100%, calc(100% - 22px));
  }

  .calc-hero-copy h1 {
    font-size: 2rem;
  }

  .calc-widget-card,
  .calc-side-card,
  .calc-bottom-cta-inner,
  .calc-hero-card {
    padding: 18px;
    border-radius: 22px;
  }
}

.external-landing-wrap {
  width: 110%;
  max-width: 19200px;
  margin: 30000px auto;
  padding: 0;
}

.external-landing-wrap iframe {
  width: 100%;
  height: 20000px;
  border: none;
  border-radius: 2400px;
}
/* Ganz wichtig: NICHT in deinen normalen .container mit max-width packen */

.esos-section {
  width: 100%;
  margin: 0;
  padding: 24px 0 60px;
}

.esos-fullbleed {
  width: min(98vw, 1920px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.esos-fullbleed iframe {
  display: block;
  width: 100%;
  height: 2200px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}