@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  font-family: "Roboto", sans-serif;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf") format("truetype");
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--body-bg-gradient);
  color: var(--color-text);
  line-height: 1.6;
}

:root {
  --color-bg: #f3f6fc; /* leicht bläuliches Weiß */
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f0f4ff; /* ganz zartes Pastellblau */
  --color-primary: #3b82f6; /* Logo-Blau */
  --color-primary-soft: rgba(59,130,246,0.12);
  --color-text: #0f172a; /* sehr dunkles Blau-Schwarz */
  --color-text-muted: #475569; /* bläulich-grau */
  --color-border: #d0d8e5; /* leicht bläuliches Grau */
  --color-border-strong: #b8c3d6;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --body-bg-gradient: linear-gradient(
                  180deg,
                  #f4f7ff 0%,
                  #e8eeff 50%,
                  #e3e9f8 100%
  );
  --header-bg: linear-gradient(135deg, #f4f8ff 0%, #e7eeff 40%, #dae4ff 100%);
  --footer-bg: #f1f5fb;
  /* Erfolg */
  --success-bg: #d1fae5;
  --success-border: #6ee7b7;
  --success-text: #15803d;
  /* Fehler */
  --error-bg: #fee2e2;
  --error-border: #fca5a5;
  --error-text: #dc2626;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0b1120; /* sehr dunkles Blau */
    --color-bg-alt: #111827;
    --color-surface: #1e293b; /* etwas heller für Cards */
    --color-surface-soft: #162032;
    --color-primary: #3b82f6; /* Logo-Blau */
    --color-primary-soft: rgba(59,130,246,0.2);
    --color-text: #f8fafc;
    --color-text-muted: #cbd5e1;
    --color-border: #273244;
    --color-border-strong: #1e293b;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
    --body-bg-gradient: radial-gradient(circle at top left,
            #18233e 0%, #0b1120 60%, #0b1120 100%
    );
    --header-bg: linear-gradient(135deg,
            #0b1120 0%, #0b1120 35%, #162033 100%
    );
    --footer-bg: #0b1120;
    --success-bg: #064e3b;
    --success-border: #10b981;
    --success-text: #a7f3d0;
    --error-bg: #7f1d1d;
    --error-border: #ef4444;
    --error-text: #fecaca;
  }
}
:root[data-theme=light] {
  --color-bg: #f3f6fc; /* leicht bläuliches Weiß */
  --color-bg-alt: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f0f4ff; /* ganz zartes Pastellblau */
  --color-primary: #3b82f6; /* Logo-Blau */
  --color-primary-soft: rgba(59,130,246,0.12);
  --color-text: #0f172a; /* sehr dunkles Blau-Schwarz */
  --color-text-muted: #475569; /* bläulich-grau */
  --color-border: #d0d8e5; /* leicht bläuliches Grau */
  --color-border-strong: #b8c3d6;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --body-bg-gradient: linear-gradient(
                  180deg,
                  #f4f7ff 0%,
                  #e8eeff 50%,
                  #e3e9f8 100%
  );
  --header-bg: linear-gradient(135deg, #f4f8ff 0%, #e7eeff 40%, #dae4ff 100%);
  --footer-bg: #f1f5fb;
  /* Erfolg */
  --success-bg: #d1fae5;
  --success-border: #6ee7b7;
  --success-text: #15803d;
  /* Fehler */
  --error-bg: #fee2e2;
  --error-border: #fca5a5;
  --error-text: #dc2626;
}

:root[data-theme=dark] {
  --color-bg: #0b1120; /* sehr dunkles Blau */
  --color-bg-alt: #111827;
  --color-surface: #1e293b; /* etwas heller für Cards */
  --color-surface-soft: #162032;
  --color-primary: #3b82f6; /* Logo-Blau */
  --color-primary-soft: rgba(59,130,246,0.2);
  --color-text: #f8fafc;
  --color-text-muted: #cbd5e1;
  --color-border: #273244;
  --color-border-strong: #1e293b;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --body-bg-gradient: radial-gradient(circle at top left,
          #18233e 0%, #0b1120 60%, #0b1120 100%
  );
  --header-bg: linear-gradient(135deg,
          #0b1120 0%, #0b1120 35%, #162033 100%
  );
  --footer-bg: #0b1120;
  --success-bg: #064e3b;
  --success-border: #10b981;
  --success-text: #a7f3d0;
  --error-bg: #7f1d1d;
  --error-border: #ef4444;
  --error-text: #fecaca;
}

