
:root {
  --primary: #1f6feb;
  --primary-dark: #174fa8;
  --accent: #18a34a;
  --bg: #f5f7fb;
  --text: #1f2933;
  --muted: #6b7280;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-full: 999px;
  --max-width: 1120px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

header {
  background: linear-gradient(
    180deg,
    rgba(31, 111, 235, 0.06),
    rgba(255, 255, 255, 0.96)
  );
}

header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(31, 111, 235, 0.25),
    transparent
  );
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 16px;

  /* sehr dezenter, logo-passender Hintergrund */
  background: radial-gradient(
    circle at 30% 20%,
    rgba(56, 189, 248, 0.18),   /* helles Blau */
    rgba(34, 197, 94, 0.10) 45%,/* leichtes Grün */
    transparent 70%
  );

  border: 1.5px solid rgba(31, 111, 235, 0.45);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #1f6feb;
  font-weight: 600;
  font-size: 1rem;

  box-shadow: none;
}

.logo-icon {
  transition: border-color 0.2s ease, color 0.2s ease;
}

.logo-icon:hover {
  border-color: #1f6feb;
  color: #1d4ed8;
}


.logo-text-main {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-phone strong {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(148, 163, 184, 0.35);
  transform: translateY(-1px);
}

main {
  flex: 1;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.badge-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #bbf7d0, #16a34a);
  color: var(--white);
  font-size: 0.7rem;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
}

.hero-title {
  font-size: clamp(2.1rem, 3.1vw + 1.2rem, 3.1rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  color: var(--muted);
  max-width: 35rem;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-note strong {
  color: var(--text);
}

.hero-aside {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at 0 0, #e5f0ff, #ffffff);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 0.75);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.hero-card-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 600;
}

.hero-card-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-card-badge {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.09);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.metric {
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.78rem;
}

.metric-label {
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.metric-value {
  font-weight: 700;
  font-size: 1rem;
}

.metric-tag {
  font-size: 0.7rem;
  color: var(--muted);
}

.hero-checklist-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.hero-checklist {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #4b5563;
}

.hero-checklist li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero-card-accent {
  position: absolute;
  inset: auto auto -80px 120px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent 70%);
  pointer-events: none;
}

.floating-badge {
  position: absolute;
  right: -6px;
  top: -18px;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-full);
  background: #0f172a;
  color: var(--white);
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}

.floating-badge span {
  font-size: 0.95em;
}

.floating-badge strong {
  font-size: 1.05em;
  letter-spacing: 0.06em;
}

/* Sections */

section {
  padding: 3rem 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.importantlink{
  color: #1f6feb;
}

.section-kicker {
  color: #1f6feb;
  letter-spacing: 0.14em;
}

.section-title {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-text {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Services */

.services {
  background: rgba(255, 255, 255, 0.9);
}

.services-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.15rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.service-title {
  font-weight: 600;
  font-size: 1rem;
}

.service-desc {
  color: var(--muted);
  font-size: 0.88rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.service-tags span {
  border-radius: var(--radius-full);
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.2rem 0.6rem;
  background: #f9fafb;
  color: #4b5563;
}

/* About / USP */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.about-list strong {
  display: block;
  margin-bottom: 0.1rem;
}

.about-list p {
  color: var(--muted);
  font-size: 0.88rem;
}

.usp-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
}

.usp-panel h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.usp-panel ul {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
}

.usp-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.usp-note strong {
  color: var(--text);
}

/* Branchen */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.pill-row span {
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: #e5edff;
  border: 1px solid #c7d2fe;
}

/* Region */

.region-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: flex-start;
}

.region-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
}

.region-panel h3 {
  margin-bottom: 0.75rem;
}

.region-panel ol {
  margin-left: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.region-btn {
  width: 100%;
  justify-content: center;
}

/* Contact */

.contact-hero {
  padding: 3.5rem 0 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 0.75);
}

.contact-panel h2 {
  margin-bottom: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  font-size: 0.9rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-field.full {
  flex-basis: 100%;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: rgba(249, 250, 251, 0.9);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
}

.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
}

.checkbox-field label {
  font-size: 0.8rem;
  color: var(--muted);
}

.full-btn {
  width: 100%;
  justify-content: center;
}

.contact-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

footer {
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.footer-text {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-contact h4,
.footer-links h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact p,
.footer-links a {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.7rem 0 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* Responsive */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .region-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-aside {
    order: -1;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-phone {
    display: block;
  }
}

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

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  section {
    padding: 2.2rem 0;
  }
}


/* ===== Header: Text zentriert, Logo links ===== */

.nav-brand-center-fixed {
  position: relative;
  display: flex;
  justify-content: center;   /* Text-Anker */
  align-items: center;
}

.brand-fixed {
  display: flex;
  align-items: center;   
  gap: 18px;
}

/* Logo links vom Text */
header .logo-img {
  height: 84px;
  width: auto;
  position: relative;
  top: 3px;
}

/* Text exakt zentriert im Viewport */

.brand-text strong {
  color: #1d4ed8;
}

.brand-text {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #1f2937;
}

/* Responsive */

@media (max-width: 1024px) {
  .logo-img {
    height: 68px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 56px;
  }

  .brand-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 48px;
  }

  .brand-text {
    font-size: 0.9rem;
  }
}

  /* ===== Card Hover (dezent & hochwertig) ===== */



.service-card:hover,
.hero-card:hover,
.contact-panel:hover,
.region-panel:hover
{
  //transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  border-color: rgba(31, 111, 235, 0.25);
}

.service-card::before,
.hero-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(31, 111, 235, 0.6),
    rgba(31, 111, 235, 0.15)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card,
.hero-card,
.contact-panel {
  position: relative;
  overflow: hidden;
}

.service-card:hover::before,
.hero-card:hover::before,
.contact-panel:hover::before {
  opacity: 1;
}

.usp-panel li {
  transition: transform 0.18s ease, color 0.18s ease;
}

.usp-panel li:hover {
    background: rgba(31, 111, 235, 0.04);
    border-radius: 6px;
}

  /* Honeypot unsichtbar (für Bots sichtbar, für Menschen nicht) */
/* Captcha inline */
.captcha-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.captcha-text {
  font-size: 0.85rem;
  white-space: nowrap;
}

.captcha-input {
  max-width: 220px;
}

.captcha-refresh {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  background: #111827;
  border-radius: 999px;
}

/* Honeypot wirklich unsichtbar */
.hp-field {
  display: none !important;
}

.captcha-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #6b7280;
}

#captchaCanvas {
  border-radius: 8px;
  background: #f9fafb;
}

#captchaCanvas {
  background:
    repeating-linear-gradient(
      45deg,
      #f3f4f6,
      #f3f4f6 6px,
      #ffffff 6px,
      #ffffff 12px
    );
}

/* =========================================================
   CONTACT FORM – CLEAN, SERIOUS, PROFESSIONAL
========================================================= */

.contact-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 2rem 2.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.contact-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.contact-panel .hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

/* =====================
   FORM LAYOUT
===================== */

.contact-panel form {
  display: grid;
  gap: 1.2rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
}

/* =====================
   INPUTS
===================== */

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  background: #f9fafb;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(31, 111, 235, 0.35);
  outline: none;
}

