/* ===== VARIABLES ===== */
:root {
  --blue: #3B82F6;
  --blue-mid: #2563EB;
  --blue-light: #EFF6FF;
  --blue-dark: #1E3A5F;
  --dark: #0F172A;
  --text: #1E293B;
  --text-light: #64748B;
  --white: #fff;
  --grey: #F8FAFC;
  --border: #E2E8F0;
  --max-width: 1080px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15,23,42,0.08);
  --shadow-blue: 0 8px 32px rgba(59,130,246,0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-mid); }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: rgba(15, 23, 42, 0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img {
  height: 38px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.site-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
}
.site-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.site-nav a.active {
  color: var(--white);
  background: rgba(59,130,246,0.25);
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.30) 0%, transparent 70%),
    linear-gradient(160deg, var(--dark) 0%, #0D2141 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
  position: relative;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(179,210,255,0.85);
  max-width: 580px;
  margin: 0 auto 2.8rem;
  line-height: 1.7;
  position: relative;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.40);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,0.50);
  color: var(--white);
  background: linear-gradient(135deg, #60A5FA 0%, var(--blue) 100%);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section { padding: 5.5rem 0; }
.section-grey { background: var(--grey); }
.section-blue { background: var(--blue-light); }
.section-dark {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0D2141 100%);
  color: var(--white);
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 540px;
  line-height: 1.7;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(179,210,255,0.75); }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #60A5FA 100%);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15,23,42,0.12), var(--shadow-blue);
}
.card-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), #BFDBFE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}
.card-link::after { content: '→'; }
.card-link:hover {
  color: var(--blue-mid);
  gap: 0.6rem;
}

/* ===== LEISTUNGEN DETAIL ===== */
.leistung-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-nr {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #BFDBFE, var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-align: right;
}
.leistung-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}
.leistung-content p {
  color: var(--text-light);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.leistung-content ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.leistung-content ul li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}
.leistung-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), #BFDBFE);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.9rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.about-content p {
  color: var(--text);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.value-item {
  padding: 1rem 1.2rem;
  background: var(--grey);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.value-item strong {
  display: block;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.value-item span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-size: 5rem;
  color: #BFDBFE;
  position: absolute;
  top: -0.5rem;
  left: 1.2rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text {
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.75;
  padding-top: 1.5rem;
}
.testimonial-author {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}
.testimonial-role {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== TESTIMONIAL SINGLE (HOME) ===== */
.testimonial-single {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}
.testimonial-single blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.testimonial-single cite {
  color: rgba(179,210,255,0.75);
  font-size: 0.95rem;
  font-style: normal;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.025em;
  position: relative;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  position: relative;
}

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.kontakt-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.kontakt-info p {
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.kontakt-info a { color: var(--blue); }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
.form-group textarea {
  height: 160px;
  resize: vertical;
}
.form-message {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background:
    radial-gradient(ellipse 70% 60% at 50% -5%, rgba(59,130,246,0.25) 0%, transparent 70%),
    linear-gradient(160deg, var(--dark) 0%, #0D2141 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
  position: relative;
}
.page-header p {
  color: rgba(179,210,255,0.85);
  font-size: 1.1rem;
  max-width: 500px;
  position: relative;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #64748B;
  padding: 2.5rem 0;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  color: #64748B;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .site-nav { gap: 0; }
  .site-nav a { font-size: 0.82rem; padding: 0.4rem 0.65rem; }
  .leistung-block { grid-template-columns: 1fr; gap: 1rem; }
  .leistung-nr { text-align: left; font-size: 2rem; }
  .leistung-content ul { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { aspect-ratio: 1/1; max-width: 260px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .site-nav a { font-size: 0.78rem; padding: 0.35rem 0.5rem; }
  .hero { padding: 5rem 0 4rem; }
  .section { padding: 3rem 0; }
}
