/* ---------- FONTS ---------- */
@font-face {
  font-family: "Architects Daughter";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/architects-daughter/architects-daughter.woff2")
    format("woff2");
  font-display: swap;
}

/* ---------- RESET & BASISLAYOUT ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #fdfdfd;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #005fa3;
  text-decoration: none;
}

/* ---------- TYPOGRAFIE: SKIZZENSTIL ---------- */
.handwritten {
  font-family: "Architects Daughter", cursive, sans-serif;
  font-size: 2.2rem;
  color: #002244;
  margin-bottom: 1rem;
  text-align: left;
}

.skizzen-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: 2px dashed #005fa3;
  background: transparent;
  color: #005fa3;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Architects Daughter", cursive, sans-serif;
}
.skizzen-button:hover {
  background: #005fa3;
  color: #fff;
  border-style: solid;
}

/* ---------- GLASS ---------- */

.glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.glass {
  background: rgba(255, 255, 255, 0.1); /* durchscheinend weiß */
  border-radius: 16px;
  backdrop-filter: blur(10px); /* erzeugt den Milchglas-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Safari-Unterstützung */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  background: #fdfdfd;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1100vw;
  margin: auto;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  width: 230px;
  object-fit: contain;
  display: block;
}
.logo2 img {
  width: 120px;
  object-fit: contain;
  display: block;
}
.logo_drei img {
  width: 200px;
  object-fit: contain;
  display: block;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
#main-menu {
  display: block;
}
#main-menu ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-menu li a {
  color: #003366;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

/* Hover und Tastaturfokus */
#main-menu li a:hover,
#main-menu li a:focus {
  color: #005fa3;
}

#main-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background-color: #005fa3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#main-menu li a:hover::after,
#main-menu li a:focus::after,
#main-menu li a.active::after {
  transform: scaleX(1);
}

/* Aktiver Zustand */
#main-menu li a.active {
  color: #005fa3;
  font-weight: 600;
}

@media (max-width: 768px) {
  #main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    border-radius: 0 0 12px 12px;
  }
  #main-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .menu-toggle {
    display: block;
  }
  #main-menu[hidden] {
    display: none;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-top: 1rem;
  }
  nav[hidden] {
    display: none;
  }

  .ueber-mich-text {
    padding: 1rem 1.5rem;
  }
}

/* ---------- SEKTIONSLAYOUT ---------- */
header,
section {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

header {
  max-width: 100vw;
}

/* ---------- HERO ---------- */
/* .hero {
  background: 
    linear-gradient(to bottom right, #dfefff, #f3f8ff6f),
    url(../img/background02.png);
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  animation: fadeInUp 1.2s ease-out both;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
} */

.hero {
  background: linear-gradient(to bottom right, #dfefff, #f3f8ffd3),
    url("../img/background02.png");
  background-size: cover;
  background-position: center;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.glass-con {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem 3rem;
  max-width: 1200px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: #003366;
  text-align: center;
}



.hero h1 {
  line-height: 1.05;
  margin: 0;
  color: #003366;
}

.hero h1 .title-top { /* ZEICHENBÜRO */
  display: block;
  font-size: clamp(2.8rem, 6.6vw, 4.6rem);
  font-weight: 800;              /* kräftig */
  letter-spacing: 0.30em;        /* etwas Luft für Versalien */
}

.hero h1 .title-name { /* Peter Kopf */
  display: block;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 600;              /* etwas leichter als oben */
  letter-spacing: 0.2em;        /* minimal, wirkt ruhiger */
  margin-top: 0.25em;            /* Abstand zwischen den Zeilen */
}

.hero p {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  max-width: 60ch;
  margin: 4rem auto 0;
  color: #333;
  opacity: 0.9;
}



/* ---------- ANIMATION ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- LEISTUNGEN VARIANTE 1 MIT AKZENTEN ---------- */
.leistungen.v3 { 
  padding: 4rem 1rem; 
  background: #f6f9fc; 
}
.section-head { 
  text-align: center; 
  max-width: 800px; 
  margin: 0 auto 2rem; 
}
.section-head h2 { 
  font-size: clamp(1.9rem, 3vw, 2.3rem); 
  margin: 0; 
  color: #0b3766; 
}
.section-head .subline { 
  color: #5a6b82; 
  margin-top: .4rem; 
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

.leistung {
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid #e8edf7;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}

/* Muster als Overlay (SVG sehr hell) */
.leistung::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/patterns/cad-lines.svg"); /* Pfad zu deinem Muster */
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.leistung:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #cfe2ff;
}

.icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #1b5fbf 0%, #003366 100%);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.leistung h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b3766;
  margin-bottom: .5rem;
}
.leistung p {
  font-size: .95rem;
  color: #465a73;
  line-height: 1.45;
}

.leistung-cta {
  background: linear-gradient(135deg, #f5f9ff 0%, #dbe7ff 100%);
  border: 1px solid #cfe2ff;
}
.leistung-cta::before {
  background-image: url("../img/patterns/contact-lines.svg"); /* anderes Muster */
}
.leistung-cta .cta-link {
  display: inline-block;
  margin-top: .75rem;
  font-weight: 600;
  color: #1b5fbf;
  text-decoration: none;
}
.leistung-cta .cta-link:hover {
  text-decoration: underline;
}






/* ---------- ÜBER MICH ---------- */
.ueber-mich {
  position: relative;
  padding: 4rem 2rem;
  margin: 4rem auto;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.298) 80px,
      rgba(255, 255, 255, 0.271) calc(100% - 80px),
      rgba(255, 255, 255, 1) 100%
    ),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.987) 0%,
      rgba(255, 255, 255, 0.276) 100px,
      rgba(255, 255, 255, 0.372) calc(100% - 100px),
      rgba(255, 255, 255, 1) 100%
    ),
    url("../img/background.png") center/cover no-repeat;
}
.ueber-mich.visible {
  opacity: 1;
  transform: translateY(0);
}
.ueber-mich-text h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 2rem;
  margin-top: 0;
}
.ueber-mich-text {
  max-width: 720px;
  /* margin: 0 auto; */
  text-align: left;
  padding: 1rem;
}

