/* Basis & Farbvariablen */
:root {
  --color-primary: #1a1aff;
  --color-accent-dark: #0f0f5a;
  --color-neutral: #f8f4f3;

  --bg-rose: #e6cfcb;
  --bg-taupe: #d9c4b9;

  --text-dark: #111111;
  --text-muted: #4a4a4a;

  --radius-xl: 24px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.12);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Seiten-Hintergründe */
.page-home {
  background: var(--bg-rose);
}

.page-about {
  background: var(--bg-taupe);
}

.page-services {
  background: var(--bg-rose);
}

.page-contact {
  background: var(--bg-taupe);
}

/* Layout-Helfer */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-neutral {
  background: var(--color-neutral);
  border-radius: var(--radius-xl);
  margin: 3rem 1.5rem;
  padding: 3rem 1.5rem;
}

.section-cta {
  background: var(--color-accent-dark);
  color: #ffffff;
  border-radius: var(--radius-xl);
  margin: 3rem 1.5rem;
  padding: 3rem 1.5rem;
}

.section-header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

/* Header & Navigation */
.site-header {
  padding: 1.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  text-decoration: none;
  color: inherit;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.main-nav {
  position: relative;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--color-primary);
  color: var(--color-accent-dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 999px;
}

/* Hero Startseite */
.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.highlight-quote {
  margin-top: 1.25rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Eyebrow / kleine Überschrift */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn-ghost:hover {
  background: rgba(15, 15, 90, 0.06);
}

/* Hero Bild */
.hero-media {
  display: flex;
  justify-content: flex-end;
}

.portrait-card {
  background: rgba(248, 244, 243, 0.7);
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  max-width: 360px;
  width: 100%;
}

.portrait-card img {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-xl) - 4px);
}

/* Cards & Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Listen */
.checklist,
.bullet-list {
  padding-left: 1.2rem;
}

.checklist li,
.bullet-list li {
  margin-bottom: 0.5rem;
}

/* Page Hero */
.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

/* CTA */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Kontaktseite */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
}

/* Formular */
.contact-form {
  background: var(--color-neutral);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-xl);
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #d0c7c3;
  background: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: transparent;
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--color-accent-dark);
}

/* Responsives Design */
@media (max-width: 880px) {
  .hero-grid,
  .section-split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    justify-content: flex-start;
  }

  .section-neutral,
  .section-cta {
    margin: 2.5rem 1rem;
    padding: 2.5rem 1.2rem;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 720px) {
  .header-inner {
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 110%;
    flex-direction: column;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .nav-list.nav-list-open {
    display: flex;
  }
}
