/* =========================================================
   VARIABLES
========================================================= */
:root {
  --primary: #0048ff;
  --primary-dark: #0036c2;
  --light: #f8fafc;
  --dark: #0f172a;
  --gray: #64748b;
  --border: #e5e7eb;
}

/* =========================================================
   RESET & BASE
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: #ffffff;
   padding-top: 150px; 
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   LAYOUT
========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* =========================================================
   HEADER / NAV
========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;              /* sicher über allem */
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
}

/* LOGO (deine Vorgabe) */
.logo {
  height: auto;
  max-height: 100px;
  width: auto;
}

/* SLOGAN – Basis (z. B. Navbar) */
.slogan {
  font-size: 0.9rem;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* Akzentwort im Slogan */
.slogan .claim-accent {
  color: var(--primary);
  font-weight: 600;
}

.nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: var(--dark);
}

/* =========================================================
   LANGUAGE SWITCH
========================================================= */
.lang-switch {
  margin-left: 1.5rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  line-height: 1;
}

.lang-switch:hover {
  border-color: var(--primary);
  background: var(--light);
}

.lang-switch img {
  height: auto;
  max-height: 20px; /* deine finale Vorgabe */
  width: auto;
  display: block;
}

.lang-switch span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.hero h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

.hero h1 span {
  color: var(--primary);
}

/* HERO: Slogan größer & präsenter */
.hero .slogan {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  letter-spacing: 0.05em;
}

/* HERO TEXT READABILITY */
.hero p {
  margin-bottom: 1.25rem;
  max-width: 42rem;
}

.hero p:last-of-type {
  margin-bottom: 2rem;
}

.hero p strong {
  font-weight: 600;
}

.hero-image img {
  border-radius: 14px;
}

/* =========================================================
   SECTIONS
========================================================= */
.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--light);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.section p {
  margin-bottom: 1.25rem;
}

/* =========================================================
   CARDS / SERVICES
========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

/* Headline-Ausrichtung: Texte beginnen gleich hoch */
.card h3 {
  margin-bottom: 1rem;
  min-height: 3.2rem;
  line-height: 1.3;
}

.card p {
  margin-top: 0;
}

/* =========================================================
   SERVICE ICONS
========================================================= */

.service-card {
  align-items: flex-start;
}

.service-icon {
  width: 45px;
  height: auto;
  color: var(--primary);     /* primary color */
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* =========================================================
   EXPERIENCE SECTION
========================================================= */

.experience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.experience-image img {
  width: 100%;
  border-radius: 14px;
}

.experience-text h2 {
	color: var(--primary);
}

/* Mobile: untereinander */
@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-image {
    margin-top: 2rem;
  }
}

/* =========================================================
   CONTACT
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5f5;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.hcaptcha-placeholder {
  border: 1px dashed var(--gray);
  padding: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
}

/* =========================================================
   BUTTONS
========================================================= */
/* =========================================================
   BUTTONS – PRIMARY (GLOBAL, inkl. NAV)
========================================================= */

.btn-primary {
  appearance: none;
  -webkit-appearance: none;

  background: var(--primary);
  color: #ffffff !important;   /* wichtig für <a> im Nav */

  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;

  padding: 0.75rem 1.5rem;
  border-radius: 999px;

  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transition: background-color 0.2s ease;
              /*transform 0.15s ease;*/
}

/* Hover – überall gleich */
.btn-primary:hover {
  background: var(--primary-dark);
}

/* Active */
.btn-primary:active {
  /*transform: translateY(0);*/
}

/* Sicherstellen, dass Nav-Links gleich aussehen */
.nav .btn-primary {
  text-decoration: none;
  line-height: 1;
}

/* Für <input type="submit"> */
input.btn-primary {
  line-height: normal;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.footer a {
  color: #c7d2fe;
}

/* =========================================================
   UTILITIES
========================================================= */
.hidden {
  display: none;
}

/* =========================================================
   PRIVACY CONSENT – OVERLAY + BANNER
========================================================= */

.privacy-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45); /* dunkles Blau-Grau */
  backdrop-filter: blur(2px);

  display: flex;
  align-items: flex-end;
  justify-content: center;

  z-index: 3000;
}

.privacy-banner {
  background: #ffffff;
  width: 100%;
  max-width: 720px;
  margin: 1.5rem;
  padding: 2rem;

  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.privacy-banner h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.privacy-banner p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.privacy-banner a {
  text-decoration: underline;
}

.privacy-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Secondary Button (Ablehnen) */
.btn-secondary {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dark);

  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;

  transition: background-color 0.2s ease,
              border-color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--light);
  border-color: var(--primary);
}

body.privacy-open {
  overflow: hidden;
}

/* Privacy Banner selbst */
#privacy-banner {
  position: fixed;
  z-index: 1000;

  /* sicherstellen, dass es klickbar ist */
  pointer-events: auto;
}

/* Mobile */
@media (max-width: 480px) {
  .privacy-actions {
    flex-direction: column-reverse;
  }

  .privacy-actions button {
    width: 100%;
  }
}

/* =========================================================
   Social Links
========================================================= */

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  margin-bottom: 16px;
}

.social-links a i {
  font-size: 22px;
  color: var(--gray);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover i {
  transform: translateY(-2px);
}

.social-links a[aria-label="Instagram"]:hover i { color: #E1306C; }
.social-links a[aria-label="LinkedIn"]:hover i  { color: #0077B5; }
.social-links a[aria-label="Facebook"]:hover i  { color: #1877F2; }
.social-links a[aria-label="Xing"]:hover i      { color: #006567; }






/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 768px) {

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav a,
  .lang-switch {
    margin-left: 0;
  }

  /* Mobile: keine erzwungene Headline-Höhe */
  .card h3 {
    min-height: unset;
  }

  /* Hero-Slogan mobil etwas ruhiger */
  .hero .slogan {
    font-size: 1rem;
  }
  
  body {
    padding-top: 200px;
  }
  
  .lang-switch {
    position: fixed;
    top: 18px;          /* Abstand von oben */
    right: 24px;        /* Abstand vom rechten Rand */

    margin-left: 0;     /* Nav-Margin neutralisieren */
    z-index: 1100;      /* über Header */
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

