/* Steuerkanzlei Wittek - Main Stylesheet */

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

:root {
  /* Colors */
  --emerald-50: #e1ceff;
  --emerald-100: #e1ceff;
  --emerald-400: #9d75e0;
  --emerald-600: #5654a9;
  --emerald-700: #5654a9;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--slate-900);
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

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

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Brand Name Style */
.brand-name {
  font-variant: small-caps;
  color: #666;
}

footer .brand-name {
  color: white;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navigation.transparent {
  background-color: transparent;
}

.navigation.solid {
  background-color: white;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 400;
  transition: color 0.3s ease;
  color: white;
  font-variant: small-caps;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-circles {
  height: 22px;
  width: auto;
  opacity: 0.9;
  padding-top:6px;
}

.nav-logo.white { color: white; }
.nav-logo.dark { color: #666; }

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1rem;
}

.nav-link.white { color: white; }
.nav-link.white:hover { color: var(--emerald-600); }
.nav-link.dark { color: var(--slate-700); }
.nav-link.dark:hover { color: var(--emerald-600); }

.nav-cta {
  padding: 0.5rem 1.5rem;
  background-color: var(--emerald-600);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-cta:hover {
  background-color: var(--emerald-700);
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  background-color: white;
  border-top: 1px solid var(--slate-200);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--slate-700);
  background: none;
  border: none;
  border-radius: var(--radius-lg);
  margin-bottom: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.mobile-menu-item:hover {
  background-color: var(--slate-50);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('steuerkanzlei-wittek.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(157, 117, 224, 0.85), rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.1));
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyYy0yLjIxIDAtNCAxLjc5LTQgNHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjAyIi8+PC9nPjwvc3ZnPg==');
  opacity: 0.3;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 10rem 1rem 8rem;
  color: white;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.0rem;
  line-height: 1.2;
}

.hero-highlight {
  color: var(--emerald-400);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--slate-300);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-claim {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-weight:bold;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--emerald-600);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background-color: var(--emerald-700);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background-color: white;
  color: var(--slate-900);
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  background-color: var(--slate-100);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  margin-top: 4rem;
}

.hero-feature {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.hero-feature:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.hero-feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
}

.hero-feature h3 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.hero-feature p {
  color: var(--slate-300);
  margin: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index:99;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* Section Styles */
.section {
  padding: 5rem 1rem;
}

.section-bg-white { background-color: white; }
.section-bg-gray { background-color: var(--slate-50); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--slate-600);
  max-width: 48rem;
  margin: 0 auto;
}

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

/* Mobile-first: All grids start with 1 column */
.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Card Styles */
.card {
  background-color: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--emerald-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.card:hover .card-icon {
  background-color: var(--emerald-600);
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--emerald-600);
  transition: color 0.3s ease;
}

.card:hover .card-icon svg {
  color: white;
}

.card-title {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--slate-600);
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--slate-900);
  color: white;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--slate-400);
}

.footer-link {
  color: var(--slate-400);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

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

/* Icon Styles */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

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

/* Page Header (for Impressum/Datenschutz) */
.page-header {
  padding: 6rem 1rem 3rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--emerald-600);
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--emerald-700);
}

.page-content {
  background-color: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 56rem;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  font-size: 1.5rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.content-section h3 {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin: 1.5rem 0 0.75rem;
}

.content-section p {
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  color: var(--slate-700);
  margin-bottom: 0.5rem;
}

.info-box {
  background-color: var(--slate-50);
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin: 1rem 0;
}

.highlight-box {
  background-color: var(--emerald-50);
  border-left: 4px solid var(--emerald-600);
  padding: 1.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0;
}

/* Responsive Design */

/* Mobile Devices (max-width: 639px) */
@media (max-width: 639px) {
  /* Typography - Mobile Optimizations */
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.125rem; }
  h6 { font-size: 1rem; }

  .section-title {
    font-size: 1.875rem;
  }

  .section-subtitle {
    font-size: 1.125rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-claim {
    font-size: 1.25rem;
  }

  /* Padding and Spacing - Mobile Optimizations */
  .section {
    padding: 3rem 1rem;
  }

  .card {
    padding: 1.25rem;
  }

  .page-content {
    padding: 1.5rem;
  }

  .hero-content {
    padding: 8rem 1rem 6rem;
  }

  /* Layout - Mobile Optimizations */
  .grid {
    gap: 1.5rem;
  }

  .page-header {
    padding: 5rem 1rem 2rem;
  }

  /* Button - Mobile Optimizations */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Nested Content - Mobile Optimizations */
  [style*="padding-left: 3.25rem"] {
    padding-left: 1rem !important;
  }

  /* Card with inline padding - Mobile Optimizations */
  .card[style*="padding: 2.5rem"] {
    padding: 1.5rem !important;
  }

  .card[style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }

  /* Info box - Mobile Optimizations */
  .info-box {
    padding: 0.75rem;
  }

  .highlight-box {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  /* Content sections with inline styles - Mobile font size adjustments */
  [style*="font-size: 3rem"] {
    font-size: 1.875rem !important;
  }

  [style*="font-size: 2.5rem"] {
    font-size: 1.75rem !important;
  }

  [style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  [style*="font-size: 1.5rem"] {
    font-size: 1.25rem !important;
  }

  /* Team cards and special sections - Mobile adjustments */
  [style*="gap: 1.5rem"] {
    gap: 1rem !important;
  }
}

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

  .mobile-menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 3.5rem;
  }

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

  /* Tablet: 2 columns for all multi-column grids */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  /* Desktop: Full column counts */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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