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

:root {
  --background: hsl(40 20% 98%);
  --foreground: hsl(220 25% 15%);
  --card: hsl(40 15% 96%);
  --primary: hsl(220 60% 22%);
  --primary-foreground: hsl(40 20% 98%);
  --secondary: hsl(220 15% 92%);
  --muted: hsl(220 10% 94%);
  --muted-foreground: hsl(220 10% 45%);
  --accent: hsl(220 40% 35%);
  --border: hsl(220 15% 88%);
  --shadow-soft: 0 4px 20px -4px hsl(220 25% 15% / 0.08);
  --shadow-elevated: 0 12px 40px -8px hsl(220 25% 15% / 0.12);
  --radius: 0.5rem;
  --font-heading: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section {
  scroll-margin-top: 6rem;
}

.section {
  padding: 4rem 0;
}

.section-card {
  background: var(--card);
}

.section-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .section-container {
    padding: 0 2rem;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-intro {
  margin-bottom: 4rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: hsla(40, 20%, 98%, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .nav-bar {
    height: 5rem;
  }
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  border: none;
  background: none;
  padding: 0.25rem;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle .close-icon {
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.site-header.is-open .mobile-nav {
  display: flex;
}

.site-header.is-open .menu-toggle .menu-icon {
  display: none;
}

.site-header.is-open .menu-toggle .close-icon {
  display: block;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

.hero-copy {
  order: 2;
}

.hero-image {
  order: 1;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-copy {
    order: 1;
  }

  .hero-image {
    order: 2;
    justify-content: flex-end;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
}

.photo-frame {
  position: relative;
  max-width: 24rem;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: hsla(220, 60%, 22%, 0.1);
  border-radius: 1rem;
  transform: rotate(3deg);
}

.photo-frame img {
  position: relative;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  object-fit: cover;
}

.services-block {
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-professional {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--background);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .card-professional {
    padding: 2rem;
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.icon-box {
  background: hsla(220, 60%, 22%, 0.1);
  padding: 0.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.list-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.format-block {
  margin-top: 2rem;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.format-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 0.95rem;
  font-weight: 500;
}

.format-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.contact-card {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.impressum-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .impressum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.impressum-card {
  color: var(--muted-foreground);
}

.impressum-text p {
  margin: 0 0 0.75rem;
}

.impressum-text p:last-child {
  margin-bottom: 0;
}

.strong {
  font-weight: 600;
  color: var(--foreground);
}

.label {
  font-weight: 600;
  color: var(--foreground);
}

.link-professional {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-notice {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  color: var(--muted-foreground);
}

.privacy-note {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

.privacy-list {
  display: grid;
  gap: 2rem;
}

.privacy-item {
  color: var(--muted-foreground);
}

.privacy-item ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.privacy-text p {
  margin: 0 0 0.75rem;
}

.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  z-index: 100;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-banner__copy {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.cookie-banner__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

.cookie-banner__text {
  margin: 0;
}

.cookie-banner__links {
  margin-top: 0.75rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-btn {
  background: #1536d8;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-btn:hover {
  opacity: 0.92;
}

.cookie-banner__toggles {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #d1d5db;
  transition: 0.2s ease;
  border-radius: 999px;
}

.switch__slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  transition: 0.2s ease;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
}

.switch input:checked + .switch__slider {
  background-color: #111827;
}

.switch input:checked + .switch__slider::before {
  transform: translateX(24px);
}

.switch input:disabled + .switch__slider {
  background-color: #e5e7eb;
  cursor: not-allowed;
}

@media (min-width: 640px) {
  .cookie-banner {
    max-width: 64rem;
    margin: 0 auto;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .cookie-banner__actions {
    min-width: 14rem;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 1.75rem;
  height: 1.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.animate-fade-in-up {
  opacity: 0;
  animation: fade-in-up 0.8s ease forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 0.8s ease forwards;
}

.animate-delay-100 {
  animation-delay: 100ms;
}

.animate-delay-200 {
  animation-delay: 200ms;
}

.animate-delay-300 {
  animation-delay: 300ms;
}

.animate-delay-400 {
  animation-delay: 400ms;
}

.animate-delay-500 {
  animation-delay: 500ms;
}

.animate-delay-600 {
  animation-delay: 600ms;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-fade-in,
  .animate-delay-100,
  .animate-delay-200,
  .animate-delay-300,
  .animate-delay-400,
  .animate-delay-500,
  .animate-delay-600 {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
