/* =========================
   ROOT / VARIABLEN
========================= */

:root {
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 32px;
  --space-xl: 64px;
  --space-xxl: 128px;

  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;

  --text-white: #f8fafc;
  --text-dim: #94a3b8;

  --font-sans: Arial, sans-serif;
  --font-cursive: "Bad Script", cursive;
}

/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(180deg, #4a6488, #020617);
  color: var(--text-white);
  overflow-x: hidden;
}

/* =========================
   LAYOUT HELPERS
========================= */

.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-grid {
  display: grid;
  place-items: center;
}

/* =========================
   SECTIONS
========================= */

section {
  max-width: 1100px;
  margin: auto;
  padding: var(--space-xl) var(--space-m);
}

/* =========================
   TYPO
========================= */

h1 {
  font-family: var(--font-cursive);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

h2 {
  color: rgba(187, 255, 123, 0.5);
  margin-bottom: var(--space-s);
  z-index: 100;
}

h3 {
  font-family: var(--font-cursive);
  font-size: clamp(2rem, 5vw, 3rem);
}

p {
  line-height: 1.6;
  opacity: 0.9;
}

/* =========================
   VIDEO HEADER
========================= */

.video-header {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.video-header video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.overlay-text {
  position: absolute;
  bottom: 10%;
  left: 10%;
  z-index: 2;
}

/* =========================
   LOGOportrait-container
========================= */

.Logo {
  height: 200px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* =========================
   IMAGE HEADER
========================= */

.header {
  text-align: center;
  position: relative;
}

.header img {
  height: 50vh;
  border-radius: 16px;
}

.titele {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   NAV
========================= */

.nav {
  position: sticky;
  top: 20px;
  margin: var(--space-l) auto;
  width: fit-content;

  display: flex;
  gap: var(--space-m);

  padding: 12px 26px;
  background: rgba(15,23,42,0.8);
  border-radius: 50px;

  z-index: 1000;
}

.tab-button {
  color: var(--text-white);
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.tab-button::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.tab-button:hover {
  color: var(--primary);
}

.tab-button:hover::after {
  width: 100%;
}

/* =========================
   SWIPER
========================= */

.swiper {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   SPLIT SECTION
========================= */

.seitenabschnitt {
  display: flex;
  gap: var(--space-l);
  align-items: center;
  flex-wrap: wrap;
}

.seitenbild img {
  max-width: 100%;
  border-radius: 16px;
}

.seitentext {
  flex: 1;
}
 /* =========================
   Info Kasten
========================= */
.bild-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
    
}

.bild-container img {
  border-radius: 16px;
}

.info-text {
  margin-bottom: var(--space-s);
  background-color: var(--primary);
  padding: var(--space-m);
  border: 2px solid var(--text-white);
  border-radius: 16px;
  text-align: center;
  position: relative;
  bottom: var(--space-xxl);
}

/* =========================
   TESTIMONIALS
========================= */
.center-flex {
  gap: var(--space-l);
}
.portrait-container {
  width: 5000px;
}

.portrait-container img{
    border-radius: var(--space-xxl);
}
/* =========================
   ICONS
========================= */

.icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}

.icons img {
  width: 32px;
  transition: 0.3s;
}

.icons img:hover {
  transform: scale(1.2);
}

/* =========================
   MAP
========================= */

.maps {
  text-align: center;
}

iframe {
  width: 100%;
  height: 50vh;
  border-radius: 16px;
}

/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BLOB
========================= */

.blob {
  height: 100vh;
  width: 50%;
  margin: auto;
  animation: morph 8s infinite ease-in-out;
  background: linear-gradient(135deg, #6366f1, #22c55e);
}
  
@keyframes morph {
  0% { border-radius: 40% 60% 70% 30%; }
  50% { border-radius: 60% 40% 30% 70%; }
  100% { border-radius: 40% 60% 70% 30%; }
}

.picture {
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
}
.picture img {
    width: 100%;
    margin: auto;
    border-radius: 16px;
    position: sticky;
    top: 65px;
}

.Picture-text {
    text-align: center;
    margin-top: var(--space-m);
    background-color: var(--primary);
    color: var(--text-white);
    padding: var(--space-m);
    border: 2px solid var(--text-white);
    border-radius: 16px;
    z-index: 3;
}

.kontakt {
    text-align: center;
    background-color: var(--bg-card);
    padding: var(--space-l);
    border-radius: 16px;
}
.kontakt-text {
    z-index: 3;
    background-color: var(--primary);
    border: 2px solid var(--text-white);
    border-radius: 16px;
}

.kontakt-Bild {
    position: sticky;
    top: 65px;
}

.danke {
    height:100vh;
}
/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  padding: var(--space-l);
  color: var(--text-dim);
}