/* ============================================
   PLANkultur - Stylesheet
   ============================================ */

/* --- Self-hosted Open Sans (DSGVO-konform, kein Google-Kontakt) --- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #f5f5f5;
}

/* Global paragraph spacing: increased bottom margin for clearer rhythm */
p {
  margin-bottom: 1.25rem;
}

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

a {
  color: #1a8fc4;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0d6e9e;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 25px;
  margin-bottom: 12px;
}

h1:first-child, h2:first-child, h3:first-child,
h4:first-child, h5:first-child, h6:first-child {
  margin-top: 0;
}

/* --- Layout --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 3px solid #1a8fc4;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
}

.logo {
  padding-left: 15px;
}

.logo img {
  height: 50px;
  width: auto;
}

@media (min-width: 769px) {
  .logo img {
    height: 65px;
  }
}

/* --- Navigation --- */
.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding: 5px 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1a8fc4, transparent);
  transform-origin: center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1a8fc4;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Sections --- */
.section {
  padding: 60px 0;
}

.section--white {
  background: #fff;
}

.section--gray {
  background: #f0f0f0;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #333;
  margin-bottom: 40px;
  padding-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1a8fc4, transparent);
}

/* --- Start Section --- */
.start-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.profil-intro h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

.profil-intro p {
  text-align: justify;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #555;
}

.profil-intro ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.profil-intro li {
  list-style: none;
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #555;
}

.profil-intro li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: #555;
}

.start-image {
  align-self: start;
}

.start-image img,
.leistungen-image img,
.ueber-mich-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}

/* Image gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 40px 0;
}

.image-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-gallery img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.career-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.career-table td {
  padding: 8px 12px 8px 0;
  vertical-align: top;
  border-top: 1px solid #e8e8e8;
  color: #555;
  line-height: 1.5;
}

.career-table td:first-child {
  white-space: nowrap;
  width: 200px;
  padding-right: 20px;
  font-weight: 400;
  color: #333;
  font-size: 0.85rem;
}

.career-table td:first-child strong {
  font-weight: inherit;
}

.career-table tr:last-child td {
  border-bottom: 1px solid #e8e8e8;
}

/* --- Leistungen Section --- */
.leistungen-content h3,
.ueber-mich-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
}

.leistungen-content h4,
.ueber-mich-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.leistungen-content ul,
.ueber-mich-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.leistungen-content p,
.ueber-mich-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.leistungen-content li,
.ueber-mich-content li {
  list-style: none;
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #555;
}

