/* =========================================================
   DESIGN SYSTEM – MINIMAL / EDITORIAL / PREMIUM
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;800&display=swap");

:root {
    --bg-main: #f8fafc;
    --bg-soft: #ffffff;
    --bg-panel: #ffffff;

    --accent: #4f46e5;
    --accent-muted: #6366f1;

    --text-main: #0f172a;
    --text-muted: #475569;

    --border-subtle: rgba(15, 23, 42, 0.08);
}

/* =========================================================
   BASE
========================================================= */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    perspective: 1200px;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-main);
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.7rem; }

p {
    color: var(--text-muted);
    max-width: 46rem;
}

/* =========================================================
   NAVBAR – FINAL
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);

    animation: navFadeDown 0.8s cubic-bezier(.2,.8,.2,1);
}

nav.navbar {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin-right: 1rem;
}


.navbar .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.4rem 0;
    margin-left: 1.4rem;
    transition: color .25s ease, transform .25s ease;
}

/* Aktiver Link = Text */
.navbar .nav-link.active {
    pointer-events: none;
    cursor: default;
    color: var(--text-main);
    font-weight: 600;
}

.navbar .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    border-radius: 999px;
}

.navbar .nav-link.active::after {
    display: none;
}

/* Hover */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}

.navbar .nav-link:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}

.navbar .nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

@keyframes navFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   HERO – WOW, aber kompakt
========================================================= */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: flex-start;
    padding-top: 7rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(79,70,229,.18), transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(99,102,241,.12), transparent 60%);
    filter: blur(50px);
    transform: scale(1.1);
    opacity: .8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title,
.hero-subtitle,
.hero-text,
.hero-actions {
    opacity: 0;
    transform: translateY(40px);
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 650;
}

.hero-subtitle {
    margin-top: .3rem;
    color: var(--text-muted);
}

.hero-text {
    margin-top: 1.2rem;
    font-size: 1.15rem;
}

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    gap: 1rem;
}

.hero.is-visible .hero-title      { animation: heroFadeUp .9s forwards; }
.hero.is-visible .hero-subtitle   { animation: heroFadeUp .9s .15s forwards; }
.hero.is-visible .hero-text       { animation: heroFadeUp .9s .3s forwards; }
.hero.is-visible .hero-actions    { animation: heroFadeUp .9s .45s forwards; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.hero-image img {
  width: 380px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translate(-150px, -40px);
}

/* =========================
   CALENDLY SKELETON
========================= */

.calendly-skeleton {
  padding: 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fafafa;
  min-height: 500px;
}

.skeleton-line {
  height: 18px;
  background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 12px;
  width: 60%;
}

.skeleton-line.short { width: 35%; }

.skeleton-grid {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.skeleton-block {
  flex: 1;
  height: 80px;
  background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-hint {
  text-align: center;
  color: #aaa;
  margin-top: 3rem;
  font-size: 0.9rem;
}

@keyframes shimmer {
  0%  { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* =========================
   HERO – MOBILE
========================= */

@media (max-width: 768px) {


  /*Überschrift Datenschutzerklärung*/
  h1 {
    font-size: 2.0rem;
    line-height: 1.2;
    
  }

/*Überschrift Kontaktinformationen*/
    .kontakt-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

  /* Desktop-Bild auf Mobile AUS */
  .hero-image {
    display: none;
  }


  header.hero {
    position: relative;
    min-height: 85svh;
    overflow: hidden;
  }

  /* Hintergrundbild */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/Profilbild2.jpg");
    
    background-size: cover;
    background-position: center top;
   
    background-repeat: no-repeat;
    filter: brightness(1.5);
      clip-path: polygon(
    0 0,
    100% 0,
    100% 96%,
    50% 100%,
    0 96%
  );
    transform: scale(1);
    z-index: 1;
    opacity: 1;
    transition: transform 1.2s ease;
  }

   .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.90)
    );
    z-index: 1;
  }

  /* Text darüber */
  .hero-content {
    position: relative;
    z-index: 2;
    color: rgb(255, 255, 255);
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin: 0;
  }

  .hero-content p {
    margin-top: 12px;
    font-size: 1.1rem;
    opacity: 0.9;
  }

  .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
  }

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding-top: 20px;
  margin-top: 0;
}
  
  .hero-title {
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
  }

  .hero-actions {
    margin-top: 40px;
    padding: 16px;
    border-radius: 15px;
    backdrop-filter: blur(0px);
  }
