
@import url('colors.css');

html, body {
    max-width: 100%;
    overflow-x: hidden;
} /* Grund-Einstellungen */
:root {
    --header-height: 88px; /* fallback/header height used for layout spacing */
}
/* Local Poppins font faces (use bundled fonts in assets/fonts) */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 19px; /* increased again for more breathing room */
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Platz schaffen, damit der fixed Header den Inhalt nicht überlappt */
    padding-top: var(--header-height, 88px);
}

h1, h2, h3, h4, p, a {
    margin: 0;
    padding: 0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem; /* wider and taller header */
    /* use the exact same solid turquoise as the hero so there's no visible difference */
    background: var(--color-accent-primary);
}

.logo-container {
    display: flex;
    align-items: center;
}
.logo-link {
    display: flex;
    flex-direction: row; /* ensure logo and text sit side-by-side */
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link h1 {
    margin-left: 0.75rem;
    color: var(--color-text-primary);
    font-size: 2rem; /* larger header brand text */
    line-height: 1; 
    font-weight: 700;
}
.app-logo {
    width: 48px;
    height: 48px;
    margin-right: 0.5rem;
    border-radius: 50%;
    object-fit: cover;
}

header h1 {
    color: var(--color-text-primary); /* dark text on turquoise gradient */
    font-size: 2rem; /* larger logo text */
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* more gap between nav items */
    margin: 0;
    padding: 0;
}

header nav a {
    text-decoration: none;
    color: var(--color-text-primary); /* dark text on turquoise gradient */
    font-weight: 600;
    font-size: 1.05rem; /* slightly larger nav text */
    transition: all 0.3s;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem; /* larger clickable area */
}

header nav a:hover {
    background: var(--color-overlay-subtle);
    color: var(--color-text-primary);
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
}

.hamburger-line {
    width: 2rem;
    height: 0.25rem;
    background: var(--color-text-primary);
    border-radius: 0.25rem;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Fixed header: bleibt immer oben sichtbar und überlappt nicht mehr den Inhalt */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* Stelle sicher, dass der Header weiterhin die definierte Farbe zeigt */
    background: var(--color-accent-primary);
    /* Kein Schatten (wie gewünscht) */
    box-shadow: none;
}

/* Make anchored sections scroll below the fixed header so the target
   section (z.B. #vision) becomes fully visible when clicked in the nav */
section {
    scroll-margin-top: calc(var(--header-height, 88px) + 6px);
}

/* Slightly larger offset for the cooperation section so it appears
   a bit higher when navigated to from the header/footer */
#kooperation {
    scroll-margin-top: calc(var(--header-height, 88px) + 80px);
}

/* Same offset for the 'Vorteile' section so it aligns consistently */
#vorteile {
    scroll-margin-top: calc(var(--header-height, 88px) + 80px);
}

/* Also apply the same offset to the contact section */
#contact {
    scroll-margin-top: calc(var(--header-height, 88px) + 350px);
}

/* Hero Bereich */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
        padding: 5rem 2.5rem; /* even more breathing room */
        background: var(--color-accent-primary);
        /* make the hero fill the viewport below the header so first screen is fully turquoise */
        min-height: calc(100vh - var(--header-height, 88px));
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    
    max-width: 1300px; /* slightly wider max-width */
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 3rem; /* add gap between text and mockup */
}

.hero-text {
    flex: 1 1 450px;
    max-width: 550px;
    margin-bottom: 0;
    color: var(--color-text-primary); /* dark text on turquoise bg */
}

