/* Sanorix - Static HTML Stylesheet */
/* Mobile-first, CSS-only responsive design */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #0f1621;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-tertiary: #6b7280;
  --accent-blue: #3b82f6;
  --accent-orange: #ea580c;
  --accent-red: #dc2626;
  --border-color: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
}

h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  h2 { font-size: 2.25rem; }
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #60a5fa;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

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

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-menu {
  display: none;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, var(--accent-orange), var(--accent-red));
  color: white;
  font-weight: 600;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: transform 0.3s;
}

.nav-cta:hover {
  transform: scale(1.05);
  color: white;
}

/* Main Content */
main {
  padding-top: 80px;
  min-height: 100vh;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.03);
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 15, 26, 0.9) 0%, rgba(10, 15, 26, 0.7) 50%, rgba(10, 15, 26, 0.4) 100%);
  z-index: 1;
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.8) 0%, transparent 50%, rgba(10, 15, 26, 1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 50%;
}

@media (max-width: 1023px) {
  .hero-content {
    max-width: 100%;
  }
  .hero-bg img {
    object-position: 70% center;
  }
}

@media (max-width: 640px) {
  .hero-bg img {
    object-position: 60% center;
    transform: scale(1.08);
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.5rem; }
}

.hero-text {
  font-size: 1.125rem;
  color: #9ca3af;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 0.75rem;
  transition: all 0.3s;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--accent-orange), var(--accent-red));
  color: white;
  box-shadow: 0 25px 50px -12px rgba(234, 88, 12, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(to right, var(--accent-red), #b91c1c);
  transform: scale(1.05);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  opacity: 0.7;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  opacity: 1;
  color: white;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
  }
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 1rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* City Cards */
.city-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}

.city-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  transform: scale(1.05);
}

.city-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--accent-blue);
  margin: 0 auto 1rem;
}

.city-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.city-card:hover h3 {
  color: var(--accent-blue);
}

.city-card p {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.city-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-blue);
  font-size: 0.875rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

.breadcrumbs a {
  color: var(--text-tertiary);
  transition: color 0.3s;
}

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

.breadcrumbs span {
  color: var(--text-primary);
}

/* List */
.checklist {
  list-style: none;
  margin: 2rem 0;
}

.checklist li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.checklist svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-tertiary);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, rgba(234, 88, 12, 0.2), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(234, 88, 12, 0.3);
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section svg {
  width: 3rem;
  height: 3rem;
  color: #fb923c;
  margin: 0 auto 1rem;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-20 { padding: 6rem 0; }

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-5xl {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.bg-secondary {
  background: var(--bg-secondary);
}

.border-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
}

.gradient-box {
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
}

/* Icons (SVG inline) */
.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

/* Image Sections */
.content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* Trust Section (portrait + text) */
.trust-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.trust-image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  max-width: 420px;
  margin: 0 auto;
}

.trust-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #93c5fd;
  margin-bottom: 1rem;
}

/* Service Proof (image + overlay text) */
.service-proof {
  padding: 5rem 0;
}

.service-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .service-proof-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.service-proof-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.service-proof-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Before/After Section */
.before-after {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.before-after-figure {
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
}

.before-after-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.before-after-caption {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.before-after-caption span:first-child {
  color: #f87171;
}

.before-after-caption span:last-child {
  color: #4ade80;
}

/* Local Trust Section */
.local-trust {
  padding: 5rem 0;
}

.local-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .local-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.local-trust-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
}

.local-trust-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* City page image gallery */
.city-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .city-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-gallery .city-gallery-wide {
    grid-column: span 2;
  }
}

.city-gallery figure {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.city-gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.city-gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.02);
}

/* Section eyebrow text */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 0.75rem;
}

/* Mobile Sticky Call Button */
.mobile-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ea580c;
  text-align: center;
  padding: 14px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

.mobile-call a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .mobile-call {
    display: block;
  }
  /* Padding damit Content nicht vom Sticky-Button verdeckt wird */
  body {
    padding-bottom: 60px;
  }
}

/* Responsive */
@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 3rem 0; }
  .btn { padding: 0.875rem 1.5rem; font-size: 1rem; }
  .trust-section, .service-proof, .before-after, .local-trust { padding: 3rem 0; }
}
