/* Basis-Reset und Typografie
   --------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111827;
  background-color: #f9fafb;
  line-height: 1.6;
}

/* Fokus sichtbar, gut erkennbar, aber dezent */
:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

/* Hilfselemente
   --------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #111827;
  color: #f9fafb;
  padding: 0.5rem 1rem;
  z-index: 1001;
  text-decoration: none;
}

.skip-link:focus-visible {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 1001;
}

/* Layout
   --------------------------------------------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: 720px;
}

.section {
  padding: 4rem 0;
  background-color: #f9fafb;
}

.section.section-muted {
  background-color: #f3f4f6;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h1,
.section-header h2 {
  margin: 0.25rem 0 0.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-header h1 {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
}

.section-header h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.section-intro {
  margin: 0;
  color: #4b5563;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Header und Navigation
   --------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(249, 250, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}
  
  .header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
  }
  
  .logo {
    width: 160px;
    height: auto;
  }
  
  .logo-text {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
  }
  
  .main-nav {
    display: flex;
    align-items: center;
  }
  
  /* Desktop-Navigation */
  .nav-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .nav-list a {
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #4b5563;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  
  .nav-list a:hover {
    background-color: #e5e7eb;
    color: #111827;
  }
  
  .nav-cta {
    border: 1px solid #2563eb;
    color: #1d4ed8;
    padding: 0.45rem 0.95rem;
  }
  
  .nav-cta:hover {
    background-color: #2563eb;
    color: #f9fafb;
  }
  
  /* Vereinfachte Navigation für Unterseiten */
  .nav-list-simple {
    gap: 0.25rem;
  }
  
  /* Mobile Navigation */
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.4rem;
    border-radius: 999px;
    cursor: pointer;
  }
  
  .nav-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
  
  .nav-toggle-bar {
    width: 18px;
    height: 2px;
    background-color: #111827;
    border-radius: 999px;
    display: block;
    margin: 3px 0;
  }
  
  .nav-toggle-label {
    position: absolute;
    left: -9999px;
  }

/* Hero-Bereich
   --------------------------------------------- */
.hero-section {
  position: relative;
  padding: 0;
  min-height: 70vh;
  color: #f9fafb;
  background-color: #020617;
  background-image: url("Hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(15, 23, 42, 0.3), transparent 55%),
              linear-gradient(to bottom, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.6));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  max-width: 52rem;
  margin: 5rem auto 4rem;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3.6vw, 3rem);
  margin-top: 0.5rem;
  margin-bottom: 0.9rem;
}

.lead {
  font-size: 1.05rem;
  color: #e5e7eb;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #cbd5f5;
  max-width: 30rem;
  margin: 0.5rem auto 0;
}

.hero-aside {
  display: none;
}

/* Buttons
   --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background-color: #2563eb;
  color: #f9fafb;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #111827;
  color: #f9fafb;
}

.btn-secondary:hover {
  background-color: #030712;
}

.btn-ghost {
  background-color: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-ghost:hover {
  background-color: #e5e7eb;
}

/* Listen & Karten
   --------------------------------------------- */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.icon-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8);
  margin-top: 0.4rem;
}

.icon-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.icon-list p {
  margin: 0;
  color: #4b5563;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

/* Angebot-Layout */
.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.offer-main p {
  color: #4b5563;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-size: 0.9rem;
}

.offer-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: rgba(8, 26, 43, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.info-box ul {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.info-box p {
  color: rgba(255, 255, 255, 0.9);
}

.info-box .btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-box .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* FAQ
   --------------------------------------------- */
.faq-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.faq-block {
  display: flex;
  flex-direction: column;
}

.faq-block h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  background: none;
  border: none;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question span:first-child {
  flex: 1;
}

.faq-icon {
  width: 16px;
  height: 16px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: #4b5563;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  top: 7px;
  left: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  left: 8px;
  top: 2px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: scaleY(0);
}

.faq-panel {
  padding: 0 1rem 0.95rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Über mich
   --------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: start;
}

.about-image {
  margin: 0;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}

.meta-box {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.meta-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.meta-box ul {
  margin: 0;
  padding-left: 1.1rem;
}

/* Kontaktformular
   --------------------------------------------- */
.contact-form {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.75rem 1.6rem 1.9rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

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

.form-row label {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.required {
  color: #b91c1c;
  margin-left: 0.1rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  color: inherit;
  background-color: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
  background-color: #ffffff;
}

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

.field-error {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #b91c1c;
  min-height: 1em;
}

.form-row-inline {
  display: flex;
  flex-direction: column;
}

.checkbox-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 0.15rem;
}

.checkbox-wrapper label {
  margin: 0;
}

.checkbox-wrapper a {
  color: #1d4ed8;
}

.checkbox-wrapper a:hover {
  text-decoration: underline;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  align-items: flex-start;
}

.form-hint {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.form-status--success {
  color: #166534;
}

.form-status--error {
  color: #b91c1c;
}

/* Honeypot (nicht sichtbar für Nutzer, aber lesbar für Bots) */
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Layout: Sticky Footer
   --------------------------------------------- */
main {
  flex: 1;
  padding-top: var(--header-height);
}

/* Footer
   --------------------------------------------- */
.site-footer {
  margin-top: auto;
  padding: 1.1rem 0 1rem;

  background: rgba(8, 26, 43, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
  
  .footer-inner--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }
  
  /* Markenname */
  .footer-brand {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
  }
  
  /* Claim */
  .footer-claim {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
  }
  
  /* Copyright */
  .footer-copy {
    margin: 0.15rem 0 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
  }
  
  /* Navigation */
  .footer-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.2rem;
  }
  
  .footer-nav a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
  }
  
  .footer-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
  }
  
  .footer-dot {
    color: rgba(255, 255, 255, 0.45);
    user-select: none;
  }
  
  /* Mobile Feinschliff */
  @media (max-width: 480px) {
    .footer-brand {
      font-size: 0.95rem;
    }
  
  }

/* Blog: Artikel-Überschriften-Farbe vereinheitlichen
   --------------------------------------------- */
.blog article h2 a {
  color: #111827;
  text-decoration: none;
}

.blog article h2 a:hover,
.blog article h2 a:focus-visible {
  color: #2563eb;
  text-decoration: underline;
}

/* Hilfslinks */
.back-link {
  margin-top: 2rem;
}

/* Scroll-Animationen (IntersectionObserver)
   --------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}

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

/* Nutzerwunsch: Animationen reduzieren bei prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

  .hero-aside {
    order: -1;
  }

  .two-column,
  .offer-layout,
  .cards-grid,
  .about-layout,
  .faq-blocks {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    gap: 1.2rem;
  }

  .info-box,
  .meta-box,
  .card {
    padding: 1.3rem 1.2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.65rem 1.1rem;
  }

  /* Mobile Navigation aktivieren */
  .nav-toggle {
    display: inline-flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.9rem;
    background-color: #f9fafb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    min-width: 190px;
    max-width: 80vw;
    transform-origin: top right;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-list.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list a {
    width: 100%;
  }

  .hero-section {
    /* padding-top wird durch main padding-top abgedeckt */
  }

  .contact-form {
    padding: 1.4rem 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

/* Blog / Content: Überschriften-Links sollen wie Überschriften aussehen */
h1 a,
h2 a,
h3 a {
  color: inherit;
  text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h1 a:focus,
h2 a:focus,
h3 a:focus {
  text-decoration: underline;
}

