/* =========================================
   Podologix Landing Page Styles
   Colors: Primary #00B9A3, Secondary #008DF4
   ========================================= */

:root {
    --primary: #00B9A3;
    --primary-dark: #009688;
    --secondary: #008DF4;
    --secondary-dark: #0077CC;
    --white: #FFFFFF;
    --black: #0B1220;
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(0, 185, 163, 0.15);
    --shadow-glow-blue: 0 0 40px rgba(0, 141, 244, 0.15);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    --container-max: 1200px;
    --container-narrow: 720px;
}

/* Selbst gehostete Schriften (kein Laden von Google-Servern - keine
   IP-Übertragung an Dritte). Dateien liegen unter assets/fonts/,
   Latin-Subset (deckt Deutsch/Englisch inkl. Umlaute ab). */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/inter-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/inter-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/inter-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/inter-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../assets/fonts/inter-800.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/space-grotesk-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/space-grotesk-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Space Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/space-grotesk-700.woff2') format('woff2');
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    z-index: 10000;
    font-weight: 600;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Fliesstext-Absaetze fuer Blogartikel - der globale Reset (siehe h1-h6/p/ul
   oben) entfernt sonst jeden Standard-Abstand, was Langtext unlesbar macht. */
.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin-bottom: 1.25rem;
    color: var(--gray-700);
    line-height: 1.75;
}

/* Der globale Reset weiter oben nimmt allen Listen ihre Aufzaehlungszeichen
   (richtig fuer Navigationen, falsch fuer Fliesstext) - in echten
   Inhaltslisten hier wieder herstellen. */
.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.article-content a {
    color: var(--primary);
}

