/* Custom Styles for No More Cigarettes Landing Page */
:root{
    --surface: #ffffff;
    --border: #dfe5e7;
    --muted:  #5f6b72;
    --text:   #1f2a2e;
    --accent: #2e9b6b; /* dein Mint/Grün */
    --accent-hover: #27865b;
}

html {
    scroll-behavior: smooth;
    color: #0f172a;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--surface);
}

main {
    padding-top: 90px;
}

.navbar{
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.navbar-nav .nav-link{
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-brand img{
    border-radius: 22%;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.lang-switch .btn{
    border-radius: 999px;
    padding: .45rem .9rem;
}

.flag{
    width: 18px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    min-height: 700px;
}

.hero-gradient-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.3) 100%);
}

.hero-content {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Avatar Circles */
.avatar-circle {
    width: 40px;
    height: 40px;
    margin-left: -10px;
}

.avatar-group {
    margin-left: -10px;
}

/* Floating Stats Card */
.floating-stats-icon {
    width: 60px;
    height: 60px;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
}

/* App Preview Step Icons */
.step-icon {
    width: 50px;
    height: 50px;
}

/* Testimonial Avatar */
.testimonial-avatar {
    width: 50px;
    height: 50px;
}

/* Footer Logo */
.footer-logo-circle {
    width: 32px;
    height: 32px;
}

/* CTA Section max-width */
.cta-text-container {
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Layout */
.faq{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

#faq{
    padding: clamp(40px, 10vw, 70px) 0;
}

.faq details{
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: background .2s ease, border-color .2s ease;
}

.faq details:hover{
    background: #f6f8f9;
}

.faq summary{
    list-style: none;
    cursor: pointer;
    user-select: none;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker{
    display:none;
}

/* Chevron */
.faq summary::after{
    content:"";
    width:10px;
    height:10px;

    border-right:2px solid #444;
    border-bottom:2px solid #444;

    transform: rotate(45deg);
    transition: transform .2s ease;
}

.faq details[open] summary::after{
    transform: rotate(-135deg);
}

.faq details > p{
    margin:0;
    padding:0 20px 18px;
    color: var(--muted);
    line-height:1.6;
    border-top:1px solid var(--border);
}

.faq details[open]{
    background: #eef6f2;
    border-color: var(--accent);
}

.faq details[open] summary{
    background: transparent; /* optional, falls du summary separat stylen willst */
}

/* Cookie Banner/Modal */
.cookie-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    z-index:9998;
}

.cookie-banner,
.cookie-modal{
    position:fixed;
    left:50%;
    transform:translateX(-50%);
    z-index:9999;
    width:min(560px, calc(100% - 24px));
    bottom:20px;
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.cookie-modal{
    top:50%;
    bottom:auto;
    transform:translate(-50%,-50%);
}

.cookie-card{
    background:var(--surface);
    color:var(--text);
    border-radius:18px;
    padding:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.6);
    border:1px solid var(--border);
}

.cookie-card h2{
    margin:0 0 10px;
    font-size:20px;
    font-weight:700;
    color:var(--text);
}

.cookie-card p{
    margin:0 0 16px;
    line-height:1.5;
    color:var(--muted);
}

.cookie-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.cookie-card .btn{
    padding:10px 16px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
    border:1px solid var(--border);
    background:#020617;
    color:var(--surface);
    transition:all .2s ease;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.cookie-card .btn.secondary:hover{
    background:#020617;
    border-color:var(--accent-hover);
    color:#fff;
}

.cookie-card .btn.primary{
    background:var(--accent);
    border-color:var(--accent);
    color:#020617;
}

.cookie-card .btn.primary:hover{
    background:var(--accent-hover);
    border-color:var(--accent-hover);
}

.cookie-link{
    display:inline-block;
    margin-top:12px;
    font-size:13px;
    color:var(--accent);
    text-decoration:none;
}

.cookie-link:hover{
    text-decoration:underline;
}

.cookie-option{
    padding:12px 0;
    border-top:1px solid var(--border);
}

.cookie-option:first-of-type{
    border-top:none;
}

.cookie-option label{
    display:flex;
    gap:10px;
    align-items:center;
    font-weight:600;
}

.cookie-option small{
    display:block;
    color:var(--muted);
    margin-left:26px;
    margin-top:4px;
}

/* Legal */
.legal-page{
    background: linear-gradient(
            to bottom,
            #f1f5f9 0%,
            #f8fafc 40%,
            #ffffff 100%
    );
    min-height:100vh;
    padding:80px 0 100px;
    color:#0f172a;
}

.legal-container{
    background:#ffffff;
    border-radius:18px;
    padding:40px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.legal-page h1{
    font-size:2.4rem;
    margin-bottom:30px;
    color:#0f172a;
}

.legal-page h2{
    font-size:1.3rem;
    margin:40px 0 12px;
    color:#2563eb;
}

.legal-page p{
    line-height:1.7;
    color:#334155;
}

/* Sections als dezente Blöcke */
.legal-page section{
    padding: 18px 0;
    border-top: 1px solid rgba(15,23,42,.08);
}

.legal-page section:first-of-type{
    border-top: none;
    padding-top: 0;
}

/* “Cookie-Einstellungen ändern” wie Button-Link */
.legal-page a[onclick*="openCookieSettings"]{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #eff6ff;
    border: 1px solid rgba(37,99,235,.20);
    text-decoration: none;
}

.legal-page a[onclick*="openCookieSettings"]:hover{
    background: #dbeafe;
    text-decoration: none;
}

.legal-page a{
    color:#2563eb;
}

.legal-page a:hover{
    text-decoration:underline;
}

/* Saubere Listenoptik (falls du ul/li verwendest) */
.legal-page ul{
    margin: 10px 0 0;
    padding-left: 18px;
    color: #334155;
}

.legal-page li{
    margin: 6px 0;
}

/* Mobile: weniger Padding */
@media (max-width: 576px){
    .legal-container{
        padding: 26px 20px;
        border-radius: 18px;
    }
    .legal-page{
        padding: 95px 0 90px;
    }
}

/* ===== Legal Address / Verantwortlicher ===== */
.legal-address{
    display: grid;
    gap: 4px;
    margin-top: 14px;

    padding: 20px 22px;
    border-radius: 18px;

    background: #f8fafc;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 30px rgba(15,23,42,.08);

    font-style: normal; /* <address> nicht kursiv */
    color: #334155;
}

.legal-company{
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.legal-person{
    font-weight: 600;
    color: #1e293b;
}

.legal-address a{
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.legal-address a:hover{
    text-decoration: underline;
}

.legal-sep{
    height: 1px;
    background: rgba(15,23,42,.08);
    margin: 8px 0;
}
