/* Germany VPS Digital — Dark Theme Stylesheet v1.0 */

/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:80px}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#0a0e1a;color:#9ca3af;line-height:1.8;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{max-width:100%;height:auto;display:block}
a{color:#3b82f6;text-decoration:none;transition:color .2s}
a:hover{color:#60a5fa;text-decoration:underline}
ul,ol{padding-left:1.5em}
li{margin-bottom:.5em}
::selection{background:#3b82f6;color:#fff}

/* Scrollbar */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:#0a0e1a}
::-webkit-scrollbar-thumb{background:#1f2937;border-radius:5px}
::-webkit-scrollbar-thumb:hover{background:#374151}
*{scrollbar-width:thin;scrollbar-color:#1f2937 #0a0e1a}

/* Header */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(10,14,26,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #1f2937;height:60px}
.main-nav{max-width:1200px;margin:0 auto;padding:0 24px;height:60px;display:flex;align-items:center;justify-content:space-between}
.main-nav .logo{color:#e5e7eb;font-size:1.2rem;font-weight:700;text-decoration:none;white-space:nowrap;letter-spacing:-.02em}
.main-nav .logo:hover{color:#fff;text-decoration:none}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{color:#9ca3af;font-size:.9rem;text-decoration:none;transition:color .2s}
.nav-links a:hover{color:#e5e7eb;text-decoration:none}
.nav-toggle{display:none;background:none;border:none;color:#e5e7eb;font-size:1.5rem;cursor:pointer;padding:4px;line-height:1}

/* CTA Button */
.cta-btn{display:inline-block;padding:10px 24px;background:#2563eb;color:#fff!important;font-weight:600;font-size:.9rem;border-radius:8px;text-decoration:none!important;text-align:center;cursor:pointer;border:none;transition:background .2s,transform .2s,box-shadow .2s;line-height:1.4}
.cta-btn:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 12px rgba(37,99,235,.3);text-decoration:none!important}
.cta-btn:active{transform:translateY(0)}
.site-header .cta-btn{padding:8px 18px;font-size:.85rem}
.pricing-card .cta-btn{display:block;width:100%;padding:12px 16px;margin-top:1rem}
.cta-section .cta-btn{background:#fff;color:#2563eb!important}
.cta-section .cta-btn:hover{background:#f0f0f0;box-shadow:0 4px 12px rgba(255,255,255,.2)}

/* Breadcrumb */
.breadcrumb{max-width:1200px;margin:0 auto;padding:12px 24px;font-size:.82rem;color:#6b7280}
.breadcrumb a{color:#6b7280;text-decoration:none}
.breadcrumb a:hover{color:#3b82f6;text-decoration:none}

/* Main */
main{min-height:calc(100vh - 60px)}

/* Content Page */
.content-page{max-width:860px;margin:0 auto;padding:1rem 24px 3rem}

/* Headings */
.content-page h1{font-size:2rem;font-weight:700;color:#fff;line-height:1.3;margin-bottom:.8rem;letter-spacing:-.02em}
.content-page h2{font-size:1.5rem;font-weight:700;color:#fff;line-height:1.35;border-bottom:1px solid #1f2937;padding-bottom:.5rem;margin-top:2.5rem;margin-bottom:1rem;letter-spacing:-.01em}
.content-page h1+h2,.content-page .intro+h2,.content-page .publish-info+h2{margin-top:1.5rem}
.content-page h3{font-size:1.2rem;font-weight:700;color:#fff;line-height:1.4;margin-top:2rem;margin-bottom:.75rem}
.content-page h4{font-size:1.05rem;font-weight:700;color:#e5e7eb;line-height:1.4;margin-top:1.5rem;margin-bottom:.5rem}
.content-page h5,.content-page h6{font-size:.95rem;font-weight:600;color:#e5e7eb;line-height:1.4;margin-top:1.25rem;margin-bottom:.5rem}

/* Body Text */
.content-page p{color:#9ca3af;line-height:1.8;margin-bottom:1.2rem}
.content-page strong{color:#e5e7eb;font-weight:600}
.content-page a{color:#3b82f6}
.content-page a:hover{color:#60a5fa;text-decoration:underline}

/* Intro */
.content-page .intro{color:#c9cdd4;font-size:1.05rem;line-height:1.8;max-width:750px;margin-bottom:1.5rem}

/* Publish Info */
.publish-info{color:#6b7280;font-size:.85rem;margin-bottom:1rem;font-style:italic}

/* Lists */
.content-page ul,.content-page ol{color:#9ca3af;margin-bottom:1.2rem}
.content-page li{margin-bottom:.5em;line-height:1.7}
.content-page li::marker{color:#4b5563}

/* TOC — Hidden */
.toc-container{display:none}

/* Content Sections */
.content-section{margin-top:2.5rem}
.content-section:first-child{margin-top:0}

/* Tables */
.table-responsive{overflow-x:auto;border:1px solid #1f2937;border-radius:12px;margin-bottom:1.5rem;-webkit-overflow-scrolling:touch}
.table-responsive table{width:100%;border-collapse:collapse;font-size:.9rem}
.table-responsive thead{background:#1e293b}
.table-responsive thead th{padding:12px 16px;text-align:left;font-weight:600;color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border-bottom:1px solid #1f2937}
.table-responsive tbody td{padding:12px 16px;color:#c9cdd4;border-bottom:1px solid #1f2937;vertical-align:top}
.table-responsive tbody tr:last-child td{border-bottom:none}
.table-responsive tbody tr:nth-child(even){background:#0f172a}
.table-responsive tbody tr:hover{background:#1a2332}

/* Code Blocks */
.content-page pre{background:#1e293b;border:1px solid #1f2937;border-radius:12px;padding:1.2rem 1.5rem;margin-bottom:1.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;line-height:1.6}
.content-page pre code{font-family:'SF Mono','Fira Code','Fira Mono','Roboto Mono','Courier New',monospace;font-size:.88rem;color:#e5e7eb;background:none;padding:0;border-radius:0;display:block;white-space:pre;overflow-x:auto}
.content-page code{font-family:'SF Mono','Fira Code','Fira Mono','Roboto Mono','Courier New',monospace;font-size:.88em;background:#1e293b;padding:2px 6px;border-radius:4px;color:#60a5fa}

/* Geo Stats */
.geo-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:1.5rem;margin-top:1.5rem}
.stat-box{background:#111827;border:1px solid #1f2937;border-radius:12px;padding:1.5rem;text-align:center;transition:border-color .2s,box-shadow .2s}
.stat-box:hover{border-color:#374151;box-shadow:0 4px 12px rgba(0,0,0,.3)}
.stat-box h3{color:#3b82f6;font-size:2rem;font-weight:800;margin:0 0 .25rem 0;line-height:1.2}
.stat-box p{color:#9ca3af;font-size:.85rem;margin:0;line-height:1.4}

/* Pricing Cards */
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:1.5rem;margin-bottom:2rem}
.pricing-card{position:relative;background:#111827;border:1px solid #1f2937;border-radius:12px;padding:1.5rem;text-align:center;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column}
.pricing-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.pricing-card.featured{border-color:#3b82f6;box-shadow:0 0 20px rgba(59,130,246,.15)}
.pricing-card.featured:hover{box-shadow:0 0 30px rgba(59,130,246,.25)}
.plan-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#2563eb;color:#fff;font-size:.75rem;font-weight:700;padding:3px 14px;border-radius:999px;white-space:nowrap;letter-spacing:.02em}
.pricing-card h3,.pricing-card .plan-name{color:#fff;font-weight:700;font-size:1.1rem;margin-bottom:.75rem}
.pricing-card .price,.pricing-card .plan-price{font-size:2rem;font-weight:800;color:#3b82f6;margin-bottom:1rem;line-height:1.2}
.pricing-card .price span,.pricing-card .plan-price .period{font-size:.9rem;font-weight:400;color:#6b7280}
.pricing-card .plan-price .currency{font-size:1.2rem;vertical-align:super;font-weight:600}
.pricing-card ul,.pricing-card .plan-features{list-style:none;padding:0;margin:0 0 .75rem 0;text-align:left;flex-grow:1}
.pricing-card ul li,.pricing-card .plan-features li{padding:8px 0;border-bottom:1px solid #1f2937;color:#9ca3af;font-size:.88rem;margin-bottom:0;line-height:1.5;display:flex;align-items:flex-start;gap:8px}
.pricing-card ul li:last-child,.pricing-card .plan-features li:last-child{border-bottom:none}
.pricing-card .plan-features li::before{content:'✓';color:#10b981;font-weight:700;flex-shrink:0;margin-top:1px}
.pricing-card .best-for{font-style:italic;color:#9ca3af;font-size:.85rem;margin-top:.5rem;margin-bottom:.25rem}

/* FAQ */
.faq-section,section.faq-section{margin-top:2.5rem}
.faq-section details{background:#111827;border:1px solid #1f2937;border-radius:12px;margin-bottom:8px;overflow:hidden;transition:border-color .2s}
.faq-section details:last-child{margin-bottom:0}
.faq-section details[open]{border-color:#3b82f6}
.faq-section summary{padding:16px 20px;font-weight:600;color:#e5e7eb;cursor:pointer;display:flex;justify-content:space-between;align-items:center;list-style:none;font-size:.95rem;line-height:1.5;transition:color .2s;gap:12px;user-select:none}
.faq-section summary::-webkit-details-marker{display:none}
.faq-section summary::marker{content:'';display:none}
.faq-section summary:hover{color:#fff}
.faq-section summary::after{content:'+';color:#3b82f6;font-size:1.4rem;font-weight:300;line-height:1;flex-shrink:0}
.faq-section details[open] summary::after{content:'−'}
.faq-section details p{padding:0 20px 16px;color:#9ca3af;margin-bottom:0;line-height:1.7;font-size:.95rem}
.faq-section details div{padding:0 20px 16px}
.faq-section details div p{padding:0;margin-bottom:.75rem}
.faq-section details div p:last-child{margin-bottom:0}

/* CTA Section */
.cta-section{padding:3rem 0;text-align:center;margin-top:3rem}
.cta-section.cta-gradient{background:linear-gradient(135deg,#1e3a5f 0%,#0a0e1a 50%,#1a1e3a 100%);border-top:1px solid #1f2937;border-bottom:1px solid #1f2937}
.cta-section>*{max-width:600px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.cta-section h2{color:#fff;font-size:1.8rem;font-weight:700;margin-bottom:.75rem;border:none;padding:0;line-height:1.3}
.cta-section p{color:rgba(255,255,255,.8);font-size:1.05rem;margin-bottom:1.5rem;line-height:1.7}
.cta-section .cta-btn{display:inline-block;padding:12px 32px;font-size:1rem}

/* Footer */
.site-footer{background:#111827;border-top:1px solid #1f2937;padding:3rem 0 2rem}
.site-footer>*{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.site-footer>nav{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 24px;margin-bottom:1.5rem}
.site-footer>nav a{color:#9ca3af;font-size:.85rem;text-decoration:none}
.site-footer>nav a:hover{color:#e5e7eb;text-decoration:none}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2rem}
.footer-col h3,.footer-col h4{color:#fff;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:.5rem}
.footer-col a{color:#9ca3af;font-size:.85rem;text-decoration:none;transition:color .2s}
.footer-col a:hover{color:#e5e7eb}
.affiliate-disclosure{text-align:center;color:#6b7280;font-size:.78rem;line-height:1.6;margin-bottom:.75rem;padding:0 24px;max-width:800px;margin-left:auto;margin-right:auto}
.site-footer p:last-child,.site-footer .copyright{text-align:center;color:#6b7280;font-size:.78rem;padding:0 24px}

/* Blockquote */
.content-page blockquote{border-left:3px solid #3b82f6;background:rgba(59,130,246,.05);padding:1rem 1.25rem;margin-bottom:1.5rem;border-radius:0 8px 8px 0;color:#c9cdd4}
.content-page blockquote p:last-child{margin-bottom:0}

/* HR */
.content-page hr{border:none;border-top:1px solid #1f2937;margin:2rem 0}

/* Images & Figures */
.content-page figure{margin:1.5rem 0;max-width:100%}
.content-page figcaption{color:#6b7280;font-size:.82rem;text-align:center;margin-top:.5rem}
.content-page img{border-radius:8px}

/* Focus & Accessibility */
:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.cta-btn:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
a:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}
summary:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}
.skip-link{position:absolute;top:-100%;left:16px;background:#2563eb;color:#fff;padding:8px 16px;border-radius:8px;z-index:10000;font-size:.9rem}
.skip-link:focus{top:16px}

/* Edge Cases */
body>*{overflow-wrap:break-word;word-break:break-word}
[id]{scroll-margin-top:80px}
pre{max-width:100%}
code{overflow-wrap:break-word;word-break:break-all}
.content-page h2 a,.content-page h3 a{color:inherit}
.content-page h2 a:hover,.content-page h3 a:hover{color:#60a5fa}
.content-page iframe{max-width:100%;border-radius:12px;border:1px solid #1f2937}
.content-page mark{background:rgba(59,130,246,.3);color:#e5e7eb;padding:1px 4px;border-radius:3px}
.content-page kbd{background:#1e293b;border:1px solid #374151;border-bottom:2px solid #374151;border-radius:4px;padding:2px 6px;font-family:'SF Mono','Fira Code',monospace;font-size:.85em;color:#e5e7eb}
.content-page small{font-size:.85em;color:#6b7280}

/* Responsive — Tablet (900px) */
@media(max-width:900px){
  .nav-toggle{display:block}
  .nav-links{display:none;position:absolute;top:60px;left:0;right:0;background:rgba(10,14,26,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex-direction:column;padding:16px 24px;gap:12px;border-bottom:1px solid #1f2937}
  .nav-links.active{display:flex}
  .nav-links .cta-btn{text-align:center}
  .geo-stats{grid-template-columns:repeat(2,1fr)}
  .pricing-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}
  .content-page{padding:1rem 20px 2.5rem}
  .cta-section{padding:2.5rem 0}
  .cta-section h2{font-size:1.5rem}
}

/* Responsive — Mobile (600px) */
@media(max-width:600px){
  html{font-size:15px}
  .site-header{height:56px}
  .main-nav{height:56px;padding:0 16px}
  .main-nav .logo{font-size:1.05rem}
  .content-page{padding:.75rem 16px 2rem}
  .content-page h1{font-size:1.65rem}
  .content-page h2{font-size:1.3rem;margin-top:2rem}
  .content-page h3{font-size:1.1rem;margin-top:1.5rem}
  .content-page h4{font-size:1rem}
  .content-page .intro{font-size:1rem;max-width:100%}
  .geo-stats{grid-template-columns:1fr;gap:12px}
  .pricing-grid{grid-template-columns:1fr;gap:16px}
  .footer-grid{grid-template-columns:1fr;gap:1.5rem}
  .footer-col{text-align:center}
  .footer-col ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px}
  .site-footer>nav{flex-direction:column;align-items:center;gap:8px}
  .cta-section{padding:2rem 0}
  .cta-section h2{font-size:1.35rem}
  .cta-section .cta-btn{padding:10px 24px;font-size:.9rem}
  .breadcrumb{padding:10px 16px;font-size:.78rem}
  .table-responsive thead th,.table-responsive tbody td{padding:10px 12px;font-size:.82rem}
  .content-page pre{padding:1rem;border-radius:8px}
  .content-page pre code{font-size:.82rem}
  .stat-box{padding:1.25rem}
  .stat-box h3{font-size:1.6rem}
  .pricing-card{padding:1.25rem}
  .faq-section summary{padding:14px 16px;font-size:.9rem}
  .faq-section details p,.faq-section details div{padding:0 16px 14px;font-size:.88rem}
  .content-page blockquote{padding:.75rem 1rem}
  .site-footer{padding:2rem 0 1.5rem}
  .affiliate-disclosure{font-size:.72rem;padding:0 16px}
  .site-footer p:last-child,.site-footer .copyright{padding:0 16px;font-size:.72rem}
}

/* Print */
@media print{
  .site-header,.main-nav,.nav-toggle,.breadcrumb,.toc-container,.cta-section,.cta-btn,.site-footer,.sidebar,.no-print,nav.breadcrumb{display:none!important}
  body{background:#fff;color:#111;font-size:12pt;line-height:1.6}
  .content-page{max-width:100%;padding:0}
  .content-page h1{color:#111;font-size:20pt}
  .content-page h2{color:#111;font-size:16pt;border-bottom:1px solid #ddd}
  .content-page h3{color:#111;font-size:13pt}
  .content-page p,.content-page li{color:#333}
  .content-page strong{color:#111}
  .content-page a{color:#111;text-decoration:underline}
  .content-page a[href]::after{content:' ('attr(href)')';font-size:.8em;color:#666}
  .content-page a[href^="#"]::after{content:''}
  .table-responsive{border:1px solid #ccc;border-radius:0;overflow:visible}
  .table-responsive table{border:1px solid #ccc}
  .table-responsive thead{background:#f0f0f0}
  .table-responsive thead th{color:#111}
  .table-responsive tbody td{color:#333}
  .table-responsive tbody tr:nth-child(even){background:#f9f9f9}
  .content-page pre{background:#f5f5f5;border:1px solid #ccc;border-radius:0;font-size:9pt}
  .content-page pre code{color:#333}
  .content-page code{background:#f0f0f0;color:#333}
  .pricing-card{border:1px solid #ccc;background:#fff;break-inside:avoid}
  .pricing-card .cta-btn{display:none}
  .faq-section details{border:1px solid #ccc;background:#fff;break-inside:avoid}
  .faq-section details summary{color:#111}
  .faq-section details p{color:#333}
  .stat-box{border:1px solid #ccc;background:#fff}
  .stat-box h3{color:#111}
  .stat-box p{color:#666}
  .content-page blockquote{border-left:3px solid #999;background:#f9f9f9;color:#333}
  .content-page img{max-width:100%;page-break-inside:avoid}
  @page{margin:2cm}
}
