@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600;700&family=Playfair+Display:ital,wght@0,700;1,700&family=Caveat:wght@600;700&display=swap');

:root{

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #000000;/* button bg color*/

    --primary-text-color: #000000;
    --link-hover: #000000;
    --input-hover-bd-color: #000000;
}


html {
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}

header{
    /* background-color: #fff;
    color: #000; */
}


header > .collapsible-header{
    display: flex;
    gap: 1rem;
    width: 100%;
    background-color: inherit;
    place-content: center;
    overflow: hidden;
    transition: width 0.3s ease;
}

.animated-collapse{
    transition: width 0.3s ease;
}

.header-links {
    display: flex;
    align-items: center;
    min-width: fit-content;
    border-radius: 10px;
    padding: 5px 10px;
    transition: background-color 0.5s, color 0.5s;
}


.header-links:hover {
    color: var(--link-hover);
}

.primary-text-color{
    color: var(--primary-text-color);
}

.opacity-0{
    opacity: 0 !important;
}

.opacity-100{
    opacity: 100 !important;
}

.btn{
    padding: 10px 15px;
    width: max-content;
    border-radius: 6px;
    color: var(--btn-color);
    background-color: var(--btn-bg);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}

.btn-outline{
    background-color: transparent;
    color: var(--btn-bg);
    border: 2px solid var(--btn-bg);
}

.btn:hover{

}

.btn:disabled{
    cursor: default;
}

.input{
    padding: 10px;
    background-color: transparent;
    border-radius: 6px;
    /* outline: none; */
    min-width: 100px;
    border: 2px solid #818080;
    transition: border 0.3s;
}

.input:active, .input:focus, .input:focus-within{
    border: 2px solid var(--input-hover-bd-color);
}

.input-error{
    border-bottom: 3px solid #ff1e1e;
}

.input-error:focus-within{
    border-bottom: 3px solid #fd0101;
}


/* Navigation dots styling */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

.footer-link{
    color: #0d0d0d;
    transition: color 0.3s;
}

.footer-link:hover{
    color: #483cf4;
}


