/* ==========================================================================
   HELLES THEMA: #FAF8F5, Text & Vögel schwarz
   Wird als letztes Stylesheet geladen und überschreibt das dunkle Design.
   ========================================================================== */

/* ---------- Farben & Hintergrund ---------- */
:root {
  --bg-color: #faf8f5;
  --bg-card: transparent;
  --bg-card-hover: transparent;
  --card-bg: #faf8f5;
  --text-primary: #111111;
  --text-secondary: #111111;
  --text-muted: #111111;
  --border-color: rgba(17, 17, 17, 0.14);
}

html,
body {
  background: #faf8f5 !important;
  color: #111 !important;
}

/* Hintergrund ohne Struktur und ohne Körnung */
body::before {
  background: #faf8f5 !important;
  background-image: none !important;
}
.noise-overlay, .bg-glow-1, .bg-glow-2 { display: none !important; }

/* Alle Abschnitte: gleicher Hintergrund, keine Flächen oder Kanten */
.page,
.hero,
.arbeit-container,
.about-container,
.faq-container,
.testimonials-container,
.contact-container,
footer {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- Kopfzeile & Navigation ---------- */
header,
header.scrolled {
  background: #faf8f5 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}
@media (max-width: 768px) {
  nav { background: #faf8f5 !important; border-left: 1px solid rgba(17, 17, 17, 0.14) !important; }
}

/* Logo im Original (schwarz) */
.logo-img,
header.scrolled .logo-img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Aktiver Menüpunkt nur mit dünner Linie darunter */
.nav-indicator { display: none !important; }
.nav-link,
.nav-link.active {
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none;
}
.nav-link.active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: #111;
}

/* ---------- Texte & Bedienelemente ---------- */
main, main *,
header, header *,
footer, footer * {
  color: #111 !important;
}
::placeholder { color: rgba(17, 17, 17, 0.5) !important; }

.form-input { border-bottom-color: rgba(17, 17, 17, 0.25) !important; }
.form-input:focus { border-bottom-color: #111 !important; }
.btn-magnetic, .btn-submit, .carousel-btn, .social-btn, .copy-email-btn,
.timeline-num {
  border-color: rgba(17, 17, 17, 0.3) !important;
  background-color: transparent !important;
}
.contact-form-side,
.contact-form-side:hover {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(17, 17, 17, 0.14) !important;
  box-shadow: none !important;
}

/* Hover: schwarze Fläche, heller Text */
.btn-magnetic:hover, .btn-submit:hover, .carousel-btn:hover, .social-btn:hover {
  background: #111 !important;
  border-color: #111 !important;
}
.btn-magnetic:hover, .btn-magnetic:hover *,
.btn-submit:hover, .btn-submit:hover *,
.carousel-btn:hover, .carousel-btn:hover *,
.social-btn:hover, .social-btn:hover * {
  color: #fafafa !important;
}

/* Headlines: Outfit 200, 80 % der ursprünglichen Grösse */
.hero-title {
  font-size: clamp(30px, 5.2vw, 72px) !important;
  font-weight: 200 !important;
}
.section-title {
  font-size: clamp(22px, 2.8vw, 35px) !important;
  font-weight: 200 !important;
}
.about-title,
.contact-title {
  font-size: clamp(26px, 3.2vw, 42px) !important;
  font-weight: 200 !important;
}

/* ---------- Abstände & Trennlinie ---------- */
.page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.arbeit-container,
.about-container,
.faq-container,
.testimonials-container,
.contact-container {
  padding-top: 28px !important;     /* Trennstrich nah an der Headline */
  padding-bottom: 180px !important; /* Abstand zum nächsten Abschnitt */
}

/* Linie 1/4 der Seitenbreite, linksbündig mit dem Inhalt */
.page + .page::before {
  content: "";
  display: block;
  width: 25%;
  height: 1px;
  margin: 0 0 0 8%;
  background: #111;
}
@media (max-width: 992px) {
  .page + .page::before { margin-left: 5%; }
}
@media (max-width: 768px) {
  .arbeit-container,
  .about-container,
  .faq-container,
  .testimonials-container,
  .contact-container {
    padding-top: 20px !important;
    padding-bottom: 120px !important;
  }
}

/* ---------- 1. Abschnitt ---------- */
#hero-tag { display: none !important; }

/* Volle Breite, gleicher Seitenrand wie die übrigen Abschnitte */
.hero {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 8% !important;
  padding-right: 8% !important;
  padding-bottom: 180px !important;
  text-align: left !important;
  align-items: stretch !important;
}
/* Text linksbündig, aber nicht über die ganze Breite */
.hero-text-side,
.hero-title,
.hero-desc { width: 100% !important; }
.hero-text-side { max-width: 1000px !important; align-items: flex-start !important; }
.hero-title { max-width: 1000px !important; }
.hero-desc { max-width: 680px !important; }
/* Vogelschwarm über die volle Bildschirmbreite */
.hero-animation-side {
  left: 0 !important;
  width: 100% !important;
}
@media (max-width: 992px) {
  .hero {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}
@media (max-width: 768px) {
  .hero { padding-bottom: 120px !important; }
}

/* ---------- Über mich: Schwalbe schwarz, ohne Mouseover ---------- */
.about-portrait-img {
  filter: grayscale(1) brightness(0) !important;
  mix-blend-mode: multiply !important;
}
.about-portrait-img,
.about-portrait-img:hover,
.about-bird-swarm,
.about-bird-swarm:hover {
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* ---------- Feedback ---------- */
/* Textkacheln zentriert, Kacheln mittig in der Seite
   (bei mehr Kacheln als Platz greift weiterhin der Slider) */
.testimonial-item {
  text-align: center;
  align-items: center;
}
.testimonial-author { justify-content: center; }
.testimonials-track > .testimonial-item:first-child { margin-left: auto; }
.testimonials-track > .testimonial-item:last-child { margin-right: auto; }

/* Vogelfläche so hoch wie im 1. Abschnitt, Überstehendes abschneiden */
#stimmen { position: relative; overflow: hidden; }

/* ---------- Portfolio & CMS ---------- */
.pf-tile:focus-visible { outline-color: #111 !important; }
.pf-item.is-over .pf-tile { outline-color: #111 !important; }
.pf-draft-badge { color: #fafafa !important; }
.pf-admin .admin-card-btn, .pf-admin .admin-card-btn * { color: var(--text-primary) !important; }

/* Header: „yettydesign“ gleich gross wie der Fliesstext, etwas kräftiger */
.logo-text {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Kontaktformular: Bestätigung als weisses Feld mit schwarzer Schrift */
.form-success-overlay {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(17, 17, 17, 0.14) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.form-success-overlay .success-title {
  color: #111 !important;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* Feedback: gleicher Seitenrand wie alle Abschnitte (style.css überschrieb ihn mit 8 %) */
@media (max-width: 992px) {
  .testimonials-container {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
}

/* ---------- Fenster (CMS, Impressum/AGB/Datenschutz): weiss mit schwarzer Schrift ---------- */
.modal-content-wrapper,
.admin-modal-content,
.pf-editor,
.admin-badge {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid rgba(17, 17, 17, 0.14) !important;
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.12) !important;
}
.modal-content-wrapper *,
.admin-modal-content *,
.admin-badge * { color: #111 !important; }
.modal-overlay { background: rgba(250, 248, 245, 0.85) !important; }
.admin-modal {
  background: rgba(250, 248, 245, 0.85) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-modal-title { color: #111 !important; }
.admin-modal-input,
.pf-ed-input {
  background: #ffffff !important;
  color: #111 !important;
  border: 1px solid rgba(17, 17, 17, 0.25) !important;
}
.admin-modal-btn,
.admin-badge-btn {
  background: #111 !important;
  color: #ffffff !important;
  border: 1px solid #111 !important;
}
.admin-modal-btn *, .admin-badge-btn * { color: #ffffff !important; }
.admin-modal-btn.secondary-btn,
.admin-badge-btn.cancel-btn {
  background: #ffffff !important;
  color: #111 !important;
}
.admin-modal-btn.secondary-btn *, .admin-badge-btn.cancel-btn * { color: #111 !important; }
/* Rechtstexte gut lesbar */
#legal-modal .modal-content-wrapper { height: auto !important; }
