/* =========================
   Global & Hintergrund
========================= */

:root {
  --blue-main: #1e3a8a;
  --blue-hover: #1e40af;
  --blue-accent: #2563eb;
  --text-main: #1f2937;
  --text-muted: #4b5563;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(
      rgba(255,255,255,0.3),
      rgba(255,255,255,0.3)
    ),
    url("../bilder/infinity4.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

body {
  color: var(--text-main);
}


a {
  color: var(--blue-accent);         
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Scroll-Anker unter Sticky Header */
section {
  scroll-margin-top: 120px;      
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-notice {
  background: #fef3c7;           
  color: #92400e;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  text-align: center;
}

/* Button disabled */
.demo-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* =========================
   Header & Navigation
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
   
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

.nav-toggle {
  display: none;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  white-space: nowrap;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
   color: #1e3a8a;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* =========================
   Hover nur für Mausgeräte
========================= */

@media (hover: hover) {
  .main-nav a {
    transform: rotate(-18deg);
  }

  .main-nav a:hover {
    color: #1e40af;
    transform: rotate(-18deg) scale(1.05);
  }
}

/* =========================
   Hero
========================= */

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subline {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b5563;
}

/* =========================
   Über mich
========================= */

.ueber-mich {
  max-width: 1000px;
  margin: 0 auto;
   margin-top: 6rem;
  padding: 2rem 1.5rem 3rem;
  text-align: center;  
}

.ueber-mich p {
  line-height: 1.7;
}

/* =========================
   Angebot
========================= */

.angebot {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.angebot h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.angebot-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.angebot-list li {
  line-height: 1.6;
}

/* =========================
   Arbeitsweise
========================= */

.arbeitsweise {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.arbeitsweise h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.arbeitsweise-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.arbeitsweise-list li {
  line-height: 1.6;
}

/* =========================
   Portfolio
========================= */
.portfolio-einleitung {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #4b5563;
}


.portfolio {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 5rem;
}

.portfolio > h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-abschluss {
  margin-top: 3rem;
  text-align: center;
  font-style: italic;
  color: #4b5563;
}

/* =========================
   Projekte
========================= */

.projekt {
  background: rgba(255,255,255,0.65);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-radius: 1rem;              
  padding: 3rem 1.5rem;
  margin-bottom: 5rem;  
}

.projekt h3,
.projekt h4 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}


.projekt p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.projekt-award {
  margin-top: 1.5rem;
  font-style: italic;
}

.projekt-details {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.projekt-details li {
  margin-bottom: 0.5rem;
}

/* =========================
   Projekt Layout
========================= */

.project-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  margin-bottom: 3rem;
}

.project-main {
  background: rgba(255,255,255,0.75);
  border: 1px solid #e5e7eb;
  padding: 1.2rem;
}

.project-inner {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}


.projekt-main h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.project-subline {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #374151;   
}

.project-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  background: #2563eb;
  color: #fff;
  font-weight: 500;
}

.btn:hover {
  background: #1e4fd6;
}

.btn-secondary {
  background: #e5e7eb;
  color: #111;
}

.btn-secondary:hover {
  background: #d1d5db;
}


.projekt-layout {  
  margin: 0 auto;
  display: flex;       
  gap: 1.5rem;
  align-items: center;  
  text-align: left;
}

.projekt-text {
  max-width: 650px;
}

.projekt-media {
  display: flex;
   flex-shrink: 0;
  justify-content: center;
}

.projekt-bild {
  width: 80%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .projekt-bild:hover {
    transform: scale(1.02);
  }
}

.projekt-bild.klein {
  max-height: 250px;
}

.projekt-neben {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

/* =========================
   Kontakt
========================= */

.kontakt {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.kontakt h2 {
  margin-bottom: 1.5rem;
}

/* =========================
   Formular
========================= */

.kontakt-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-field label {
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field textarea {
  padding: 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.kontakt-form button {
  align-self: center;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 0.4rem;
  background: #2563eb;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.kontakt-form button:hover {
  background: #1e40af;
}

.form-hinweis {
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* =========================
   Footer
========================= */

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: #1f2937;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
}

.site-footer a {
  color: var(--blue-main);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}


/* =========================
   Mobile Anpassungen
========================= */

@media (max-width: 768px) {

   .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #2563eb;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);

    flex-direction: column;
    gap: 1rem;

    background: rgba(255,255,255,0.95);
    padding: 1.5rem;
    border-radius: 0.75rem;

    opacity: 0;
    pointer-events: none;

    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
   
  .nav-list.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

   .main-nav a {
      font-size: 1.05rem;
   }

  .projekt-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .projekt-text {
    max-width: 100%;
  }

  .projekt-bild {
    width: 80%;
  }   

}
































































