/* ============================================
   Meine Mathekiste – Statische Website
   Farben aus der WordPress-Seite übernommen
   ============================================ */

:root {
    --primary: #fe654f;
    --primary-hover: #e5523f;
    --secondary: #fed18c;
    --dark-blue: #1e3a5f;
    --green-gray: #88a096;
    --text-dark: #2D3748;
    --text-gray: #718096;
    --light-bg: #f9f9f7;
    --border-light: #e6e6e0;
    --white: #ffffff;
    --science-bg: #0f0e17;
    --science-accent: #f00069;
    --max-width: 1200px;
}

/* Reset & Basics */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--light-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
    background: #E6E6E0;
    border-bottom: 1px solid #ccccc4;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark-blue);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
}

.lang-switch a {
    color: var(--text-gray);
    padding: 4px 8px;
    border-radius: 4px;
}

.lang-switch a.active {
    color: var(--dark-blue);
    font-weight: 600;
    background: var(--border-light);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: #E6E6E0;
    border-bottom: 1px solid #ccccc4;
    padding: 16px 24px;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* ============================================
   Landing Page – App-Karten
   ============================================ */

/* landing-hero styles moved to iPad Frame section above */

.app-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.app-card {
    background: #F2F0ED;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    color: var(--text-dark);
}

.app-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.app-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-card-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.badge-blue {
    background: #e8f0fe;
    color: var(--dark-blue);
}

.badge-orange {
    background: #fef0e0;
    color: #c45e10;
}

.app-card h2 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.app-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.app-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 16px;
}

.app-card-arrow svg {
    transition: transform 0.2s;
}

.app-card:hover .app-card-arrow svg {
    transform: translateX(4px);
}

/* ============================================
   Hero Section (App-Detailseiten)
   ============================================ */

.hero {
    padding: 60px 24px 50px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 15% 60%, #1e3a5f 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(254,101,79,0.27) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(254,209,140,0.2) 0%, transparent 50%),
        linear-gradient(145deg, #0f2340 0%, #1a4a3a 40%, #2d5c4e 70%, #1e3a5f 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-images .ipad-frame {
    width: 100%;
    box-shadow: 0 0 0 1px #2a2a2a, 0 12px 32px rgba(0,0,0,0.4);
}

.hero h1 {
    font-size: 2.4rem;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.hero ul {
    list-style: none;
    margin-bottom: 24px;
}

.hero ul li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    color: rgba(255,255,255,0.9);
}

.hero ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

.hero-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-images img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* App Store Badge */
.app-store-section {
    background: var(--light-bg);
    padding: 50px 24px;
    text-align: center;
}

.app-store-section p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: 1.05rem;
}

.app-store-badge {
    display: inline-block;
}

.app-store-badge img {
    height: 54px;
    transition: opacity 0.2s;
}

.app-store-badge:hover img {
    opacity: 0.85;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--dark-blue);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   Feature Cards (4-Spalten Grid)
   ============================================ */

