
:root {
  
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;

  
  --bg-body:   #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;

  
  --chassis-finish: linear-gradient(145deg, #1e293b, #0f172a);
  --glass-reflection: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
  --device-shadow: 0 50px 100px -20px rgba(0,0,0,0.3), 0 30px 60px -30px rgba(0,0,0,0.4);
  
  
  --metal-border: #94a3b8;
  --metal-dark: #334155;
  --bezel-black: #050505;
}

/* --- Basis-Setup --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-body); 
    color: var(--text-main); 
    line-height: 1.6; 
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }

/* Layout-Utilities */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-12 { gap: 3rem; }

/* --- Navigation --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: 5rem;
  background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05); z-index: 1000;
  display: flex; align-items: center;
}

.nav-brand {
  font-weight: 800; font-size: 1.5rem; color: #000;
  display: flex; align-items: center; gap: 0.85rem; letter-spacing: -0.03em;
}

.nav-logo { width: 44px; height: 44px; border-radius: 12px; }
.nav-brand span { color: var(--brand-600); }

.nav-links { display: flex; margin-left: auto; }

/* --- Hero Sektion --- */
.hero { padding: 10rem 0 6rem 0; text-align: center; overflow: hidden; }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }

.gradient-text {
    background: linear-gradient(90deg, var(--brand-600), #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}

/* --- Skalierbare Geräteszene (Hero) --- */
.device-scale-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden; 
    padding: 4rem 0;
    min-height: 660px; 
}

.device-scene {
    width: 1000px;
    height: 500px;
    position: relative;
    flex-shrink: 0;
    transform-origin: top center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- Tablet Design --- */
.tablet-refined {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    container-type: inline-size;
    border-radius: 6cqi;
}

/* Tablet framing logic used in hero and showcase */
.device-scene .tablet-refined {
    position: absolute;
    left: 50px;
    top: 20px;
    width: 700px;
    z-index: 1;
    transform: rotateY(5deg) rotateX(2deg);
}

.tablet-frame-metal {
    background: var(--metal-border);
    padding: 0.43cqi; 
    border-radius: 6cqi; 
    box-shadow: var(--device-shadow);
}

.tablet-bezel-black {
    background: var(--bezel-black);
    padding: 2.85cqi; 
    border-radius: 5.71cqi;
}

.tablet-screen {
    background: #000;
    border-radius: 3.43cqi; 
    overflow: hidden;
    line-height: 0;
}

.tablet-screen img { width: 100%; height: auto; }
/* --- Phone Design --- */
.phone-refined {
    position: absolute;
    bottom: -50px;
    right: 120px;
    width: 240px;
    z-index: 10;
    transform: translateZ(80px);
}

.phone-frame-metal {
    background: linear-gradient(to bottom, #cbd5e1, #64748b);
    padding: 3px;
    border-radius: 18px;
    box-shadow: var(--device-shadow);
    position: relative;
}

.phone-bezel-black {
    background: var(--bezel-black);
    padding: 10px;
    border-radius: 17px;
}

.phone-screen {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
}

.phone-screen img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }

.phone-btn-pwr, .phone-btn-v {
    position: absolute; right: -2px; background: var(--metal-dark); 
    width: 4px; border-radius: 0 3px 3px 0;
}
.phone-btn-pwr { top: 90px; height: 45px; }
.phone-btn-v { top: 150px; height: 80px; }

/* --- Product Showcase Layout --- */
.product-showcase {
    padding: 6rem 0;
}

.showcase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 8rem;
}


.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
    max-width: 480px;
}

.showcase-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.showcase-visual {
    flex: 1.2;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}


.showcase-row:nth-child(odd) .showcase-visual .tablet-refined {
    transform: rotateY(-14deg) rotateX(6deg);
    transform-style: preserve-3d;
    box-shadow: -20px 30px 60px rgba(0,0,0,0.25); 
}


.showcase-row:nth-child(even) .showcase-visual .tablet-refined {
    transform: rotateY(14deg) rotateX(6deg);
    transform-style: preserve-3d;
    box-shadow: 20px 30px 60px rgba(0,0,0,0.25); 
}

/* --- Features Grid --- */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1rem; 
}

.feature-card { 
    background: #fff; 
    padding: 1.5rem; 
    border-radius: 1.5rem; 
    border: 1px solid var(--border-light); 
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); 
    border-color: var(--brand-200); 
}

.feature-icon { 
    width: 3.5rem; height: 3.5rem; 
    background-color: var(--brand-50); 
    color: var(--brand-600); 
    border-radius: 0.75rem; 
    display: flex; align-items: center; justify-content: center; 
    margin-bottom: 1.5rem; 
}

/* --- Tech Specs Section --- */
.tech-specs {
    background-color: var(--brand-50);
    padding: 6rem 0;
    margin-top: 2rem;
}

.specs-header {
    text-align: center;
    margin-bottom: 4rem;
}

.specs-header p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.spec-item {
    text-align: left;
}

.spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-600);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.spec-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.spec-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- Reviews Section --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--brand-700);
}

.author-uni {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer { 
    background: #fff; 
    border-top: 1px solid var(--border-light); 
    padding: 5rem 0; 
    margin-top: 5rem; 
}

.footer-desc { margin: 1.5rem 0; color: var(--text-muted); }
.footer-group h4 { margin-bottom: 1.5rem; font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); }
.footer-group ul { list-style: none; }
.footer-group li { margin-bottom: 0.75rem; }

.footer-divider {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Responsive Media Queries --- */

/* Hero Scaling */
@media (max-width: 1050px) {
    .device-scene { 
        transform-origin: top center; 
        transform: scale(0.85); 
    }
    .device-scale-wrapper { 
        height: calc(600px * 0.85 + 4rem); 
        min-height: auto; 
        padding: 2rem 0; 
        overflow: hidden; 
    }
}
@media (max-width: 900px) {
    .device-scene { transform: scale(0.75); }
    .device-scale-wrapper { height: calc(600px * 0.75 + 4rem); }
}
@media (max-width: 768px) {
    .device-scene { transform: scale(0.65); }
    .device-scale-wrapper { height: calc(600px * 0.65 + 4rem); }
}
@media (max-width: 640px) {
    .device-scene { transform: scale(0.55); }
    .device-scale-wrapper { height: calc(600px * 0.55 + 4rem); }
}
@media (max-width: 550px) {
    .device-scene { transform: scale(0.45); }
    .device-scale-wrapper { height: calc(600px * 0.45 + 4rem); }
}
@media (max-width: 450px) {
    .device-scene { transform: scale(0.35); }
    .device-scale-wrapper { height: calc(600px * 0.35 + 4rem); }
}
@media (max-width: 350px) {
    .device-scene { transform: scale(0.28); }
    .device-scale-wrapper { height: calc(600px * 0.28 + 4rem); }
}

/* Showcase & General Responsive */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
    
    .showcase-row, .showcase-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .showcase-text {
        max-width: 100%;
    }

    .showcase-visual {
        width: 100%; 
    }
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    h1 { font-size: 2.5rem; }
}

@media (max-width: 450px) {
    .device-scene { transform: scale(0.3); }
    .device-scale-wrapper { height: calc(650px * 0.3 + 4rem); }
}