:root {
  --bg-color: #041217;
  --card-bg: #071922;
  --text-white: #ffffff;
  --text-muted: #85959f;
  --border-color: #162b35;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  background: rgba(4, 18, 23, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: #b0c2cb;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}

/* GLOBAL TYPOGRAPHY */
.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
}

.display-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
  margin-top: 20px;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

/* HERO */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(88vh - 90px);
}

.hero-subtitle {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cfdbe2;
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-img-wrap {
  height: 600px;
  width: 100%;
  overflow: hidden;
}

/* ÜBER MICH */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.about-img-wrap {
  height: auto;
}

.about-img-wrap img {
  height: 620px;
}

.about-signature {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-white);
}

.about-text {
  font-size: 15px;
  color: #9cb2bc;
  line-height: 1.8;
  max-width: 480px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service-card .img-box {
  height: 240px;
  margin-bottom: 20px;
  overflow: hidden;
}

.service-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 14px;
  position: relative;
}

.service-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* PREISE */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.price-img-box {
  height: 300px;
  margin-bottom: 30px;
  overflow: hidden;
}

.price-list {
  list-style: none;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
}

.price-row:last-child {
  border-bottom: 1px solid var(--border-color);
}

.price-val {
  color: #cad8df;
  font-weight: 400;
}

/* ABLAUF */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 80px;
}

.flow-step {
  position: relative;
  z-index: 2;
}

.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  width: calc(100% + 40px);
  height: 1px;
  background: var(--border-color);
  z-index: -1;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #234757;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.step-name {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-desc {
  font-size: 14px;
  color: #9cb2bc;
  line-height: 1.6;
}

/* KONTAKT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-meta {
  list-style: none;
  margin: 30px 0;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #c0d1da;
}

.contact-meta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

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

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.contact-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 42px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.contact-modal-title {
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-close:hover {
  color: var(--text-white);
}

#contact-form {
  display: grid;
  gap: 10px;
}

#contact-form label {
  margin-top: 8px;
  color: #cfdbe2;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-color);
  outline: 0;
  background: var(--bg-color);
  color: var(--text-white);
  font: inherit;
  resize: vertical;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #70858e;
}

#contact-form .btn-outline {
  justify-self: start;
  margin-top: 18px;
  cursor: pointer;
}

.thank-you-page {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: calc(100vh - 190px);
}

.thank-you-page .container {
  padding-top: 88px;
  padding-bottom: 96px;
}

.thank-you-text {
  max-width: 520px;
  color: #9cb2bc;
  font-size: 15px;
  line-height: 1.8;
}

/* AGB ACCORDION */
.agb-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
}

.accordion-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-white);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.accordion-item:first-child {
  border-top: 1px solid var(--border-color);
}

.accordion-icon {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.accordion-item[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 18px 36px 22px 0;
  border-bottom: 1px solid var(--border-color);
  color: #9cb2bc;
  font-size: 14px;
  line-height: 1.8;
}

.accordion-content p,
.accordion-content ul {
  margin-bottom: 18px;
}

.accordion-content p:last-child,
.accordion-content ul:last-child {
  margin-bottom: 0;
}

.accordion-content ul {
  padding-left: 20px;
}

.accordion-content h3 {
  margin: 22px 0 8px;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 500;
}

.accordion-content h3:first-child {
  margin-top: 0;
}

.package-title {
  margin-top: 30px !important;
  color: var(--text-white);
  font-family: var(--font-serif);
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  line-height: 1.2;
}

.accordion-content a {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* IMPRESSUM */
.impressum-content {
  max-width: 650px;
  font-size: 14px;
  color: #9cb2bc;
  line-height: 1.8;
}

.impressum-content p {
  margin-bottom: 20px;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 2px;
}

.footer-details {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  line-height: 1.8;
}

.footer-details p {
  letter-spacing: 0.5px;
}

footer a:hover {
  color: var(--text-white);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .pricing-grid,
  .contact-grid,
  .agb-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-container {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(4, 18, 23, 0.98);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.is-open li {
    border-top: 1px solid var(--border-color);
  }

  .nav-links.is-open a {
    display: block;
    padding: 16px 32px;
  }
}

@media (max-width: 600px) {
  .footer-details {
    flex-direction: column;
    gap: 12px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-container {
    height: 74px;
  }

  .nav-links.is-open {
    top: 74px;
  }

  section {
    padding: 72px 0;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-img-wrap,
  .about-img-wrap img {
    height: 360px;
  }

  .price-img-box {
    height: 220px;
  }

  .contact-grid > div:last-child {
    height: 360px !important;
  }

  .contact-modal-dialog {
    padding: 34px 22px 24px;
  }

  .thank-you-page {
    padding: 0;
  }

  .thank-you-page .container {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .contact-modal-title {
    font-size: 36px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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