@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("../font/Inter-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../font/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../font/Inter-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../font/Inter-Bold.woff2") format("woff2"); }

:root {
  --black: #0d0d0d;
  --dark-plum: #2a1538;
  --aubergine: #4a2d63;
  --amethyst: #a87fc9;
  --copper-gold: #d97706;
  --text: #d1d5db;
  --heading: #f5f5f5;
  --font-sans: system-ui, -apple-system, sans-serif;
  --font-inter: "Inter", var(--font-sans);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  font-weight: 400;
  color: var(--text);
  background-color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-inter);
  font-weight: 700;
}

/* vorhebungen, zitate etc */
.textitalic {
  font-family: var(--font-inter);
  font-style: italic;
  font-weight: 400;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--amethyst);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--copper-gold);
}

ul {
  list-style: none;
}

.header {
  overflow: visible;
  position: relative;
  padding-bottom: 2rem;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--black), var(--dark-plum));
  clip-path: url(#wave-clip);
  z-index: 0;
}

.header-inner {
  position: relative;
  z-index: 99;
  padding: 1rem 1.25rem 6rem;
}

.wave-overhang {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
}

.logo-text {
  font-size: 1.125rem;
  color: var(--heading);
  font-weight: 600;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 100;
}

.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(75vw, 20rem);
  height: 100%;
  background: var(--dark-plum);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  transition: right 0.3s ease;
  z-index: 99;
}

.nav-links.open {
  right: 0;
}

.nav-links a {
  font-size: 1.25rem;
  color: var(--heading);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--copper-gold);
  border-bottom-color: var(--copper-gold);
}

/* Hero */
.hero {
  text-align: center;
  padding-top: 2rem;
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--heading);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-claim {
  font-size: 1rem;
  color: var(--amethyst);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.cta {
  display: inline-block;
  background: var(--copper-gold);
  color: var(--black);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.cta:hover {
  background: #e08620;
  color: var(--black);
  transform: translateY(-2px);
}

/* Main Content */
.test-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
}

.test-content h2 {
  font-size: 1.75rem;
  color: var(--heading);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.test-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

/* Service sections (design page) */
.service-overview {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
  text-align: center;
}

.overview-title {
  font-size: 1.25rem;
  color: var(--amethyst);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.overview-lead {
  display: none;
}

.jump-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  list-style: none;
}

.jump-card {
  display: inline-flex;
  align-items: baseline;
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
  color: var(--heading);
  transition: color 0.2s;
}

.jump-card:hover {
  transform: none;
  background: transparent;
}

.jump-card:hover .jump-title {
  color: var(--copper-gold);
}

.jump-title {
  color: var(--heading);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(168, 127, 201, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.jump-card:hover .jump-title {
  border-bottom-color: var(--copper-gold);
}

.jump-desc {
  display: none;
}

.service-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.service-text h2 {
  font-size: 1.75rem;
  color: var(--heading);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.service-text .lead {
  color: var(--amethyst);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text);
}

.topic-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--amethyst);
  list-style: none;
}

.topic-list li::before {
  content: "· ";
}

/* Section divider wave */
.section-divider {
  width: 100%;
  line-height: 0;
  display: block;
}

.section-divider .divider-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Carousel */
.service-carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(168, 127, 201, 0.22);
  background: var(--dark-plum);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) brightness(0.88);
}

.slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92), transparent);
  padding: 0.7rem 0.9rem 0.6rem;
  font-size: 0.8125rem;
  color: var(--heading);
  letter-spacing: 0.04em;
}

.arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0 0.4rem;
  pointer-events: none;
}

.arrow {
  background: rgba(13, 13, 13, 0.55);
  border: 1px solid rgba(168, 127, 201, 0.3);
  color: var(--heading);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.arrow:hover {
  background: rgba(217, 119, 6, 0.7);
  border-color: var(--copper-gold);
}

.dots {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 245, 245, 0.4);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: background 0.2s;
}

.dot.active {
  background: var(--copper-gold);
}

