/* ============================================
   Sprachen Verbinden – Modern Website Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #1a5276;
  --color-primary-light: #2980b9;
  --color-primary-dark: #0e2f44;
  --color-accent: #e67e22;
  --color-accent-light: #f39c12;
  --color-bg: #fafbfc;
  --color-bg-alt: #f0f4f8;
  --color-text: #2c3e50;
  --color-text-light: #5d6d7e;
  --color-white: #ffffff;
  --color-border: #dce1e6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1100px;
  --transition: 0.3s ease;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }

ul {
  list-style: none;
  padding: 0;
}

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

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.header__logo svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header__logo-text {
  line-height: 1.2;
}

.header__logo-text small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* Desktop nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.nav__link--active {
  font-weight: 600;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.nav--mobile {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.25rem;
}

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

.nav--mobile .nav__link {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero__content {
  flex: 1;
}

.hero__tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2.6rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 540px;
}

.hero__graphic {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__graphic svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  opacity: 0.9;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

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

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.section-header__line {
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
  margin: 1rem auto 0;
}

/* --- Language Badges --- */
.lang-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.lang-badge svg {
  width: 18px;
  height: 18px;
}

/* --- About / Profile --- */
.profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.profile__image {
  flex: 0 0 200px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.profile__image svg {
  width: 100px;
  height: 100px;
  color: var(--color-white);
  opacity: 0.9;
}

.profile__info {
  flex: 1;
}

.profile__info h2 {
  margin-bottom: 1.5rem;
}

.qualification-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qualification-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.qualification-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.qualification-item__icon svg {
  width: 18px;
  height: 18px;
}

.qualification-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Contact Info --- */
.contact-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-details {
  flex: 1;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__text strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item__text span,
.contact-item__text a {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-map {
  flex: 1;
  min-height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* --- Legal / AGB / Impressum --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary);
}

.legal-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content .legal-section {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer__brand svg {
  width: 36px;
  height: 36px;
}

.footer__tagline {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Service List (for home) --- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.service-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__graphic {
    flex: 0 0 auto;
    max-width: 200px;
  }

  .btn-group {
    justify-content: center;
  }

  .profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-block {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  html { font-size: 15px; }

  .nav { display: none; }
  .hamburger { display: flex; }

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

  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 0; }
  .section { padding: 3.5rem 0; }

  .contact-card { padding: 1.5rem; }
  .legal-content .legal-section { padding: 1.5rem; }
  .cta-banner { padding: 2rem 1.5rem; }
}