.ueber-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (min-width: 700px) {
  .ueber-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ueber-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ueber-grid {
    grid-template-columns: 1fr;
  }
}
.info-box {
  background: #f1f7fd;
  border-left: 4px solid #005fa3;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.info-box h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #003366;
  letter-spacing: 0.2px;
}
.info-box ul {
  padding-left: 1.2rem;
  list-style: disc;
  color: #003366;
  font-size: 0.95rem;
  line-height: 1.6;
}
.ueber-mich-bild img {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 2rem;
}

/* ---------- KONTAKTFORMULAR ---------- */
.kontaktformular {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9fbfd;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
transition: all 1s ease-out;
}
.kontaktformular.visible {
  opacity: 1;
  transform: translateY(0);
}
.kontaktformular label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #003366;
}
.kontaktformular input,
.kontaktformular textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}
.kontaktformular input:focus,
.kontaktformular textarea:focus {
  border-color: #005fa3;
  outline: 2px solid #005fa3; outline-offset: 2px;
  background: #fff;
}
.kontaktformular p {
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
}

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

.datenschutz-hinweis {
  margin-bottom: 2rem;
  border: none;
  padding: 0;
}

.ds-check {
  margin-bottom: 2rem;
}

.ds-check label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #003366;
  line-height: 1.5;
  background: #f9fbfd; /* optional: einheitliches Box-Design */
  padding: 1rem;
  border-radius: 8px;
}

.ds-check input[type="checkbox"] {
  margin-top: 0.3rem;
  flex-shrink: 0;
  transform: scale(1.2);
  width: 0.8rem; /* feste Breite */
  height: 0.8rem; /* feste Höhe */
  align-self: start; /* verhindert Höhenstretch */
}

.ds-check a {
  color: #005fa3;
  text-decoration: underline;
}

.ds-label a {
  color: #005fa3;
  text-decoration: underline;
}

/* ---------- DSGVO COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #003366;
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
}
.cookie-banner a {
  color: #9cd6ff;
  text-decoration: underline;
}
.cookie-banner a:hover {
  color: #ffffff;
}
.cookie-banner button {
  background: #005fa3;
  border: none;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #f5faff;
  padding: 1rem 0;
  font-size: 0.95rem;
  color: #222;
  box-shadow: 0 1px 10px #0015ff19;
  margin-top: 4rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
}
.footer-left,
.footer-right {
  min-width: 200px;
}
.footer-left a,
.footer-right a {
  color: #005fa3;
  text-decoration: none;
}
.footer-left a:hover,
.footer-right a:hover {
  text-decoration: underline;
}
.footer-credit {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  margin-top: 1rem;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  text-decoration: none;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  clip: auto;
}

/* ---------- SCROLL-EFFEKT SICHTBARKEIT ---------- */
.wow {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}
.wow.visible {
  opacity: 1;
  transform: translateY(0);
}


/* A11y: sichtbarer Tastaturfokus */
:focus-visible {
  outline: 2px solid #005fa3;
  outline-offset: 2px;
}
.navbar a:focus-visible,
.menu-toggle:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Reveal-on-scroll pattern: only offscreen elements are hidden */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