/* Teaching testimonial block */
.teaching-block {
  border-left: 2px solid var(--copper-gold);
  padding: 0.5rem 1rem;
}

.teaching-block blockquote {
  color: var(--text);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}

.teaching-block cite {
  color: var(--amethyst);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  position: relative;
}

.footer-wave {
  width: 100%;
  line-height: 0;
  display: block;
}

.footer-wave-svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer-content {
  background: var(--aubergine);
  padding: 0.5rem 1.25rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

.footer-col {
  text-align: center;
}

.footer-col-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  transition: opacity 0.2s;
}

.footer-social-icon:hover {
  opacity: 0.7;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a {
  color: var(--text);
  font-size: 0.9375rem;
}

.footer-menu a:hover {
  color: var(--copper-gold);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 1.25rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text);
}

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 98;
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Contact Form */
.contact-section {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1.25rem 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field label {
  font-size: 0.9375rem;
  color: var(--heading);
  font-weight: 500;
}

.required {
  color: var(--copper-gold);
}

.optional {
  color: var(--amethyst);
  font-weight: 400;
  font-size: 0.8125rem;
}

.field input,
.field textarea {
  font-family: var(--font-inter);
  font-size: 1rem;
  color: var(--text);
  background: var(--dark-plum);
  border: 1px solid rgba(168, 127, 201, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--copper-gold);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #c44;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.submit-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--copper-gold);
  color: var(--black);
  font-weight: 600;
  font-family: var(--font-inter);
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.submit-btn:hover {
  background: #e08620;
  transform: translateY(-2px);
}

.submit-btn:focus-visible {
  outline: 2px solid var(--amethyst);
  outline-offset: 2px;
}

.submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-feedback {
  font-size: 0.9375rem;
  line-height: 1.5;
  min-height: 1.5rem;
}

.form-feedback.success {
  color: var(--amethyst);
}

.form-feedback.error {
  color: #e06c6c;
}

.contact-thanks {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--amethyst);
  text-align: center;
  padding: 2rem 0;
}

@media (min-width: 48rem) {
  .header-inner {
    padding: 1.5rem 2rem 8rem;
  }

  .logo-img {
    width: 10rem;
    height: 10rem;
  }

  .hamburger {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    transition: none;
  }

  .nav-links a {
    font-size: 1rem;
    border-bottom: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-claim {
    font-size: 1.125rem;
  }

  .test-content {
    padding: 5rem 2rem 4rem;
  }

  .test-content h2 {
    font-size: 2rem;
  }

  .test-content p {
    font-size: 1.0625rem;
  }

  .contact-section {
    padding: 5rem 2rem 4rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    padding: 1rem 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-logo {
    width: 7rem;
    height: 7rem;
  }

  .service-section {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .service-section.reverse .service-text {
    order: 2;
  }

  .service-section.reverse .service-carousel,
  .service-section.reverse .teaching-block {
    order: 1;
  }

  .jump-cards {
    gap: 0.75rem 2rem;
  }
}

@media (min-width: 64rem) {
  .header-inner {
    padding: 1.5rem 3rem 10rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .nav-links {
    gap: 2rem;
  }

  .test-content,
  .contact-section {
    padding: 6rem 2rem 5rem;
  }

  .service-section {
    padding: 5rem 3rem;
  }

  .service-text h2 {
    font-size: 2rem;
  }
}

@media (min-width: 80rem) {
  .header-inner {
    max-width: 80rem;
    margin: 0 auto;
  }

  .logo-img {
    width: 15rem;
    height: 15rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .test-content,
  .contact-section {
    padding: 7rem 2rem 5rem;
  }

  .service-section {
    padding: 6rem 2rem;
  }
}

@media (min-width: 96rem) {
  .header-inner {
    max-width: 90rem;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .test-content,
  .contact-section {
    max-width: 56rem;
    padding: 8rem 2rem 5rem;
  }

  .service-section {
    max-width: 90rem;
  }
}
