:root {
  --bg: #f4f3ef;
  --bg-soft: #faf9f5;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #121212;
  --text-soft: #525252;
  --text-muted: #808080;
  --line: rgba(18, 18, 18, 0.1);
  --line-strong: rgba(18, 18, 18, 0.16);
  --shadow-soft: 0 12px 30px rgba(18, 18, 18, 0.05);
  --shadow-lift: 0 18px 40px rgba(18, 18, 18, 0.12);
  --motion-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --sidebar-width: 256px;
  --content-width: 980px;
}

html[data-theme="dark"] {
  --bg: #0f1115;
  --bg-soft: #151821;
  --surface: rgba(24, 28, 36, 0.84);
  --surface-solid: #1a1f29;
  --text: #f5f7fb;
  --text-soft: #c4c9d4;
  --text-muted: #9198a6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-lift: 0 22px 48px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 88% -8%, rgba(18, 18, 18, 0.04), transparent 16%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 760px;
  height: 760px;
  top: -470px;
  right: -170px;
}

body::after {
  width: 540px;
  height: 540px;
  left: -320px;
  bottom: -280px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 28px;
}

.sidebar {
  position: fixed;
  top: 28px;
  left: 28px;
  bottom: 28px;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: transform 0.35s var(--motion-spring), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface-solid);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.03rem;
}

.brand-copy small {
  color: var(--text-muted);
}

.sidebar-nav {
  display: grid;
  gap: 10px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text-soft);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: var(--line);
  background: var(--surface-solid);
  color: var(--text);
}

.nav-link:hover {
  transform: translateX(4px);
}

.nav-link.is-active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.workspace {
  margin-left: calc(var(--sidebar-width) + 48px);
}

.topbar {
  position: sticky;
  top: 28px;
  z-index: 50;
  width: min(100%, var(--content-width));
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.topbar-pill,
.summary-pill,
.tab-button,
.tag,
.timeline-date,
.lang-switch,
.theme-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.topbar-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  min-width: 44px;
  height: 38px;
  border-radius: 999px;
}

.lang-btn.is-active {
  background: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .lang-btn.is-active {
  background: #ffffff;
  color: #111111;
}

.theme-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--text);
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}


.topbar-link {
  color: var(--text);
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.content-stack {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  display: grid;
  gap: 28px;
  padding-bottom: 36px;
}

.panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, opacity;
}

.panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .panel.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
}

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

.hero-panel h1,
.section-head h2,
.contact-primary h3,
.skill-group h3,
.timeline-main strong {
  margin: 0;
}

.hero-panel h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-role {
  margin: 12px 0 20px;
  font-size: 1.18rem;
  color: var(--text-soft);
}