.leistungen-content li::before,
.ueber-mich-content li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: #555;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.ueber-mich-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* --- Referenzen --- */
.ref-category {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.ref-subnav {
  margin: 0 0 28px;
}

.ref-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ref-subnav a {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid #1a8fc4;
  background: transparent;
  color: #1a8fc4;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.ref-subnav a:hover,
.ref-subnav a.active {
  background: #1a8fc4;
  color: #fff;
}

.ref-subnav a.active {
  pointer-events: none;
  cursor: default;
}

#ref-bauleitplanung,
#ref-moderation,
#ref-projektbegleitung {
  scroll-margin-top: 110px;
}

.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.ref-card {
  background: #fff;
  border-radius: 4px;
  padding: 25px 28px;
  position: relative;
  border-left: 3px solid #1a8fc4;
}

.section--white .ref-card {
  background: #f0f0f0;
}

.section--gray .ref-card {
  background: #fff;
}

.ref-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a8fc4;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ref-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.ref-type {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a8fc4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.ref-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.ref-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.ref-meta span {
  font-size: 0.75rem;
  color: #666;
  background: #f5f5f5;
  padding: 3px 10px;
  border-radius: 3px;
}

/* --- Kontakt Section --- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.contact-form {
  grid-column: 1 / -1;
}

.kontakt-info h3,
.contact-form h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

.kontakt-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.kontakt-info strong {
  color: #333;
}

/* Contact form */
.contact-form {
  margin-top: 30px;
}

.form-message {
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 3px;
  font-size: 0.9rem;
}

.form-message--error {
  background: #fef0f0;
  color: #c33;
  border: 1px solid #f5c6c6;
}

.form-message--success {
  background: #f0fef0;
  color: #2a7a2a;
  border: 1px solid #c6f5c6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background: #fff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a8fc4;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #1a8fc4;
}

.checkbox-group label {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.captcha-row .captcha-question {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.captcha-row input {
  width: 60px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 0.9rem;
  text-align: center;
}

.captcha-row input:focus {
  outline: none;
  border-color: #1a8fc4;
}

.btn-submit {
  display: inline-block;
  background: #1a8fc4;
  color: #fff;
  border: none;
  padding: 12px 35px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
  background: #147aa8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 143, 196, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.section-cta {
  margin-top: 30px;
  text-align: center !important;
}

.btn-cta {
  display: inline-block;
  background: transparent;
  color: #1a8fc4;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  border: 1.5px solid #1a8fc4;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-cta:hover {
  background: #1a8fc4;
  color: #fff;
}

/* --- Footer --- */
.site-footer {
  background: #fff;
  border-top: 3px solid #1a8fc4;
}

.footer-nav {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-legal {
  margin-top: 10px;
}

.footer-nav a {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: #1a8fc4;
}

.footer-bottom {
  padding: 15px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #999;
}

.footer-bottom a {
  color: #999;
}

.footer-bottom a:hover {
  color: #1a8fc4;
}

/* --- Legal Pages (Impressum, Datenschutzerklärung) --- */
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid #e0e0e0;
}

.legal-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
}

.legal-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.legal-content li {
  list-style: none;
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #555;
}

.legal-content li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: #555;
}

/* --- Animations --- */

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.fade-in-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-children.is-visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-children.is-visible > *:nth-child(3) { transition-delay: 0.2s; }
.fade-in-children.is-visible > *:nth-child(4) { transition-delay: 0.3s; }
.fade-in-children.is-visible > *:nth-child(5) { transition-delay: 0.4s; }

/* Section title line animation */
.fade-in .section-title::after,
.section-title.fade-in::after {
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.8s ease 0.3s;
}

.fade-in.is-visible .section-title::after,
.section-title.fade-in.is-visible::after {
  transform: scaleX(1);
}

/* CV table row hover */
.career-table tr {
  transition: background 0.3s ease;
}

.career-table tr:hover {
  background: rgba(26, 143, 196, 0.04);
}

/* --- Responsive --- */
@media (max-width: 820px) {
  .header-inner {
    padding: 25px 20px;
  }

  .logo img {
    height: 65px;
  }

  .logo {
    margin-right: auto;
  }

  .theme-toggle {
    order: 2;
    margin-right: 8px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    padding: 10px;
    margin-right: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 15px 30px;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid #f0f0f0;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .image-gallery img {
    height: auto;
  }

  .career-table td:first-child {
    width: 175px;
    min-width: 175px;
    white-space: normal;
  }

  .start-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .leistungen-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .start-image {
    align-self: auto;
  }

  .start-image img {
    height: 320px;
  }

  .leistungen-image img {
    height: 320px;
  }

  .ueber-mich-image img {
    height: 420px;
    object-position: center top;
  }

  .ueber-mich-grid {
    grid-template-columns: 1fr;
  }

  .ueber-mich-image {
    order: -1;
  }

  .ref-grid {
    grid-template-columns: 1fr;
  }

  .ref-subnav ul {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .footer-nav ul {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 18px 0;
  }

  .container {
    padding: 18px 12px;
  }

  .menu-toggle {
    padding: 10px;
  }

  .main-nav ul {
    padding: 26px 16px;
  }

  .logo img {
    height: 40px;
  }

  .section {
    padding: 20px 5px;
  }
}

/* --- Theme Toggle Button --- */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  color: #666;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: #1a8fc4;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.icon-sun {
  display: none;
}

/* --- Dark Mode --- */
html[data-theme="dark"] body {
  background-color: #121212;
  color: #e0e0e0;
}

html[data-theme="dark"] .site-header {
  background: #1e1e1e;
  border-bottom-color: #3a9fd4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .menu-toggle span {
  background: #e0e0e0;
}

html[data-theme="dark"] .main-nav a {
  color: #aaa;
}

html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .main-nav a.active {
  color: #4db8e8;
}

html[data-theme="dark"] .main-nav {
  background: #1e1e1e;
  border-top-color: #333;
}

html[data-theme="dark"] .theme-toggle {
  color: #aaa;
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #4db8e8;
}

html[data-theme="dark"] .icon-moon {
  display: none;
}

html[data-theme="dark"] .icon-sun {
  display: block;
}

html[data-theme="dark"] .section--white {
  background: #1e1e1e;
}

html[data-theme="dark"] .section--gray {
  background: #252525;
}

html[data-theme="dark"] .section-title {
  color: #e0e0e0;
}

html[data-theme="dark"] .profil-intro h3 {
  color: #e0e0e0;
}

html[data-theme="dark"] .profil-intro p {
  color: #b0b0b0;
}

html[data-theme="dark"] .profil-intro ul li {
  color: #b0b0b0;
}

html[data-theme="dark"] .leistungen-content h3,
html[data-theme="dark"] .ueber-mich-content h3 {
  color: #e0e0e0;
  border-bottom-color: #333;
}

html[data-theme="dark"] .leistungen-content h4,
html[data-theme="dark"] .ueber-mich-content h4 {
  color: #ddd;
}

html[data-theme="dark"] .leistungen-content li,
html[data-theme="dark"] .ueber-mich-content li {
  color: #b0b0b0;
}

html[data-theme="dark"] .leistungen-content li::before,
html[data-theme="dark"] .ueber-mich-content li::before {
  color: #b0b0b0;
}

html[data-theme="dark"] .leistungen-content p,
html[data-theme="dark"] .ueber-mich-content p {
  color: #b0b0b0;
}

html[data-theme="dark"] .career-table td {
  color: #b0b0b0;
  border-bottom-color: #333;
}

html[data-theme="dark"] .career-table td:first-child {
  color: #e0e0e0;
}

html[data-theme="dark"] .career-table tr:hover {
  background: rgba(77, 184, 232, 0.05);
}

html[data-theme="dark"] .cv-section h4 {
  color: #e0e0e0;
}

html[data-theme="dark"] .ref-category {
  color: #e0e0e0;
  border-bottom-color: #444;
}

html[data-theme="dark"] .ref-subnav a {
  background: transparent;
  border-color: #4db8e8;
  color: #4db8e8;
}

html[data-theme="dark"] .ref-subnav a:hover,
html[data-theme="dark"] .ref-subnav a.active {
  background: #4db8e8;
  color: #111;
}

html[data-theme="dark"] .ref-card {
  border-left-color: #3a9fd4;
}

html[data-theme="dark"] .section--white .ref-card {
  background: #2a2a2a;
}

html[data-theme="dark"] .section--gray .ref-card {
  background: #2f2f2f;
}

html[data-theme="dark"] .ref-card h4 {
  color: #e0e0e0;
}

html[data-theme="dark"] .ref-card p {
  color: #b0b0b0;
}

html[data-theme="dark"] .ref-meta span {
  background: #1a1a1a;
  color: #999;
}

html[data-theme="dark"] .kontakt-info h3,
html[data-theme="dark"] .contact-form h3 {
  color: #e0e0e0;
}

html[data-theme="dark"] .kontakt-info p {
  color: #b0b0b0;
}

html[data-theme="dark"] .kontakt-info strong {
  color: #e0e0e0;
}

html[data-theme="dark"] .form-group label {
  color: #b0b0b0;
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group textarea {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus {
  border-color: #4db8e8;
}

html[data-theme="dark"] .checkbox-group label {
  color: #999;
}

html[data-theme="dark"] .captcha-row .captcha-question {
  color: #e0e0e0;
}

html[data-theme="dark"] .captcha-row input {
  background: #2a2a2a;
  border-color: #444;
  color: #e0e0e0;
}

html[data-theme="dark"] .captcha-row input:focus {
  border-color: #4db8e8;
}

html[data-theme="dark"] .site-footer {
  background: #1e1e1e;
  border-top-color: #3a9fd4;
}

html[data-theme="dark"] .footer-nav {
  border-bottom-color: #333;
}

html[data-theme="dark"] .footer-nav a {
  color: #aaa;
}

html[data-theme="dark"] .footer-nav a:hover,
html[data-theme="dark"] .footer-nav a.active {
  color: #4db8e8;
}

html[data-theme="dark"] .footer-bottom p,
html[data-theme="dark"] .footer-bottom a {
  color: #555;
}

/* Legal pages (Impressum, Datenschutz) */
html[data-theme="dark"] .legal-content h3 {
  color: #e0e0e0;
  border-bottom-color: #333;
}

html[data-theme="dark"] .legal-content h4 {
  color: #ddd;
}

html[data-theme="dark"] .legal-content p,
html[data-theme="dark"] .legal-content li {
  color: #b0b0b0;
}

html[data-theme="dark"] .legal-content li::before {
  color: #b0b0b0;
}

html[data-theme="dark"] .legal-content a {
  color: #4db8e8;
}