/* =====================
   CHECKBOX (DATENSCHUTZ)
===================== */

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.checkbox-field input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
}

.checkbox-field label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* =====================
   CAPTCHA – SIMPEL & HUMAN
===================== */

.captcha-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#captchaCanvas {
  width: 240px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

#captchaAnswer {
  max-width: 160px;
}

#captchaRefresh {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
  color: #374151;
}

#captchaRefresh:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Honeypot */
.hp-field {
  display: none !important;
}

/* =====================
   FORM ACTIONS (BUTTONS)
===================== */

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.8rem;
  gap: 1rem;
}

/* Zurück-Link */
.link-back {
  font-size: 0.85rem;
  color: #6b7280;
  transition: color 0.15s ease;
}

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

/* Submit Button */
.btn-submit {
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;

  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 36px rgba(31, 111, 235, 0.35);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(31, 111, 235, 0.45);
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 640px) {
  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .btn-submit {
    width: 100%;
  }

  .link-back {
    text-align: center;
  }
}

/* =========================
   iOS / Safari Form Fixes
   (Schritt 1)
========================= */

/* verhindert iOS Auto-Zoom in Inputs */
input, select, textarea, button {
  font-size: 16px;
}

/* iOS: native Styles glätten */
input, select, textarea, button {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 12px;
}

/* iOS: Select-Pfeil bleibt sonst manchmal "weird" – wir geben ihm saubere Breite */
select {
  background-clip: padding-box;
}

/* iOS: bessere Tap-Targets */
button, .btn-submit, .link-back {
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   Kontaktformular – Mobile Layout
   (Schritt 2)
========================= */

@media (max-width: 768px) {

  /* Alle Formularzeilen untereinander */
  .contact-panel .form-row {
    flex-direction: column;
    gap: 0.9rem;
  }

  /* Felder volle Breite */
  .contact-panel .form-field {
    width: 100%;
  }

  /* Labels etwas luftiger */
  .contact-panel .form-field label {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
  }

  /* Inputs etwas höher für Touch */
  .contact-panel input,
  .contact-panel select,
  .contact-panel textarea {
    padding: 0.7rem 0.75rem;
  }
}

/* =========================
   LOGO – FINAL & KONSISTENT
========================= */

header .logo-img {
  height: 142px;
  width: auto;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  header .logo-img {
    height: 108px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header .logo-img {
    height: 96px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  header .logo-img {
    height: 84px;
  }
}