.hero-actions .btn {
  width: 100%;
  padding: 10px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;

  display: flex;
  justify-content: center;
  align-items: center;
}

  /* Haupt-CTA */
  .btn-primary {
    background: #2563eb; /* kräftiges Blau */
    color: #ffffff;
    border: none;
          animation: pulseIn 0.9s ease-out;
  }


  /* Sekundär CTA */
  .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
          animation: pulseIn 0.9s ease-out;
  }

  @keyframes pulseIn {
    0% {
      transform: scale(0.96);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  
  }

    .nav-center-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.7;
    pointer-events: none;
    white-space: nowrap;
  }

  .navbar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 35px;
    height: 2px;
    background: currentColor;
    opacity: 0.2;
    transform: translateX(-50%);
  }

  /*Zertifikation*/

  .certification-badge {
    width: 120px;
    margin: 0 auto 0rem;
    display: block;
    animation: none !important;
    transition: none !important;
    height: auto;
  }

  .certification-badge:hover {
    transform: none;
    box-shadow: none;
  }

}

/* =========================
   TABLET
========================= */

@media (hover: none) and (pointer: coarse) and (min-width: 768px) {
 
  /*Startseite Hero Text weiter rechts*/
  .hero {
    padding-left: 3rem;
  }
  
/*Umbruch Startseite Hero Text*/

  .tablet-break {
    display: block;
  }

  /*Logo*/
.navbar-logo {
  width: clamp(180px, 46vw, 220px);
  height: auto;
}

  /*Profilbild weiter nach rechts*/
  .hero .hero-image {
    transform: translateX(5.5rem);
  }
 
  /*Zertifikation*/

  .certification-badge {
    width: 120px;
    margin: 0 auto 0rem;
    display: block;
    animation: none !important;
    transition: none !important;
    
    height: auto;
  }

  .certification-badge:hover {
    transform: none;
    box-shadow: none;
  }
  
}



/* =========================
   FADE-IN (JavaScript)
========================= */

.hero-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}




/* =========================================================
   STARTSEITEN-ABSTÄNDE (NUR HIER!)
========================================================= */

.page-section {
    margin: 1.6rem 0;
}

.page-home .page-section:first-of-type {
    margin-top: 1rem;
}

.page-home .page-section:last-of-type {
    margin-bottom: 2.4rem;
}

/* =========================================================
   INFO-SECTIONS (KÄSTEN)
========================================================= */

section.info-section {
    position: relative;
    background-color: var(--bg-panel);
    border-radius: 1.4rem;
    padding: 2rem 2.2rem;
    box-shadow:
        0 20px 50px rgba(15,23,42,.14),
        0 0 0 1px var(--border-subtle);
}

section.info-section::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 999px;
}

section.info-section h2 {
    margin-bottom: 1rem;
}

section.info-section p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   CARDS
========================================================= */

.card {
    background-color: var(--bg-soft);
    border-radius: 1.25rem;
    border: 1px solid var(--border-subtle);
    transform-style: preserve-3d;
    box-shadow: 0 14px 40px rgba(15,23,42,.12);
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
                box-shadow .35s ease,
                border-color .35s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent 35%,
        rgba(255,255,255,.6) 50%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity .35s ease;
}

.card:hover::before { opacity: 1; }

.card:hover {
    transform: translateY(-8px) translateZ(22px);
    border-color: rgba(79,70,229,.35);
    box-shadow: 0 28px 70px rgba(15,23,42,.18);
}

/* =========================================================
   BUTTONS
========================================================= */

/* PRIMARY BUTTON */
.btn-primary {
  background: linear-gradient(135deg, #5c56cf, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* HOVER = WOW */
.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.65);
  filter: brightness(1.1);
}


/* SECONDARY BUTTON */
.btn-outline-secondary {
  background: rgba(79, 70, 229, 0.12);
  color: #4f46e5;
  border: 1.5px solid rgba(79, 70, 229, 0.5);
  border-radius: 999px;
  font-weight: 500;
  padding: 0.8rem 1.8rem;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-outline-secondary:hover {
  background: rgba(79, 70, 229, 0.22);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
}

.btn-primary:active,
.btn-outline-secondary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    font-size: .9rem;
    color: var(--text-muted);
    padding: 2rem 0;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* CTA-Text sauber zentrieren */
.cta-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 520px;
}


/* =========================
   LOGO – MONOGRAMM + WORTMARKE
========================= */
.navbar-logo {
  display: block;
  width: clamp(210px, 24vw, 285px);
  height: auto;
  overflow: visible;
}

.navbar-logo .logo-title,
.navbar-logo .logo-subtitle {
  font-family: "Montserrat", sans-serif;
  fill: #222428;
}