.hero-text h2 {
    font-size: 2.5rem; /* even larger headline */
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.hero-text .store-buttons {
    display: flex;
    gap: 1.25rem; /* more gap */
    flex-wrap: wrap;
    align-items: center;
}

.hero-text .store-badge {
    height: 54px; /* slightly larger badges */
    width: auto;
    transition: transform 0.3s;
}

.hero-text .store-badge:hover {
    transform: scale(1.05);
}

/* Make Google Play badge slightly taller so it visually matches the App Store badge */
.hero-text .store-badge[alt*="Google Play"] {
    height: 72px; /* increased per request */
}

.cta-button {
    background: var(--color-accent-primary);
    color: var(--color-text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

/* Hero Mockups - neue Überlappung und Positionierung */
/* Äußerer Carousel-Wrapper: Overflow sichtbar, damit die Pfeile nicht abgeschnitten werden */
.hero-mockups {
  position: relative;
  margin: 0 auto;
  width: 300px;    /* oder deine Wunsch-Basisbreite */
  overflow: visible;  /* <-- geändert */
}

/* Neuer innerer Viewport für das Bild: hier clippst du */
.carousel-view {
  width: 100%;       /* 300px (bzw. Breite von .hero-mockups) */
  overflow: hidden;  /* nur das Bild selbst wird hier abgeschnitten */
}

/* Bild im Clip-Viewport */
.mockup-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: opacity 0.3s;
  opacity: 1;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-overlay);
  border: none;
  color: var(--color-text-light);
  font-size: 1.2rem;         /* Icon-Größe */
  width: 2.5rem;             /* feste Breite = Höhe */
  height: 2.5rem;            /* damit ein Kreis entsteht */
  display: flex;             /* Icon zentrieren */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;        /* macht daraus einen Kreis */
  z-index: 10;
}

/* Außenpositionierung */
.carousel-btn.prev { left: -2.5rem; }
.carousel-btn.next { right: -2.5rem; }


.carousel-btn:hover {
  background: var(--color-overlay-dark);
}
/*uni.html*/
.hero-mockups.stack {
  position: relative;
  width: 250px;
  height: 450px;
  display: inline-block;
  margin: 0 auto;
  margin-bottom: 4rem; /* Abstand nach unten */
}
.hero-mockups.stack .mockup-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 1rem;
  position: absolute;
  transition: transform 0.3s;
}
.hero-mockups.stack .mockup-img-1 {
  top: 0;
  left: 10px;
  z-index: 2;
}
.hero-mockups.stack .mockup-img-2 {
  top: 75px;
  right: 130px;
  z-index: 1;
}
.hero-mockups.stack .mockup-img:hover {
  transform: scale(1.05);
}

