/* ============================================================
   THAIGER SOLUTIONS — style.css
   Kein Framework. Kein CDN. System-Fonts. DSGVO-konform.
   ============================================================ */

:root {
  --accent: #D4A020;          /* Logo-Gold */
  --accent-dark: #B88A18;
  --heading: #0C2340;         /* Logo-Dunkelblau */
  --text: #333333;
  --text-muted: #555555;
  --bg: #ffffff;
  --bg-card: #f8f9fa;
  --border: #e5e7eb;
  --footer-bg: #0C2340;       /* Dunkelblau statt Schwarz */
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-w: 1140px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── HEADER ──────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.logo { display: flex; align-items: center; }

.logo-img {
  height: 44px;
  width: auto;
}

/* Nav + Lang-Switch */
.nav-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--heading); }

/* Sprachschalter */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lang-switch a {
  color: var(--text-muted);
  padding: 0.15rem 0.25rem;
  transition: color 0.2s;
}

.lang-switch a:hover { color: var(--heading); }

.lang-switch a.active {
  color: var(--heading);
  font-weight: 800;
}

.lang-sep {
  color: var(--border);
  font-weight: 300;
  user-select: none;
}

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

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent); }

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  padding: clamp(5.5rem, 8vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.hero-headline {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
  padding-left: 1.25rem;
  border-left: 5px solid var(--accent);
  max-width: 780px;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ── INTRO ───────────────────────────────────────────────── */

.intro {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
}

.intro h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--heading);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.intro p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.75;
}

/* ── SERVICE GRID ────────────────────────────────────────── */

.services {
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--heading);
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card .btn {
  align-self: flex-start;
}

/* ── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 1.5rem;
}

.footer-cta {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-cta h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-cta p {
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.7;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-company {
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact address {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-contact a:hover { opacity: 0.8; }

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

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

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

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

  .footer-info { flex-direction: column; }
}

@media (max-width: 400px) {
  :root { --gutter: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