.lead,
.body-copy,
.section-copy,
.contact-primary p,
.timeline-detail p,
.timeline-detail li,
.contact-list dd {
  color: var(--text-soft);
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.body-copy {
  max-width: 62ch;
  margin: 0;
}

.summary-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.summary-pill {
  min-width: 180px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.summary-pill span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button-dark {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .button-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.button-ghost {
  background: var(--surface-solid);
  color: var(--text);
}

.button-full {
  width: 100%;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-copy {
  max-width: 36ch;
  margin: 0;
}

.tab-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-button {
  padding: 12px 16px;
  cursor: pointer;
  color: var(--text-soft);
}

.tab-button.is-active,
.nav-link.is-active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

html[data-theme="dark"] .tab-button.is-active,
html[data-theme="dark"] .nav-link.is-active {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 1px;
  background: var(--line-strong);
}

.timeline-item {
  position: relative;
  padding-left: 58px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 23px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--text);
}

.timeline-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-solid);
}

.timeline-date {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.timeline-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.timeline-main strong {
  font-size: 1.08rem;
}

.timeline-main small {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.timeline-icon {
  margin-left: auto;
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.timeline-icon::before,
.timeline-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 999px;
}

.timeline-icon::before {
  width: 14px;
  height: 2px;
}

.timeline-icon::after {
  width: 2px;
  height: 14px;
  transition: transform 160ms ease;
}

.timeline-item.is-open .timeline-icon {
  transform: rotate(45deg);
}

.timeline-item .timeline-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  padding: 0 20px 0 20px;
  margin-left: 18px;
}

.timeline-item .timeline-detail > * {
  overflow: hidden;
}

.timeline-item.is-open .timeline-detail {
  grid-template-rows: 1fr;
  padding-top: 14px;
}

.timeline-detail ul {
  margin: 0;
  padding-left: 18px;
}

.timeline-detail li + li {
  margin-top: 8px;
}

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

.skill-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
}

.skill-group h3 {
  font-size: 1.08rem;
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.tag-link {
  text-decoration: none;
}

.tag-link:hover {
  background: #111111;
  color: #ffffff;
}

html[data-theme="dark"] .tag-link:hover {
  background: #ffffff;
  color: #111111;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.contact-primary,
.contact-list {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
}

.contact-primary h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contact-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.contact-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-list dd {
  margin: 0;
}

.contact-list a,
.sidebar-footer a {
  color: inherit;
}

.button,
.tag,
.tab-button,
.nav-link,
.timeline-toggle,
.brand,
.topbar-link,
.theme-toggle,
.lang-btn {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.button:hover,
.tag:hover,
.tab-button:hover,
.topbar-link:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
}

.button:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.button:active,
.tag:active,
.tab-button:active {
  transform: translateY(1px) scale(0.98);
}

.page-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1090;
}

.page-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.28s var(--motion-spring), opacity 0.2s ease;
}

.mobile-nav-toggle span:first-child {
  transform: translateY(-5px);
}

.mobile-nav-toggle span:last-child {
  transform: translateY(5px);
}

.mobile-nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 1180px) {
  :root {
    --sidebar-width: 236px;
  }

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

  .section-copy {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .app-shell {
    padding: 18px;
  }

  .sidebar {
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 320px);
    height: 100vh;
    border-radius: 0 28px 28px 0;
    padding-top: 84px;
    z-index: 1100;
    transform: translateX(-104%);
    transition: transform 0.35s var(--motion-spring), box-shadow 0.25s ease;
    overflow-y: auto;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    top: 18px;
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar-pill {
    min-width: 0;
    flex: 1;
    font-size: 0.88rem;
  }

  .desktop-contact {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .content-stack {
    gap: 16px;
  }

  .panel {
    border-radius: 28px;
    padding: 24px 18px;
  }

  .hero-panel h1 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .hero-role {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .summary-row,
  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .summary-pill,
  .hero-actions .button,
  .contact-actions .button,
  .sidebar-footer .button {
    width: 100%;
  }

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

  .tab-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .timeline-toggle {
    padding: 16px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
  }

  .timeline-date {
    grid-column: 1 / -1;
  }

  .timeline-detail {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 12px;
  }

  .topbar-pill {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .panel {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .hero-panel h1 {
    font-size: 1.8rem;
  }

  .button {
    min-height: 56px;
    border-radius: 18px;
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
}

[hidden] {
  display: none !important;
}

.legal-label {
  margin-top: 4px;
}

.settings-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.legal-box h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.legal-box p + h3 {
  margin-top: 18px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
}

.cookie-banner__inner {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  color: var(--text);
}

.cookie-banner__actions .button {
  min-height: 48px;
}

.cookie-banner__links a {
  color: inherit;
}

@media (min-width: 901px) and (max-width: 1240px) {
  .app-shell {
    padding: 24px;
  }

  .sidebar {
    top: 24px;
    left: 24px;
    bottom: 24px;
  }

  .workspace {
    margin-left: calc(var(--sidebar-width) + 42px);
  }

  .topbar {
    top: 24px;
  }

  .content-stack {
    gap: 22px;
  }

  .panel {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 12px;
  }

  .topbar-pill {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .lang-switch {
    flex: 1 1 auto;
    justify-content: center;
  }

  .panel {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .hero-panel h1 {
    font-size: 1.8rem;
  }

  .button {
    min-height: 54px;
    border-radius: 18px;
    font-size: 0.98rem;
  }

  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  .summary-pill {
    min-width: 0;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__choices,
  .cookie-banner__actions,
  .settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-choice {
    align-items: flex-start;
  }
}



.icon-svg,
.icon-svg svg,
.nav-link i,
.nav-link i svg {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
}

.theme-toggle-icon,
.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 0 16px 16px;
}

.cookie-banner__inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.06), var(--shadow-soft);
  padding: 18px 20px 16px;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cookie-banner__copy {
  margin: 0 0 14px;
}

.cookie-banner__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.cookie-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-banner__links {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.cookie-banner__links a {
  color: inherit;
}

@media (max-width: 720px) {
  .cookie-banner {
    padding: 0 10px 10px;
  }
  .cookie-banner__inner {
    width: calc(100% - 20px);
    border-radius: 22px;
    padding: 16px 14px;
  }
  .cookie-banner__choices,
  .cookie-banner__actions,
  .settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cookie-banner__actions .button,
  .settings-actions .button {
    width: 100%;
  }
}

/* Kontaktformular-Styling */
.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.contact-form .form-field {
  display: grid;
  gap: 4px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: var(--surface-solid);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form .privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}


.contact-side {
  display: grid;
  gap: 22px;
}

.booking-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.booking-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.booking-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label,
.consent-row span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
}

.consent-row input {
  margin-top: 3px;
}

.privacy-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.privacy-note a {
  color: inherit;
}

.status-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 20px;
}

.status-modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 18, 0.58);
  z-index: 1390;
}

.modal-backdrop[hidden] {
  display: none;
}

.status-modal__inner {
  width: min(100%, 560px);
  margin: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.status-modal__inner h2 {
  margin-top: 0;
}

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .panel {
    opacity: 1;
    transform: none;
  }
}


/* Premium cookie banner without blur/backdrop */
.sidebar,
.topbar {
  background: var(--surface-solid);
}

.modal-backdrop {
  background: rgba(7, 10, 18, 0.58);
}

.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(7, 10, 18, 0.18);
}

.cookie-backdrop[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  padding: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.cookie-banner:not([hidden]),
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  width: min(760px, 100%);
  margin-left: auto;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.12);
  padding: 18px 20px 16px;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.cookie-banner__copy {
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.cookie-banner__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.cookie-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
}

.cookie-choice input {
  accent-color: #121212;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-banner__actions .button {
  min-height: 46px;
}

.cookie-banner__links {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.cookie-banner__links a {
  color: inherit;
  text-decoration: none;
}

.cookie-banner__links a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__inner {
    width: 100%;
    border-radius: 20px;
    padding: 16px 14px;
  }

  .cookie-banner__choices,
  .cookie-banner__actions,
  .settings-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .button,
  .settings-actions .button {
    width: 100%;
  }
}