/* Features Bereich */
.features {
    padding: 5rem 2.5rem; /* more vertical and horizontal space */
    text-align: center;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.features h3 {
    margin-bottom: 2.5rem;
    font-size: 2.2rem; /* larger section title */
    font-weight: 700;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem; /* increased card gap */
    margin-top: 2.5rem;
}

.feature-card {
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border-light);
    border-radius: 1rem;
    padding: 2rem; /* more internal padding */
    box-shadow: 0 2px 4px var(--color-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.feature-card h4 {
    margin-bottom: 1.25rem;
    font-size: 1.35rem; /* larger card title */
    font-weight: 600;
}

/* Download Bereich - Neues Design */
.download-section {
    padding: 6rem 2.5rem; /* even more vertical spacing */
    background: var(--color-bg-primary);
    overflow: hidden;
}

/* Extra space after the mirrored download section so the next section starts lower */
.download-section.alt {
    margin-bottom: 6rem; /* extra space below "Wie Revibe dein Marketing verändert" */
}

/* mirrored download section: invert visual order */
.download-section.alt .download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.download-section.alt .download-mockups { order: 0; }
.download-section.alt .download-text { order: 1; }

.download-content {
    max-width: 1500px; /* wider container */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem; /* even larger gaps */
    flex-wrap: wrap;
}

.download-text {
    flex: 1 1 500px;
    max-width: 600px;
}

.download-text h2 {
    font-size: 3rem; /* even larger headline for download sections */
    margin-bottom: 1.5rem;
    line-height: 1.15;
    color: var(--color-text-primary);
    font-weight: 700;
}

.download-text p {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--color-text-muted);
}

.download-text .description {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

/* Remove store buttons inside the Warum  / download sections as requested */
.download-section .store-buttons,
.download-section.alt .store-buttons {
    display: none !important;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.store-badge {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.store-badge:hover {
    transform: scale(1.05);
}

.download-mockups {
    flex: 1 1 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 500px;
}

.mockup-phone {
    width: 250px;
    height: auto;
    border-radius: 0; /* show original PNG without rounded corners */
    box-shadow: none; /* no background/shadow, display image as-is */
    background: transparent;
    position: absolute;
    transition: none; /* disable hover transform */
    cursor: default; /* don't show pointer on hover */
}

/* Prevent drag/focus effects on mockup images that can shift layout in some browsers */
.mockup-phone {
    -webkit-user-drag: none;
    user-select: none;
}
.mockup-phone:focus {
    outline: none;
}
.mockup-phone:active {
    transform: none !important;
}

.mockup-left {
    left: 10%; /* nudge the left image to the right a bit */
    z-index: 1;
}

.mockup-center {
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin-left: -25px; /* smaller negative margin to enforce ~30% overlap */
}

.mockup-right {
    right: 0;
    z-index: 1;
}

/* Hover effects disabled by request - no visual change on hover */
.mockup-phone:hover,
.mockup-left:hover,
.mockup-center:hover,
.mockup-right:hover {
    transform: none;
    z-index: inherit;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-accent-primary);
    color: var(--color-text-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--color-shadow-dark);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-bg-dark);
    color: var(--color-accent-primary);
    transform: translateY(-5px);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* Vision Section */
.vision-section {
    /* Türkiser Hintergrund statt lila */
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-dark) 100%);
    /* Make the vision section fill the viewport (minus header) and center its content vertically */
    min-height: calc(100vh - var(--header-height, 88px));
    display: flex;
    align-items: center;
    padding: 8rem 2.5rem 6rem; /* top / horizontal / bottom */
    color: var(--color-text-primary);
}

/* FAQ Section - modern clean design with sidebar */
.faq-section {
    /* Match the hero background so the section reads like the "Vernetze dich mit" area */
    background: var(--color-bg-primary);
    padding: 6rem 2.5rem 4rem; /* even more vertical room */
    color: var(--color-text-primary);
}
.faq-content {
    max-width: 1300px; /* wider FAQ content */
    margin: 0 auto;
}
.faq-content h3 {
    text-align: left;
    font-size: 3rem; /* larger FAQ heading */
    font-weight: 700;
    margin-bottom: 3.5rem;
    color: var(--color-text-primary);
}
/* enable native smooth scrolling where supported */
html {
    scroll-behavior: smooth;
}
.accordion {
    border-radius: 12px;
    overflow: hidden;
}
.accordion-item {
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-overlay-lighter);
}
.accordion-trigger {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    background: transparent;
    color: var(--color-text-primary);
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}
/* turquoise accent on the question (left border) */
.accordion-trigger::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 36px;
    background: var(--color-accent-primary);
    border-radius: 4px;
    margin-right: 12px;
}