.article-meta {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.blog-list-item {
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.blog-list-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.blog-list-item h2 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.blog-list-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Zweispaltige Variante der .pricing-features-Checkliste fuer kompakte
   Vorteils-Aufzaehlungen ausserhalb von Preiskarten (z.B. Kundenkartei-/
   Hausbesuche-Abschnitt auf der Startseite). */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 2rem;
    max-width: 640px;
    margin: 2.5rem auto 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-mark {
    height: 2.25rem;
    width: auto;
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.lang-switch {
    padding: 0.25rem 0.625rem;
    border: 1px solid var(--gray-300);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lang-switch::after {
    display: none;
}

.lang-switch:hover,
.lang-switch:focus {
    border-color: var(--primary);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Hero */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    overflow: hidden;
}

/* Schlanke Hero-Variante fuer Textseiten ohne Phone-Mockup (z.B. /faq.html):
   einspaltig, weniger Hoehe - der Inhalt soll direkt sichtbar sein. */
.hero-compact {
    padding: 9rem 0 3rem;
    text-align: center;
}

.hero-compact .hero-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-compact .hero-lead a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

/* Thematisch gruppierte FAQ-Bloecke auf /faq.html: nur der erste Block
   bekommt den vollen Abstand nach oben, sonst reissen die Gruppen die
   Seite unnoetig auseinander. */
.faq-group {
    padding: 2rem 0;
}

.faq-group .section-header {
    margin-bottom: 2rem;
}

.faq-group .section-title {
    font-size: 1.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -100px;
    opacity: 0.35;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 185, 163, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 185, 163, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    margin-bottom: 1.25rem;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-subline {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0 0 2rem;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    backdrop-filter: blur(8px);
}

.badge svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--primary);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 594px;
    background: var(--gray-900);
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow:
        var(--shadow-xl),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 60px rgba(0, 185, 163, 0.2);
    position: relative;
    transform: perspective(1000px) rotateY(-12deg) rotateX(6deg);
    transition: transform var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
}

/* Das <picture> um die Screenshots darf keinen eigenen Kasten aufmachen:
   width/height in .phone-mockup img sind Prozentwerte und muessen sich
   weiterhin auf den Mockup-Rahmen beziehen, nicht auf einen Inline-Wrapper. */
.phone-mockup picture {
    display: block;
    width: 100%;
    height: 100%;
}

.phone-mockup img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 11% / 5%;
    object-fit: cover;
}

/* Trust Bar */
.trust-bar {
    padding: 3rem 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

/* Bewusst kein uppercase: der Satz ist eine Aussage ueber die Entstehung
   der App, kein Rubriken-Etikett - in Versalien waere er zu sperrig. */
.trust-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    max-width: 640px;
    margin: 0 auto 1.5rem;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Features */
.features {
    padding: 7rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0, 185, 163, 0.1), rgba(0, 141, 244, 0.1));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Problem-Abschnitt: die Schmerzpunkte vor der Loesung. Bewusst ohne
   Karten-Optik, damit der Block ruhiger wirkt als das Feature-Grid. */
.problem {
    padding: 5rem 0;
    background: var(--gray-50);
}

.problem-list {
    list-style: none;
    margin: 2.5rem auto 0;
    padding: 0;
    max-width: 680px;
    display: grid;
    gap: 0.875rem;
}

.problem-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem 1rem 3rem;
    color: var(--gray-700);
    font-size: 1rem;
}

.problem-item::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    width: 0.75rem;
    height: 0.75rem;
    background: var(--gray-400);
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Technische Einordnung unterhalb der Nutzen-Argumente ("Warum Podologix
   anders ist") - erst der Nutzen, dann die Erklaerung. */
.tech-note {
    max-width: var(--container-narrow);
    margin: 3rem auto 0;
    padding: 1.5rem 1.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.tech-note p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Anwenderstimme. Bewusst ohne Review-/AggregateRating-Markup: Google wertet
   Bewertungen, die ein Anbieter auf der eigenen Seite ueber sein eigenes
   Produkt auszeichnet, als "self-serving" und untersagt dafuer Rich Snippets. */
.testimonial {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
    margin: 0;
    padding: 0;
}

.testimonial blockquote p {
    margin: 0 0 1.25rem;
    color: var(--gray-700);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.testimonial blockquote p:last-of-type {
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.testimonial-author-name {
    margin: 0;
    color: var(--gray-900);
    font-weight: 600;
}

.testimonial-author-role {
    margin: 0.125rem 0 0;
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.testimonial-author-role a {
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-300);
}

.testimonial-author-role a:hover {
    border-bottom-color: var(--primary-dark);
}

@media (max-width: 600px) {
    .testimonial {
        padding: 1.75rem 1.25rem;
    }
}

/* Screenshot neben einer Vorteilsliste (Abschnitt "Kundenkartei").
   Beide Spalten nehmen nur ihre Inhaltsbreite und werden gemeinsam zentriert -
   mit "1fr" fuer die Liste blieb rechts eine grosse Leerflaeche stehen, weil
   die Stichpunkte deutlich kuerzer sind als die verfuegbare Spalte. */
.showcase {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 3.5rem;
    align-items: center;
    margin: 3rem auto 0;
}

.showcase-list {
    display: grid;
    gap: 0.875rem;
}

/* Screenshot-Reihe der Kernfunktionen. Die Bilder sind der Inhalt, nicht
   Dekoration - deshalb figure/figcaption statt eines reinen Bild-Grids. */
.screenshots {
    padding: 2rem 0 5rem;
}

.screenshot-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

.screenshot {
    margin: 0;
    max-width: 300px;
}

.screenshot figcaption {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-600);
}

/* In der Reihe stehen die Geraete bewusst gerade und etwas kleiner: drei
   perspektivisch gekippte Mockups nebeneinander wirken unruhig und lenken
   vom Inhalt der Screenshots ab.

   margin-inline: auto ist noetig, weil das Mockup schmaler ist als die
   figure - ohne das steht das Bild linksbuendig, waehrend die Bildunterschrift
   darunter zentriert ist. */
.screenshot .phone-mockup,
.showcase .phone-mockup {
    width: 240px;
    height: 510px;
    margin-inline: auto;
    transform: none;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.screenshot .phone-mockup:hover,
.showcase .phone-mockup:hover {
    transform: translateY(-6px);
}

/* Handlungsimpuls auf halber Strecke: zwischen Hero und Preisblock liegen
   sonst mehrere lange Abschnitte ohne jeden Call-to-Action. */
.inline-cta-section {
    padding: 1rem 0 4rem;
}

.inline-cta {
    text-align: center;
}

.inline-cta-text {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 1.25rem;
}

.inline-cta-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 1rem 0 0;
}

/* Abgrenzungsblock: fuer wen Podologix ausdruecklich nicht gedacht ist. */
.not-for-you-section {
    padding: 0 0 5rem;
}

.not-for-you {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 2rem 2.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}

.not-for-you-title {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.75rem;
}

.not-for-you p {
    margin: 0 0 0.75rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.not-for-you p:last-child {
    margin-bottom: 0;
}

.feature-text {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Security */
.security {
    padding: 7rem 0;
    background: var(--gray-900);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 185, 163, 0.12), transparent 70%);
    pointer-events: none;
}

.security-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security .eyebrow {
    color: var(--primary);
}

.security .section-title,
.security .section-lead {
    color: var(--white);
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.security-check {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0, 185, 163, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-check svg {
    width: 1.25rem;
    height: 1.25rem;
}

.security-item h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}

.security-item p {
    color: var(--gray-400);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-card {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 185, 163, 0.2);
    animation: pulse-ring 4s ease-in-out infinite;
}

.shield-ring:nth-child(1) {
    width: 100%;
    height: 100%;
}

.shield-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    animation-delay: -1s;
}

.shield-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    animation-delay: -2s;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.shield-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 60px rgba(0, 185, 163, 0.3);
}

.shield-core svg {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.25rem;
}

.shield-core span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Workflow */
.workflow {
    padding: 7rem 0;
    background: var(--gray-50);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.step-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Pricing */
.pricing {
    padding: 7rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.pricing-popular:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.pricing-period {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300B9A3'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
}

.pricing-device-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-license-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    text-align: center;
}

.pricing-limits {
    margin-top: 4rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
}

.pricing-limits-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.75rem;
}

.pricing-limits-lead {
    color: var(--gray-600);
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto 2rem;
}

.limits-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.limits-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9375rem;
}

.limits-table thead {
    background: var(--gray-900);
    color: var(--white);
}

.limits-table th,
.limits-table td {
    padding: 1rem 1.25rem;
    text-align: left;
}

.limits-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.limits-table tbody tr:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.limits-table td:nth-child(2),
.limits-table th:nth-child(2) {
    text-align: center;
    font-weight: 600;
}

.pricing-vat-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1.5rem;
}

.pricing-limits-footnote {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 1rem;
}

/* FAQ */
.faq {
    padding: 7rem 0;
    background: var(--gray-50);
}

.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition-base);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

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