.review-container {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.review-card{
    box-shadow: 0px 2px 4px #757474a0;
    border-radius: 15px;
    /* width: 200px; */
    /* height: 550px; */
    padding: 10px;
}

/* --------- collapsible div ---------- */
.collapsible {
    background-color: #f3f0f0;
    color: #2b2929;
    /* cursor: pointer; */
    padding: 5px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    transition: 0.4s;
}

/* Style for the collapsible content */
.content {
    padding: 0 18px;
    /* display: none; */
    height: 0px;
    overflow: hidden;
    background-color: transparent;
    transition: height 0.5s;
    text-align: justify;
    margin-top: 10px;
}

.collapsible .active,
.collapsible:hover {
    /* background-color: #dedddd; */
}

@media not all and (min-width: 1024px) {
    header .collapsible-header {
        position: fixed;
        right: 0px;
        flex-direction: column;
        opacity: 0;
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        width: 0vw;
        justify-content: space-between;
        padding: 5px;
        padding-top: 5%;
        padding-bottom: 5%;
        place-items: end;
        background-color: #ffffff;
        color: #000000;
        overflow-y: auto;
        box-shadow: 2px 0px 3px #000;
    }

    .header-links{
        color: black;
    }
    
}

/* Die Vorlage nutzt fest einkompilierte Tailwind-Farbwerte (Blau,
   #155eef) - ein Neu-Build von Tailwind ist in dieser Umgebung nicht
   möglich, deswegen werden die drei primary-Klassen hier gezielt auf
   dieselbe Markenfarbe wie oben überschrieben, damit die ganze Seite
   einheitlich aussieht. */
.tw-bg-primary{background-color:#000000 !important;}
.tw-text-primary{color:#000000 !important;}
.tw-border-primary{border-color:#000000 !important;}

/* Für die separaten Nutzungsbedingungen-/Datenschutz-/Impressum-Seiten */
.legal-content{
    white-space: pre-wrap;
    line-height: 1.7;
}

/* Monatlich/Jährlich-Umschalter bei den Preisen */
.price-toggle{
    display: inline-flex;
    margin-top: 20px;
    padding: 4px;
    background: #f0f0f0;
    border-radius: 30px;
}
.price-toggle-btn{
    padding: 8px 20px;
    border: none;
    border-radius: 26px;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.price-toggle-btn.active{
    background: #000000;
    color: #fff;
}

/* Haupt-Reiter Free/Plus/Pro - größer, stärker hervorgehoben */
.tier-tabs{
    display: inline-flex;
    margin-top: 24px;
    gap: 6px;
}
.tier-tab{
    padding: 10px 28px;
    border: 2px solid #000000;
    border-radius: 8px;
    background: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.tier-tab.active{
    background: #000000;
    color: #fff;
}

/* Stufen-Pillen innerhalb von Plus/Pro - kleiner, sekundär */
.band-pills{
    display: inline-flex;
    gap: 8px;
    margin-top: 14px;
}
.band-pill{
    padding: 6px 16px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.band-pill.active{
    border-color: #000000;
    background: #f3f3f3;
    color: #000000;
    font-weight: 600;
}

/* Durchgestrichener Text im Hero ("Checklisten" -> "Trunkeds") */
.tw-line-through{
    text-decoration: line-through;
}

/* Rotierender Textbereich im Hero ("wirklich" -> im Team/fürs
   Business/für Familien) - feste Mindestbreite, damit der Rest der
   Überschrift beim Wortwechsel nicht hin- und herspringt. */
.hero-rotator{
    display: inline-block;
    min-width: 260px;
    text-align: left;
}
@media (max-width: 640px){
    .hero-rotator{ min-width: 200px; }
}
.hero-rotator-word{
    display: inline-block;
    animation: hero-rotator-fade 0.4s ease;
}
@keyframes hero-rotator-fade{
    from{ opacity: 0; transform: translateY(6px); }
    to{ opacity: 1; transform: translateY(0); }
}
.hero-font-team{ font-family: 'Quicksand', sans-serif; }
.hero-font-business{ font-family: 'Playfair Display', serif; font-style: italic; }
.hero-font-family{ font-family: 'Caveat', cursive; }

/* ---------- Anwendungsfälle-Section ---------- */
.usecase-card{
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 900px;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.usecase-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.usecase-title{
    font-size: 1.5rem;
    font-weight: 700;
}
.usecase-pill{
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.usecase-pill-free{ background: #eee; color: #333; }
.usecase-pill-plus{ background: #000000; color: #fff; }
.usecase-pill-pro{ background: #000000; color: #fff; border: 2px solid #000; }
.usecase-body{
    display: flex;
    gap: 24px;
    align-items: stretch;
}
.usecase-text{
    flex: 1;
    min-width: 0;
    color: #444;
    line-height: 1.7;
}
.usecase-text p{
    margin: 0;
}
.usecase-bullets{
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
}
.usecase-bullets li{
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.92rem;
    color: #333;
}
.usecase-bullets li::before{
    content: "✓";
    color: #000000;
    font-weight: 700;
    flex-shrink: 0;
}

/* Bild-Bereich - wird per align-items:stretch am usecase-body genauso
   hoch wie der Textbereich daneben, unabhängig vom tatsächlichen
   Seitenverhältnis des Bildes selbst (object-fit:cover schneidet
   sauber zu statt zu verzerren). */
.usecase-image-wrap{
    position: relative;
    width: 240px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f2f2f2;
}
.usecase-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.usecase-image-wrap:hover .usecase-image{
    transform: scale(1.04);
}
.usecase-image-zoom{
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: #000;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
@media (max-width: 720px){
    .usecase-body{ flex-direction: column; }
    .usecase-image-wrap{ width: 100%; height: 220px; }
}

/* Lightbox - vollflächige Vergrößerung per Klick auf ein
   Anwendungsfall-Bild oder das "+"-Symbol. */
.lightbox-overlay{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 5%;
    cursor: zoom-out;
}
.lightbox-overlay.active{
    display: flex;
}
.lightbox-image{
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Instagram-Video-Karte (Zwei-Klick-Lösung) - dieselben Maße wie die
   übrigen Funktions-Karten, damit sie sich ins Raster einfügt. */
.ig-videos-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}
@media (max-width: 900px){
    .ig-videos-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
    .ig-videos-grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
.ig-video-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.ig-video-title{
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 2px;
}
.ig-video-thumb-btn{
    position: relative;
    display: block;
    width: 100%;
    /* Instagram-Format 1080×1350, auf die Hälfte herunterskaliert
       dargestellt (540×675) - als Seitenverhältnis 4/5, damit es sich
       responsiv in jede Kartenbreite einpasst statt fest 540px breit
       zu sein. */
    aspect-ratio: 4 / 5;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: none;
}
.ig-video-thumb-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ig-video-play-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0,0,0,0.25);
    transition: background 0.15s ease;
}
.ig-video-thumb-btn:hover .ig-video-play-overlay{
    background: rgba(0,0,0,0.4);
}
.ig-video-play-circle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    font-size: 20px;
    padding-left: 3px; /* optische Zentrierung des Dreiecks */
}
.ig-video-play-label{
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
/* Direkt unter dem "Instagram-Video laden"-Text platziert (siehe
   HTML-Reihenfolge in instagram-embed.js). */
.ig-video-privacy-hint{
    font-size: 12px;
    color: #7a7a7a;
    line-height: 1.4;
    margin-top: 2px;
}
.ig-video-privacy-link{
    color: #7a7a7a;
    margin-left: 2px;
}
.ig-video-privacy-link:hover{
    color: #000000;
}
.ig-video-embed-target{
    width: 100%;
}
.ig-video-bullets{
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    text-align: left;
    width: 100%;
    font-size: 13px;
    color: #444;
}
.ig-video-bullets li{
    padding-left: 20px;
    position: relative;
    margin-bottom: 4px;
    line-height: 1.4;
}
.ig-video-bullets li::before{
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: 700;
}
/* Sprachumschalter (DE/EN) im Header */
.lp-lang-switcher{
    display: flex;
    gap: 4px;
    margin-left: 8px;
}
.lp-lang-switcher button{
    background: none;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #595959;
}
.lp-lang-switcher button.active{
    background: rgb(21 94 239);
    border-color: rgb(21 94 239);
    color: #fff;
}