/* New: FAQ categories and animated panels */
.faq-categories {
    display: flex;
    gap: 2rem; /* slightly tighter gap so categories feel connected */
    align-items: flex-start;
    /* unified card container for sidebar + questions */
    background: var(--color-card);
    color: var(--color-text-light);
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.faq-sidebar {
    flex: 0 0 280px;
    /* make the sidebar visually part of the same card */
    background: transparent;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    position: sticky;
    top: 100px;
}
.faq-category {
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    width: 100%;
    margin-bottom: 0;
    box-shadow: none;
    transition: none;
}
.faq-category:hover {
    border: none;
    box-shadow: none;
}
.category-trigger {
    width: 100%;
    padding: 1.25rem 1.75rem; /* increase click area */
    text-align: left;
    font-weight: 600;
    font-size: 1.15rem; /* larger category text */
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    display: block;
    cursor: pointer;
    color: var(--color-text-primary);
    transition: all 0.25s ease;
}
.category-trigger:hover {
    background: rgba(255,255,255,0.04);
    color: var(--color-text-primary);
}
.faq-category.open .category-trigger {
    background: transparent;
    color: var(--color-text-primary);
    font-weight: 700;
    border-left-color: var(--color-accent-primary);
}
.category-trigger .chev { 
    display: none;
}
.faq-main-content {
    flex: 1;
    /* questions live inside the unified card (.faq-categories) so keep background transparent */
    background: transparent;
    border-radius: 8px;
    padding: 0.5rem;
}
.category-panel {
    display: none;
}
.faq-category.open .category-panel {
    display: block;
}
.question-item { 
    border-bottom: 1px solid var(--color-overlay-lighter);
}
.question-item:last-child {
    border-bottom: none;
}
.question-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem; /* comfortable tap target */
    text-align: left;
    background: var(--color-bg-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1.15rem; /* slightly smaller for tighter layout */
    font-weight: 600;
    color: var(--color-text-primary);
    transition: all 0.2s ease;
    border-radius: 8px;
}
.question-trigger:hover {
    background: var(--color-bg-lighter);
}
.question-trigger::before {
    display: none;
}
.question-trigger .chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 1rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1), color 0.2s ease;
    flex-shrink: 0;
}
.question-item.open .question-trigger .chev {
    transform: rotate(180deg);
    color: var(--color-accent-primary);
}
.question-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms cubic-bezier(0.22,1,0.36,1), opacity 300ms ease;
    padding: 0 1.5rem;
    color: var(--color-text-primary);
    font-size: 1.05rem; /* slightly larger answer text */
    line-height: 1.8;
    background: var(--color-bg-primary);
    opacity: 0;
    will-change: max-height, opacity;
}
.question-item.open .question-panel {
    padding: 0 1.5rem 1.75rem 1.5rem;
    opacity: 1;
}
/* JS will set inline max-height when panels are opened/closed */
.accordion-trigger:focus { outline: none; }
.accordion-panel {
    padding: 0 1.25rem 1.25rem 1.25rem;
    display: none;
    color: var(--color-text-primary); /* dark text for visibility on white bg */
    font-size: 0.98rem;
}
.accordion-item.open .accordion-panel { display: block; }


.vision-content {
    max-width: 1500px; /* wider container */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem; /* more gap */
    flex-wrap: wrap;
}

.vision-image {
    flex: 1 1 540px;
    max-width: 760px;
}

.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.32);
    max-height: 640px;
    object-fit: cover;
}

.vision-text {
    flex: 1 1 500px;
    max-width: 700px;
}

.vision-text h2 {
    font-size: 2.8rem; /* larger vision heading */
    margin-bottom: 1.75rem;
    color: var(--color-text-primary);
    font-weight: 700;
}

.vision-quote {
    font-size: 1.65rem; /* larger quote */
    font-weight: 600;
    margin-bottom: 1.75rem;
    line-height: 1.45;
}

.vision-description {
    font-size: 1.15rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
    opacity: 0.95;
}

.vision-signature {
    font-size: 1.4rem;
    margin-top: 2.25rem;
    font-weight: 600;
}

/* Kontakt Bereich */
.contact {
    text-align: center;
    padding: 4rem 2.5rem; /* more padding */
    max-width: 900px;
    margin: 2rem auto;
    margin-bottom: 4rem; /* more space to footer */
}

.contact h3 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem; /* larger contact heading */
    font-weight: 700;
}

.contact p {
    font-size: 1.3rem;
}

/* Partners section */
.partners-section {
    background: var(--color-bg-primary);
    /* remove horizontal padding so the section can reach the viewport edges
       keep some vertical padding for breathing room */
    padding: 3rem 0;
    width: 100%;
}
.partners-content {
    /* make the inner container span the full viewport width while keeping
       the centered page flow. This allows the logos to run edge-to-edge.
       The calc trick recenters a 100vw element inside a centered page container. */
            --partner-size: 130px;
            max-width: none;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            box-sizing: border-box;
            padding: 0; /* remove so the track can reach the edge */
}
.partners-content h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}
.partners-inner {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.partners-track {
     display: flex;
     align-items: center;
     gap: 6rem; /* more space between logos as requested */
     white-space: nowrap;
     /* horizontal padding removed; we'll shift the track left by half a
        logo using --marquee-offset so logos appear clipped at the edges
        without leaving empty space on reload */
     padding: 1.5rem 0;
     will-change: transform;
     /* animation will be set by JS to match dynamic content width
         and the runtime CSS variable --marquee-distance will be used
         to translate the track by the correct pixel amount. */
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
    flex: 0 0 auto;
    width: 130px; /* larger circular logos */
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.partner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes partners-marquee {
    /* start from left offset so logos are clipped at the left viewport edge */
    0% { transform: translateX(calc(var(--marquee-offset, 0px) * -1)); }
    /* end at offset + marquee distance */
    100% { transform: translateX(calc((var(--marquee-offset, 0px) + var(--marquee-distance, 50%)) * -1)); }
}

@media (max-width: 768px) {
    :root { --partner-size: 84px; }
    .partner-item { width: var(--partner-size); height: var(--partner-size); }
    .partners-content h3 { font-size: 1.6rem; }
}

.contact a {
    color: var(--color-accent-primary);
    text-decoration: none;
    font-weight: bold;
}

.contact a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-accent-primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--color-accent-primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-border-dark);
    padding-top: 1rem;
    font-size: 0.9rem;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-accent-primary);
}