.contact__intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* --- Rahmen um das Formular --- */
.contact-box {
  width: 100%;
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.contact-form__group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  box-shadow: 0 0 0 1px var(--color-primary-soft);
}

.hp-field {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  position: absolute !important;
}

/* Basis */
.contact-form__success {
  margin-top: 1rem;
  font-size: 1rem;
  min-height: 1.4rem;
  transition: all 0.3s ease;
}

/* Erfolg */
.contact-form__success--visible {
  color: var(--success-text) !important;
  background: var(--success-bg) !important;
  border: 1px solid var(--success-border) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 6px !important;
  display: block !important;
  font-weight: 600;
}

/* Fehler */
.contact-form__success--error {
  color: var(--error-text) !important;
  background: var(--error-bg) !important;
  border: 1px solid var(--error-border) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 6px !important;
  display: block !important;
  font-weight: 600;
}

/* Checkbox-Gruppe */
.contact-form__group--checkbox {
  margin-top: 0.5rem;
  align-items: flex-start;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.checkbox input[type=checkbox] {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.checkbox a {
  font-weight: 600;
}

.grecaptcha-badge {
  visibility: hidden; /* oder: opacity: 0; */
}

.recaptcha-hinweis {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Button-Stil, falls du noch keinen generellen Button hast */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.button--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.button--primary:hover {
  background: #1d4ed8;
}
.button--primary:active {
  transform: scale(0.97);
}

@media (max-width: 767px) {
  .contact-form {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }
}
.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer,
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__nav,
footer ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

footer .navigation__list-item-link {
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .footer__container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .footer__nav {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .navigation ul {
    gap: 0.8rem;
  }
  .navigation__list-item--mobile-hidden {
    display: none;
  }
}
.header {
  position: relative;
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 5rem;
  background: var(--header-bg);
}

.header__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.header__heading-container {
  padding: 4rem 0 2rem;
}

.header__heading-main {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.header__heading-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.header__slope {
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: -6vw;
  height: 12vw; /* passt sich an Bildschirmbreite an */
  min-height: 4rem; /* damit sie auf kleinen Screens nicht verschwindet */
  background: var(--color-bg);
  transform: skewY(-3deg); /* statt rotate */
  transform-origin: 0 0;
  z-index: 0; /* hinter dem Text */
}

@media (max-width: 767px) {
  .header__heading-container {
    padding: 3rem 0 1.5rem;
    text-align: center;
  }
  .header__heading-main {
    font-size: 2.1rem;
  }
  .header__heading-sub {
    font-size: 1rem;
  }
  .header__slope {
    bottom: -8vw;
    height: 16vw;
    transform: skewY(-2deg);
  }
}
.navigation {
  position: relative;
}
.navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navigation__list-item-link {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.navigation__list-item-link:hover {
  color: var(--color-primary);
}
.navigation__list-item-link:hover::after {
  width: 100%;
}
.navigation__list-item-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s ease;
}
.navigation__list-item-link--logo {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  transform: translateY(1px); /* oder -1px */
}

@media (min-width: 768px) {
  /* Logo bleibt links – nichts Besonderes nötig */
  /* Erster Menüpunkt der Mitte: schiebt die Gruppe nach rechts */
  .navigation__list-item--links-start {
    margin-left: auto;
  }
  /* Letzter Menüpunkt der Mitte: schiebt Theme-Toggle nach rechts */
  .navigation__list-item--links-end {
    margin-right: auto;
  }
}
.logo {
  height: 38px; /* passt gut zu deiner bestehenden Navigation */
  width: auto;
  display: block;
}

.theme-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
  border-radius: 15px;
  padding: 0.25rem 0.65rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}
.theme-toggle:hover {
  background: var(--color-primary-soft);
  color: var(--color-text);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}
.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}
.theme-toggle__label {
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

@media (max-width: 480px) {
  .theme-toggle__label {
    display: none;
  }
}
.navigation__list-item--menu {
  margin-left: auto;
}

.icon {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--color-text-muted);
}

@media (min-width: 768px) {
  .navigation__list-item--menu {
    display: none;
  }
}
@media (min-width: 768px) {
  .navigation ul {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  .navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
  }
  .navigation__list-item--mobile-hidden {
    display: none;
  }
  /* Linkes Logo: bleibt automatisch links */
  .navigation__list-item:first-child {
    margin-right: auto;
  }
  /* Theme-Toggle soll nach rechts rutschen */
  .theme-toggle {
    margin-left: auto; /* schiebt Toggle nach rechts */
    margin-right: 0.5rem; /* ein kleines Polster zum Burger */
  }
  /* Burger bleibt ganz rechts */
  .navigation__list-item--menu {
    margin-left: 0;
  }
  .navigation.navigation--open {
    background: var(--color-surface);
    border-radius: 15px;
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.75rem 0.6rem;
    box-shadow: var(--shadow-soft);
  }
  .navigation.navigation--open ul {
    flex-wrap: wrap;
    align-items: center;
  }
  .navigation.navigation--open .navigation__list-item--mobile-hidden {
    order: 2;
    display: block;
    width: 100%;
  }
  .navigation.navigation--open .navigation__list-item--mobile-hidden a {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 15px;
    background: var(--color-surface-soft);
    border: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.9rem;
  }
  .navigation.navigation--open .navigation__list-item--theme, .navigation.navigation--open .navigation__list-item--menu {
    margin-left: 0;
    order: 1;
  }
  .navigation.navigation--open .theme-toggle {
    margin-left: auto; /* schiebt Toggle nach rechts */
    margin-right: 0.5rem; /* Abstand zum Burger */
  }
  .navigation.navigation--open ul {
    display: flex;
    align-items: center;
  }
  .navigation.navigation--open .navigation__list-item:first-child {
    order: 0;
    margin-right: auto;
  }
  .navigation.navigation--open .navigation__list-item--menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
  }
  .navigation.navigation--open .navigation__list-item--menu .icon {
    width: 1.7rem;
    height: 1.7rem;
  }
}
.section {
  padding: 5rem 0 4rem;
  position: relative;
  background: var(--color-bg);
}
.section:nth-of-type(odd) {
  background: var(--color-bg-alt);
}
.section:nth-of-type(even) {
  background: var(--color-bg);
}
.section h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.section p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}
.card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.link {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.5);
  padding-bottom: 0.05rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.link:hover {
  color: var(--color-primary);
}

.contact__info {
  margin-top: 0.5rem;
  background: var(--color-surface-soft);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
}

@media (max-width: 767px) {
  .section {
    padding: 3.5rem 0 3rem;
  }
}
.privacy,
.impressum {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 767px) {
  .privacy,
  .impressum {
    padding: 3rem 1.25rem 3.5rem;
    margin-top: 1rem;
  }
}
.privacy h1,
.impressum h1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.privacy h3,
.impressum h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.privacy p,
.impressum p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.privacy a,
.impressum a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.5);
  padding-bottom: 0.03rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.privacy a:hover,
.impressum a:hover {
  color: var(--color-primary);
}

.privacy ol,
.impressum ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.privacy li,
.impressum li {
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.privacy strong,
.impressum strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 767px) {
  .privacy,
  .impressum {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 2.5rem 1.25rem 3rem;
    font-size: 0.95rem;
  }
  .privacy h1,
  .impressum h1 {
    font-size: 1.5rem;
  }
  .privacy h3,
  .impressum h3 {
    font-size: 1.05rem;
  }
}

/*# sourceMappingURL=main.css.map */
