/* Reset / Basis */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

/* Header / Navbar mit Glas-Effekt */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 100; 
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

/* Navbar Container */
.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  animation: slideDown 0.6s ease forwards;
}

/* Brand */
.brand .logo {
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  color: white;
  font-size: 1.125rem;
  transition: transform 0.25s ease, color 0.25s ease;
}
.brand .logo:hover { transform: scale(1.08); color: #93c5fd; }

/* Nav links (desktop) */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Link styles */
.nav-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.nav-link:hover,
.nav-link:focus {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  outline: none;
}

/* CTA button link */
.cta {
  background: linear-gradient(90deg,#2563eb,#7c3aed);
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
}

/* Mobile toggle */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  position: relative;
  background: white;
  transition: all 0.3s ease;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

/* Responsive behavior */
@media (max-width: 820px) {
  .nav-toggle-label { display: flex; }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 1rem;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
    gap: 0.25rem;
    border-radius: 12px;
    width: calc(100% - 2rem);
    max-width: 300px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(2,6,23,0.6);
  }

  .nav-links li { width: 100%; }
  .nav-links .nav-link { width: 100%; padding: 0.75rem 1rem; }
  .nav-links .cta { margin: 0.5rem 1rem 0.25rem 1rem; width: calc(100% - 2rem); text-align: center; }

  /* Hamburger Animation */
  .nav-toggle:checked ~ .nav-toggle-label .hamburger { background: transparent; }
  .nav-toggle:checked ~ .nav-toggle-label .hamburger::before { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle:checked ~ .nav-toggle-label .hamburger::after { transform: rotate(-45deg) translate(4px, -4px); }

  .nav-toggle:checked ~ .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* Keyframes */
@keyframes slideDown { from { transform: translateY(-60px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes grow { from { height: 0; } to { height: 400px; } }

/* Accessibility */
a:focus { outline: 3px solid rgba(99,102,241,0.18); outline-offset: 3px; border-radius: 6px; }

/* Demo Content */
main { padding: 2rem 1rem; max-width: 1100px; margin: 0 auto; color: #0b1220; }
section h1 { margin-bottom: 0.5rem; }
section p { color: #334155; }

.img-backrground {
  margin: 0; 
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;
}
.img {
  width: 150px;     
  height: 150px;   
  object-fit: cover; 
  border-radius: 50%;
  margin-left: auto;
  box-shadow: 0 0 15px #5d5d5d, 0 0 30px #ff6f00, 0 0 45px #ffffff;
}
@media (max-width: 480px) {
  .img { width: 100px; height: 100px; }
  .main-text { font-size: 1.5rem; }
  .main-cta { font-size: 1rem; padding: 8px 16px; }
  .box, .box-2 { width: 90vw; height: 15vh; }
}

.line-left {
  color: #334155;
  border-left: 5px solid #334155;
  height: 0;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: grow 1.5s ease-out forwards;
  border-radius: 5cm;
}

.main-text{
  position: absolute;
  justify-content: space-between;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 1; 
  animation: grow 1.5s ease-out forwards;
}

.main-cta {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(90deg,#2563eb,#7c3aed);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.main-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(37,99,235,0.35);
}

.site-footer {
  background-color: #1e293b;
  padding: 20px 0;
  text-align: center;
}
.box-footer {
  display: flex;
  justify-content: center;
  gap: 15px;
  height: 100px;
  background: rgba(15, 23, 42, 0.55); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  bottom: 0;           
  left: 0;
  width: 100%;         
  z-index: 1000;
}
.footer-link {
  color: #ffffff;
  font-size: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
  margin: 0 15px;
}
.footer-link:hover {
  color: #2563eb;
  transform: scale(1.2);
}

.box {
  background-color: #2563eb;
  width: 80vw;
  height: 20vh;
  position: fixed;
  border-radius: 5cm;
  transition: background-color 0.3s ease, transform 0.6s ease;
  padding: 20px;
  font-size: 1.5rem;
  color: white;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
}
.box:hover {
  background-color: #7c3aed;
  transform: scale(1.05);
}
.box-2 {
  background-color: #7c3aed;
  width: 80vw;
  height: 20vh;
  border-radius: 5cm;
}
/* Intro Liste */
.intro ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 1rem 0;
  justify-content: center;
}

/* Listenelemente */
.intro li.text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: transform 0.25s ease, background 0.25s ease;
}

/* Hover Effekt */
.intro li.text:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(37, 99, 235, 0.3);
}

/* Icons */
.intro li.text i {
  font-size: 1.25rem;
  color: #fff;
  transition: color 0.25s ease;
}

.intro li.text:hover i {
  color: #7c3aed;
}

/* Links */
.intro li.text a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.25s ease;
}

.intro li.text:hover a {
  color: #93c5fd;
}

/* Mobile Anpassungen */
@media (max-width: 480px) {
  .intro ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .intro li.text {
    justify-content: center;
    width: 100%;
  }
  .intro li.text i {
    font-size: 1rem;
  }
  .intro li.text a {
    font-size: 0.9rem;
  }
}
.instagram-media{
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    max-width: 540px !important;
    width: calc(100% - 2px) !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: hidden !important;

}
.error{
    text-align: center;
    color: #ffffff;
    font-size: 5rem;
    margin-top: 20vh;
}
.warum-ich {
  max-width: 900px;
  margin: 4rem auto;
  padding: 1.5rem;
  text-align: center;
  color: #f1f5f9;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.warum-ich h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #93c5fd;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.warum-ich p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
  .warum-ich {
    margin: 2rem 1rem;
    padding: 1rem;
  }
  .warum-ich h1 {
    font-size: 2rem;
  }
  .warum-ich p {
    font-size: 1rem;
  }
}