.integration {
    background: var(--color-bg-light);
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border-lighter);
}

.integration h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.integration p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.integration-call {
    font-weight: bold;
    margin-top: 1rem;
}

.integration-call a {
    color: var(--color-accent-primary);
    text-decoration: none;
}

.integration-call a:hover {
    text-decoration: underline;
}


/* Responsivität für Mockups und übrige Bereiche */
@media (max-width: 768px) {
    /* Mobile Menu Toggle sichtbar machen */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Navigation für Mobile */
    header nav.main-nav {
        position: fixed;
        top: var(--header-height, 88px);
        right: 0;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - var(--header-height, 88px));
        background: var(--color-accent-primary);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    header nav.main-nav.is-open {
        transform: translateX(0);
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--color-overlay-subtle);
    }

    header nav a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 0;
        text-align: left;
    }

    header nav a:hover {
        background: var(--color-overlay-subtle);
    }

    /* Header Layout anpassen */
    header {
        padding: 1rem 1.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .app-logo {
        width: 40px;
        height: 40px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem; /* NEU: Etwas Innenabstand */
    }
      .footer-column {
        flex: 1 1 100%;
        text-align: center;
        width: 100%; /* NEU: Volle Breite */
    }
    /* Hero Layout: Stapeln */
    .hero-content {
        flex-direction: column;
        align-items: center;
         
    }
    
    /* Download Section Responsive */
    .download-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-text {
        max-width: 100%;
    }
    
    .download-text h2 {
        font-size: 1.8rem;
    }
    
    .store-buttons {
        justify-content: center;
    }
    
    .store-badge {
        height: 40px;
    }

    /* mobile: make sure mirrored section stacks nicely */
    .download-section.alt .download-mockups,
    .download-section.alt .download-text {
        order: initial;
        width: 100%;
    }
    
    .download-mockups {
        height: auto;
        margin-top: 2rem;
        position: relative;
    }
    
    .mockup-phone {
        position: relative;
        width: 150px;
        margin: 0 10px;
        cursor: default;
    }
    
    .mockup-left,
    .mockup-center,
    .mockup-right {
        position: relative;
        transform: none;
        left: auto;
        right: auto;
    }
    
    .mockup-center {
        transform: none;
        margin: 0 10px;
        margin-left: 10px;
    }
    
    /* Vision Section Responsive */
    .vision-content {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-text h2 {
        font-size: 1.8rem;
    }
    
    .vision-quote {
        font-size: 1.2rem;
    }
    
    .vision-description {
        font-size: 1rem;
    }

    /* On small screens don't force full-viewport height for the vision section */
    .vision-section {
        min-height: auto;
        padding: 6rem 2.5rem;
        align-items: flex-start;
    }

    /* Mockups nebeneinander statt überlagert */
  .hero-mockups {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: auto;
    height: auto;
    margin-top: 1rem; /* vorher war wahrscheinlich 2rem oder mehr */
    }

    /* Gestapelte Mockups für uni.html auf Mobile */
    .hero-mockups.stack {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-mockups.stack .mockup-img {
        position: static;
        width: 80%;
        max-width: 250px;
        transform: none !important;
    }

    .hero-mockups.stack .mockup-img-1,
    .hero-mockups.stack .mockup-img-2 {
        position: static;
        left: auto;
        right: auto;
        top: auto;
    }

    /* FAQ Responsive: Stack sidebar vertically */
    .faq-categories {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .faq-sidebar {
        flex: 1 1 auto;
        position: static;
        width: 100%;
    }
    
    .faq-main-content {
        width: 100%;
    }


    .mockup-img {
        position: static;
        max-width: 80%;
        height: auto;
        transform: none !important;
    }

    /* Optional: Überschriften kleiner */
    .hero-text h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-text p {
        text-align: center;
        font-size: 1rem;
    }

    .cta-button {
        display: block;
        margin: 0 auto;
        margin-bottom: 0.5rem;


    }

    /* Footer-Anpassungen */
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-column {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    .cta-button {
    display: block;
    margin: 0 auto;
    width: fit-content;
    max-width: 80%;
    text-align: center;
    }
    /* Header horizontal nebeneinander halten */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* Store Buttons auf Mobile stapeln */
    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .store-badge {
        max-width: 200px;
    }

    /* Hero Padding reduzieren */
    .hero {
        padding: 3rem 1.5rem;
    }

    /* Partner Section */
    .partners-content {
        padding: 2rem 1rem;
    }

    /* Contact Section */
    .contact {
        padding: 3rem 1.5rem;
    }

    .contact h2 {
        font-size: 1.8rem;
    }

    /* Integration Section */
    .integration {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .integration h3 {
        font-size: 1.3rem;
    }

    .integration p {
        font-size: 1rem;
    }
}

/* Extra kleine Bildschirme (unter 480px) */
@media (max-width: 480px) {
    body {
        font-size: 16px;
        padding-top: 70px; /* Reduzierter Header-Abstand */
    }

    :root {
        --header-height: 70px;
    }

    header {
        padding: 0.75rem 1rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .app-logo {
        width: 36px;
        height: 36px;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: calc(100vh - 70px);
    }

    .carousel-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .carousel-btn.prev { left: -2rem; }
    .carousel-btn.next { right: -2rem; }

    /* Download Section auf kleinen Bildschirmen */
    .download-section {
        padding: 3rem 1rem;
    }

    .download-text h2 {
        font-size: 1.8rem;
    }

    .download-text p {
        font-size: 1rem;
    }

    .download-text .description {
        font-size: 0.95rem;
    }

    .mockup-phone {
        width: 120px;
    }

    /* Vision Section */
    .vision-section {
        padding: 3rem 1rem;
    }

    .vision-text h2 {
        font-size: 1.5rem;
    }

    .vision-quote {
        font-size: 1.1rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: 3rem 1rem;
    }

    .faq-content h3 {
        font-size: 1.8rem;
    }

    .accordion-trigger {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    /* Contact Section */
    .contact h3 {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-column h3 {
        font-size: 1rem;
    }

    .footer-column ul li a {
        font-size: 0.85rem;
    }

    .social-links a {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* Impressum, AGB, Datenschutz Sections */
    .impressum-section,
    .agb-section,
    .datenschutz-section {
        padding: 2rem 1rem;
        font-size: 0.95rem;
    }

    .impressum-section h2,
    .agb-section h1,
    .agb-section h2,
    .datenschutz-section h1,
    .datenschutz-section h2 {
        font-size: 1.5rem;
    }

    .impressum-section h3,
    .agb-section h3,
    .datenschutz-section h3 {
        font-size: 1.1rem;
    }

    /* Features Section */
    .features {
        padding: 3rem 1rem;
    }

    .features h3 {
        font-size: 1.6rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.15rem;
    }
}

/* Tablet Landscape und kleinere Desktops (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .download-text h2 {
        font-size: 2.2rem;
    }

    .vision-text h2 {
        font-size: 2rem;
    }

    .faq-content h3 {
        font-size: 2.2rem;
    }

    .mockup-phone {
        width: 180px;
    }

    header nav.main-nav {
        max-width: 350px;
    }

    .features {
        padding: 4rem 2rem;
    }

    .features h3 {
        font-size: 2rem;
    }

    .feature-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .hero-mockups {
        width: 250px;
    }

    .carousel-btn {
        width: 2.2rem;
        height: 2.2rem;
    }
}