.features {
    padding: 70px 24px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background: var(--light-bg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-card img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.feature-card a {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   Spiele-Grid (MatheKiste Spiele)
   ============================================ */

.spiele-section {
    padding: 70px 24px;
    background: var(--white);
}

.spiele-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.spiele-section > .container > p {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.spiele-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.spiel-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spiel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.spiel-card img {
    width: 250px;
    height: 187px;
    margin: 0 auto 12px;
    border-radius: 12px;
}

.spiel-card h3 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.spiel-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.spiel-card .free-badge {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 8px;
}

/* ============================================
   Content Sections (Unterseiten)
   ============================================ */

.content-section {
    padding: 60px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.content-section h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.content-section h2 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-top: 40px;
    margin-bottom: 12px;
}

.content-section h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-top: 28px;
    margin-bottom: 8px;
}

.content-section .subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.content-section p {
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-section ul {
    margin: 16px 0 24px 24px;
}

.content-section ul li {
    padding: 4px 0;
    line-height: 1.7;
}

.content-section img.inline-image {
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.content-section video {
    width: 100%;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Two-Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

/* Icon + Text Row */
.icon-text {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 30px 0;
}

.icon-text img {
    width: 60px;
    flex-shrink: 0;
}

/* ============================================
   Science Page (dunkler Hintergrund)
   ============================================ */

.science-page {
    background: var(--science-bg);
    color: var(--white);
    padding: 70px 24px;
}

.science-page h1 {
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

.science-page .subtitle {
    color: #a7a9be;
    text-align: center;
    margin-bottom: 16px;
}

.science-page .intro {
    color: #a7a9be;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.study-card {
    background: #1a1932;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #2a2940;
    transition: border-color 0.2s;
}

.study-card:hover {
    border-color: var(--science-accent);
}

.study-card h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}

.study-card .study-title {
    color: #a7a9be;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.study-card .study-desc {
    color: #8888a0;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 14px;
}

.study-card a {
    color: var(--science-accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.study-card a:hover {
    text-decoration: underline;
}

/* ============================================
   Freemium / Info Section
   ============================================ */

.info-section {
    padding: 60px 24px;
    background: var(--light-bg);
}

.info-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-inner h2 {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.info-inner p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 12px;
}

.info-inner ul {
    list-style: none;
    margin: 16px 0;
}

.info-inner ul li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: var(--text-dark);
}

.info-inner ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.info-image img {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: #E6E6E0;
    color: var(--text-gray);
    padding: 40px 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-dark);
}

.footer-copy {
    font-size: 0.85rem;
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */

.legal-page {
    padding: 60px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-top: 32px;
    margin-bottom: 10px;
}

.legal-page p {
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.8;
}

.legal-page ul {
    margin: 12px 0 20px 24px;
}

.legal-page ul li {
    padding: 3px 0;
    line-height: 1.7;
}

/* ============================================
   About Page
   ============================================ */

.about-section {
    padding: 60px 24px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.about-section h1 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 24px;
}

.about-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-section ul {
    margin: 16px 0 24px 24px;
}

.about-section ul li {
    padding: 4px 0;
    line-height: 1.7;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
    padding: 60px 24px 80px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section h1 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.contact-section p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.2s;
}

.contact-btn:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.hero-ipads {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    perspective: 1200px;
}

.ipad-tilt-left {
    transform: rotate(0deg) rotateY(22deg);
    transform-style: preserve-3d;
}

.ipad-tilt-right {
    transform: rotate(0deg) rotateY(-22deg);
    transform-style: preserve-3d;
}
.hero-ipads .ipad-frame {
    width: 240px;
}

/* iPad in App-Karten */
.app-card-ipad {
    background: #8D9F97;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-card-ipad .ipad-frame {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.app-card-ipad .ipad-frame::before,
.app-card-ipad .ipad-frame::after {
    display: none;
}

.app-card-ipad .ipad-frame-screen {
    border-radius: 0;
}

.spiel-card .ipad-frame,
.info-image .ipad-frame {
    width: 100%;
    box-shadow: 0 0 0 1px #2a2a2a, 0 8px 24px rgba(0,0,0,0.35);
    margin-bottom: 16px;
}

.info-image .ipad-frame {
    margin-bottom: 0;
}

.content-ipad {
    width: 100%;
    max-width: 700px;
    margin: 24px auto;
}

/* ============================================
   iPad Pro Frame
   ============================================ */

.ipad-frame {
    background: #111111;
    border-radius: 20px;
    padding: 8px;
    box-shadow:
        0 0 0 1px #2a2a2a,
        0 32px 64px rgba(0,0,0,0.45);
    position: relative;
    flex-shrink: 0;
    width: 340px;
}

.ipad-frame::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 50px;
    width: 2px;
    height: 36px;
    background: #1e1e1e;
    border-radius: 0 2px 2px 0;
}

.ipad-frame::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 96px;
    width: 2px;
    height: 60px;
    background: #1e1e1e;
    border-radius: 0 2px 2px 0;
}

.ipad-frame-screen {
    border-radius: 13px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    background: #000;
}

.ipad-frame-screen::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    z-index: 2;
}

.ipad-frame-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero mit iPad */
.landing-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 70px 40px 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 15% 60%, #1e3a5f 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(254,101,79,0.27) 0%, transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(254,209,140,0.2) 0%, transparent 50%),
        linear-gradient(145deg, #0f2340 0%, #1a4a3a 40%, #2d5c4e 70%, #1e3a5f 100%);
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,101,79,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 10%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,209,140,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.landing-hero-text {
    flex: 1;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

.landing-hero-text h1 {
    font-size: 3.6rem;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.landing-hero-text h1 em,
.hero-text h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #fe654f, #fed18c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 420px;
}

.landing-hero-text ul {
    list-style: none;
    margin-bottom: 28px;
}

.landing-hero-text ul li {
    padding: 5px 0 5px 26px;
    position: relative;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.landing-hero-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0f2340;
    padding: 13px 26px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.landing-hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    color: #0f2340;
}

/* Eyebrow pill – Hero */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* Rating row */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.85rem;
    margin-top: 14px;
}

.hero-stars {
    color: #fed18c;
    letter-spacing: -1px;
    font-size: 1rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spiele-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .study-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .landing-hero {
        flex-direction: column;
        text-align: center;
        padding: 48px 24px 40px;
        gap: 36px;
    }

    .landing-hero-text h1 {
        font-size: 2.4rem;
    }

    .landing-hero-text p {
        margin: 0 auto 20px;
    }

    .landing-hero-text ul {
        text-align: left;
        max-width: 320px;
        margin: 0 auto 24px;
    }

    .hero-ipads .ipad-frame {
        width: 160px;
    }

    .app-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 24px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero ul {
        text-align: left;
        max-width: 340px;
        margin: 0 auto 24px;
    }

    .hero-images {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-ipads .ipad-frame {
        width: 160px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .two-col {
        grid-template-columns: 1fr;
    }

    .two-col.reverse {
        direction: ltr;
    }

    .info-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .spiele-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }
}