.navbar-logo .logo-title {
  font-weight: 800;
  font-size: 128px;
  letter-spacing: -0.03em;
}

.navbar-logo .logo-subtitle {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.22em;
  text-anchor: middle;
}

.navbar-logo .logo-dot {
  fill: #72c5e8;
}

.navbar-logo .logo-stroke {
  stroke: #0c147a;
  stroke-width: 42;
  stroke-linecap: round;
}

@media (max-width: 991.98px) {
  .navbar-logo {
    width: clamp(190px, 28vw, 240px);
  }
}

@media (max-width: 768px) {
  .navbar-logo {
    width: clamp(180px, 46vw, 220px);
  }
}

/* Hover – lebt, aber schreit nicht */
.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.6);
  transition: all 0.3s ease;
  transform: scale(1.08);
}

.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.logo:hover .logo-text::after {
  width: 100%;
}   

/*Badge Zertifizierung*/

.certification-badge {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 8px;
}

.certification-badge:hover {
  border-radius: 14px;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.reveal-cert {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-cert.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes softGlow {
  0% {
    box-shadow: 0 0 0 rgba(66,133,244,0);
  }
  50% {
    box-shadow: 0 0 35px rgba(66,133,244,0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(66,133,244,0);
  }
}

.certification-badge.glow-once {
  animation: softGlow 1.8s ease 0.5s 1;
}


/* =========================
   JOURNEY SECTION
========================= */

.journey-section {
  position: relative;
  background: #0f172a;
  overflow: hidden;   /* WICHTIG */
}

.footer-custom{
  background-color: #101621;
  color: #f8fafc;
}

/* Background FIXED + klickdurchlässig */
.journey-bg {
  position: absolute;
  inset: 0;
  width: 97;
  height: 97%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Blob 1 */
.journey-bg::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  left: -150px;
  animation: blobMove1 10s infinite ease-in-out alternate;
  filter: blur(60px);
}

/* Blob 2 */
.journey-bg::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 50px;
  right: 50px;
  animation: blobMove2 10s infinite ease-in-out alternate;
  filter: blur(80px);
}

/* Animation 1 */
@keyframes blobMove1 {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(60px,40px) scale(1.05); }
  100% { transform: translate(-40px,60px) scale(1); }
}

/* Animation 2 */
@keyframes blobMove2 {
  0%   { transform: translate(0px, 0px); }
  50%  { transform: translate(-60px, -40px); }
  100% { transform: translate(50px, -60px); }
}


.journey-section .container {
  position: relative;
  z-index: 2;
}


.journey-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}


@keyframes bgMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(-10%, -10%); }
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px;
  background: #334155;
  top: 0;
  height: 0;
  transform: translateX(-50%);
  transition: height 2s ease;
}

.timeline.animate-line::before {
  height: 100%;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 40px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-content {
  background: #1e293b;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content h5 {
  color: #2563eb;
  font-weight: 600;
}

.timeline-content h6 {
  color: #ffffff;
  font-weight: 500;
}

.timeline-content p {
  color: #94a3b8;
}

/* Glow Hover */
.timeline-content:hover {
  box-shadow: 0 0 25px rgba(59,130,246,0.6);
  transform: translateY(-5px);
}

/* Timeline Dot */
.timeline-item::after {
  content: "";
  position: absolute;
  top: 40px;
  width: 16px;
  height: 16px;
  background: #3b82f6;
  border-radius: 50%;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

.timeline-item:nth-child(odd)::after {
  right: -8px;
}

.timeline-item:nth-child(even)::after {
  left: -8px;
}

/* Highlight */
.timeline-item.highlight .timeline-content {
  border: 2px solid #3b82f6;
}

.timeline-item.future .timeline-content {
  border: 2px dashed #3b82f6;
  background: rgba(17,24,39,0.9);
}

/* Map Marker */
.map-container {
  position: relative;
}

.map-marker {
  position: absolute;
  width: 15px;
  height: 15px;
  background: red;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1.5s infinite;
}

/* Mobile */
@media (max-width: 768px) {
  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 30px;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-item::after {
    left: 0;
  }

  .timeline-content {
    padding: 18px;
  }

}




/* ==============================
   STORY CARDS ISLAND, SÜDAMERIKA
============================== */

.story-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.story-card {
  flex: 1;
  min-width: 200px;
  background: rgba(30,41,59,0.7);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.story-card h6 {
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 8px;
}

.story-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.2);
  border-color: rgba(37,99,235,0.4);
}

.story-card.visible {
  opacity: 1;
  transform: translateY(0);
}