.faq-question::after {
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236B7280'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.faq-answer p + p {
    margin-top: 0.75rem;
}

/* Siehe Kommentar bei .article-content: der globale Reset entfernt sonst
   die Nummerierung, was Schritt-fuer-Schritt-Antworten unbrauchbar macht. */
.faq-answer ul,
.faq-answer ol {
    margin: 0.75rem 0 0;
    padding-left: 1.5rem;
}

.faq-answer ul {
    list-style: disc;
}

.faq-answer ol {
    list-style: decimal;
}

.faq-answer li {
    margin-bottom: 0.375rem;
}

.faq-answer a {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* CTA */
.cta {
    padding: 7rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--gray-900) 0%, #0F172A 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 185, 163, 0.12), transparent 50%),
                 radial-gradient(circle at 70% 70%, rgba(0, 141, 244, 0.12), transparent 50%);
    pointer-events: none;
}

.cta-title {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta-lead {
    color: var(--gray-400);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    position: relative;
}

.cta-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    position: relative;
}

.cta-badges .badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--gray-200);
}

.cta-badges .badge svg {
    color: var(--secondary);
}

.install-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-align: left;
}

.install-step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.install-step-num {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-step-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.install-step-text strong {
    display: block;
    color: var(--gray-200);
    font-weight: 600;
    margin-bottom: 0.125rem;
}

/* Contact */
.contact {
    padding: 7rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-address {
    margin-top: 2rem;
    font-style: normal;
    color: var(--gray-600);
    line-height: 1.8;
}

.contact-address a {
    color: var(--secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-address a:hover {
    color: var(--secondary-dark);
}

.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    font-size: 1rem;
    color: var(--gray-900);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 185, 163, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: center;
}

.form-message {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.form-message.success {
    color: var(--success);
    font-weight: 600;
}

.form-message.error {
    color: var(--danger);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-tagline {
    margin-top: 1rem;
    max-width: 260px;
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-column li + li {
    margin-top: 0.5rem;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    /* gray-500 auf gray-900 ergibt nur 3,67:1 und faellt damit unter die
       WCAG-Mindestgrenze von 4,5:1; gray-400 kommt auf 6,99:1. */
    color: var(--gray-400);
}

.footer-cookie-note {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    /* gray-600 auf gray-900 ergab 2,35:1. Die Zurueckhaltung dieses Hinweises
       kommt jetzt allein aus der kleineren Schriftgroesse. */
    color: var(--gray-400);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-lead,
    .hero-subline,
    .hero-actions,
    .hero-badges {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .security-visual {
        order: -1;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .steps::before {
        display: none;
    }

    .install-guide {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .showcase {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2rem;
    }

    .showcase-list {
        max-width: 420px;
    }

    /* Drei Geraete nebeneinander passen hier nur noch verkleinert - lieber
       kleiner als einspaltig, sonst wird der Abschnitt zur Scrollstrecke. */
    .screenshot .phone-mockup {
        width: 200px;
        height: 425px;
    }

    .screenshot-row {
        gap: 1.5rem;
    }
}

/* Eigener Breakpoint fuer die Navigation: die Menuepunkte brauchen mehr
   Platz als das restliche Layout, deshalb klappt das Hamburger-Menue
   frueher auf als die Grids einspaltig werden (sonst bricht die Nav-Zeile
   im Bereich um 800px um). */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        bottom: 0;
        /* Explizite Hoehe statt uns allein auf die top/bottom-Streckung zu
           verlassen: in mindestens einem getesteten Browser (und offenbar
           auch auf echten Mobilgeraeten, siehe Bug-Report) wird die Box bei
           fixed-Positionierung innerhalb eines flex-Elternelements nicht auf
           die volle Resthoehe gestreckt, sondern kollabiert auf die
           Inhaltshoehe - der Hintergrund/Blur wird dann nur fuer diese
           kleine Flaeche gemalt, waehrend die ueberlaufenden Menuepunkte
           komplett unlackiert (transparent) ueber dem Seiteninhalt liegen. */
        height: calc(100vh - 4.5rem);
        height: calc(100dvh - 4.5rem);
        overflow-y: auto;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    /* Faellt backdrop-filter weg (z.B. aeltere WebViews/Browser ohne
       Unterstuetzung), bleibt der Hintergrund trotzdem praktisch deckend -
       ohne diese Absicherung waere das Menue in solchen Faellen nur zu 98%
       weiss OHNE Weichzeichnung des Hintergrunds dahinter, was je nach
       Inhalt schwer lesbar wirken kann. */
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
        .main-nav {
            background: rgb(255, 255, 255);
        }
    }

    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .nav-cta {
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .phone-mockup {
        width: 240px;
        height: 505px;
        transform: none;
    }

    .feature-grid,
    .pricing-grid,
    .checklist-grid,
    .blog-list {
        grid-template-columns: 1fr;
    }

    .trust-items {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .problem {
        padding: 3.5rem 0;
    }

    .screenshot-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .not-for-you,
    .tech-note {
        padding: 1.5rem 1.25rem;
    }

    .footer-container,
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Legal pages (Impressum, Datenschutz, AGB) */
.legal-page {
    padding: 8rem 0 6rem;
}

.legal-page .page-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin-bottom: 0.5rem;
}

.legal-page .page-updated {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 760px;
    color: var(--gray-700);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content ol {
    list-style: decimal;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--gray-900);
}

/* Warnhinweis ueber noch nicht ersetzte Pflichtangaben. Bewusst in Warnfarbe:
   ein fehlerhaftes Impressum ist abmahnfaehig, der Hinweis darf beim
   Ueberfliegen nicht untergehen.
   (var(--radius) existierte nicht - es gibt nur --radius-sm/md/lg -, der
   border-radius wurde deshalb bisher ignoriert.) */
.legal-notice {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: var(--gray-900);
}

.legal-placeholder {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 0.25rem;
    padding: 0.05rem 0.4rem;
    font-weight: 600;
}

/* ---------------------------------------------------------------------------
   Bezugswege (Direktdownload vs. Google Play)
   Zwei gleichwertig aufgebaute Karten, damit der Unterschied bei den Funktionen
   sofort ablesbar ist statt im Fliesstext zu verschwinden. Der Play-Weg ist bis
   zur Veroeffentlichung bewusst als nicht anklickbarer Platzhalter angelegt --
   ein Link ins Leere waere schlechter als gar keiner.
--------------------------------------------------------------------------- */
.channels {
    display: grid;
    /* minmax(0,...) statt 1fr: Der Download-Knopf traegt white-space:nowrap und
       wuerde die Spalte sonst auf seine Textbreite aufblasen - die Karten ragten
       auf schmalen Schirmen ueber die umgebende .cta-card hinaus. */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
    text-align: left;
}

.channel {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.channel-primary { border-color: var(--primary); }
.channel-soon { background: var(--gray-50); }

.channel-tag {
    position: absolute;
    top: -0.7rem;
    left: 1.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
}
.channel-tag-soon { background: var(--gray-400); }

.channel h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.channel-lead {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.channel-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.channel-features li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.6rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.channel-features li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}
.channel-features li.yes::before { content: '✓'; color: var(--primary); }
.channel-features li.no::before  { content: '–'; color: var(--gray-400); }
.channel-features li.no { color: var(--gray-500); }

.channel-action { margin-top: auto; }

/* .btn traegt global white-space:nowrap. In der schmalen Karte darf die
   Beschriftung umbrechen, sonst sprengt sie die Spalte. */
.channel-action .btn { white-space: normal; }

/* Nicht anklickbarer Platzhalter, solange der Play-Eintrag nicht live ist. */
.btn-placeholder {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--gray-300);
    background: transparent;
    color: var(--gray-500);
    font-weight: 600;
    cursor: not-allowed;
}

.channel-note {
    margin: 0.75rem 0 0;
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Kostenhinweis zur SMS-Funktion. Warnfarbe statt Fliesstext, weil hier
   tatsaechlich Kosten beim Nutzer entstehen koennen. */
.sms-note {
    text-align: left;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-left: 3px solid var(--warning);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
}

.sms-note h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--gray-900);
}

.sms-note p {
    margin: 0 0 0.6rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.65;
}
.sms-note p:last-child { margin-bottom: 0; }
.sms-note strong { color: var(--gray-900); }

@media (max-width: 720px) {
    .channels { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
}

/* Querverweise am Ende eines Ratgeber-Beitrags.
   Nutzt dieselben Variablen wie .blog-list-item, damit der Block sich in die
   bestehende Gestaltung einfuegt statt aufzufallen. */
.weiterlesen-block {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50, transparent);
}

.weiterlesen-block h2 {
    font-size: 1.0625rem;
    margin: 0 0 0.75rem;
}

.weiterlesen-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.weiterlesen-block a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9375rem;
}

.weiterlesen-block a:hover,
.weiterlesen-block a:focus-visible {
    text-decoration: underline;
}
