/* =============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================= */
:root {
  --bg: #0d0a1e;
  --bg2: #130f2a;
  --fg: #ffffff;
  --fg2: #e0e0e0;
  --gold: #d4af37;
  --gold-dark: #a88620;
  --gold-light: #f0d060;
  --purple: #7b5ea7;
  --purple-light: #a080cc;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(212, 175, 55, 0.25);
  --muted: rgba(255, 255, 255, 0.60);

  --font-body: 'Lato', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-display: 'Cinzel', serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: url('/subsrc/bg-w3000h3000.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
}

.gold-divider {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  width: 80px;
  height: 1px;
  margin: 0 auto;
}

.section-label {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #f6e08a, #e8c44a, #d4af37, #e2c060, #f0d880);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Buttons */
.btn-gold {
  display: inline-block;
  color: #05030f;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4af37, #e8c84a, #f0d870, #e8c84a, #d4af37);
  background-size: 200%;
  padding: 0.85rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-position 0.4s ease, transform 0.2s ease;
}

.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Layout helpers */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 1.5rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.9s ease both;
}

/* =============================================
   NAV
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 30, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #f6e08a, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg2);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
  text-decoration: none;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

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

.nav-lang {
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.35rem;
  padding: 0.2rem 0.6rem !important;
  font-size: 0.7rem !important;
  color: var(--gold) !important;
  transition: background 0.2s;
}

.nav-lang:hover {
  background: rgba(212, 175, 55, 0.12);
  text-decoration: none !important;
}

/* =============================================
   SPRACHWAHL
   ============================================= */
#sprachen {
  padding: 2rem 1.5rem 5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(123, 94, 167, 0.18), var(--bg) 70%);
}

.sprachen-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.sprachen-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.sprachen-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.sprachen-card {
  width: 320px;
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sprachen-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.sprachen-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.sprachen-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sprachen-card:hover .sprachen-card-img-wrap img {
  transform: scale(1.06);
}

.sprachen-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13, 10, 30, 0.75) 100%);
}

.sprachen-card-flag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.sprachen-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: left;
  flex: 1;
}

.sprachen-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.35rem;
}

.sprachen-card-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sprachen-card-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.2s;
}

.sprachen-card:hover .sprachen-card-btn {
  color: var(--gold-light);
}

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  background-image: linear-gradient(
    to bottom,
    rgba(13, 10, 30, 0.88) 0%,
    rgba(13, 10, 30, 0.20) 55%,
    var(--bg) 100%
  );
  overflow: hidden;
}

.hero-content {
  max-width: 840px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-tr {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: rgba(212, 175, 55, 0.65);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.hero-divider {
  margin: 1.75rem auto;
}

.hero-subtext {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* =============================================
   INTRO
   ============================================= */
#intro {
  background: radial-gradient(ellipse at 50% 50%, rgba(123, 94, 167, 0.15), var(--bg) 70%);
}

#intro .section-inner {
  text-align: center;
}

#intro h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.intro-text {
  max-width: 700px;
  margin: 0 auto;
}

.intro-text p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.85;
}

/* =============================================
   LEISTUNGEN
   ============================================= */
#leistungen {
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.08), var(--bg) 70%);
}

#leistungen .section-inner {
  text-align: center;
}

#leistungen h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.leistung-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.leistung-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.leistung-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.leistung-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leistung-card:hover .leistung-img-wrap img {
  transform: scale(1.06);
}

.leistung-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.leistung-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.leistung-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

/* =============================================
   TEAM
   ============================================= */
#team {
  background: radial-gradient(ellipse at 50% 50%, rgba(123, 94, 167, 0.18), var(--bg) 70%);
}

#team .section-inner {
  text-align: center;
}

#team h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.team-subtitle {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 3rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.team-member {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem 0.75rem 1rem;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.team-member a {
  display: block;
  text-decoration: none;
}

.team-member img {
  border-radius: 5%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: border-color 0.3s ease;
  display: block;
  margin-bottom: 0.9rem;
  max-width: 100%;
}

.team-member:hover img {
  border-color: var(--gold);
}

.team-member h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg);
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 500px) {
  .team-member img { width: 130px !important; height: 130px !important; }
}

/* =============================================
   VERTRAUEN
   ============================================= */
#vertrauen {
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.10), var(--bg) 70%);
}

#vertrauen .section-inner {
  text-align: center;
  max-width: 780px;
}

#vertrauen h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.vertrauen-text p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.85;
}

.vertrauen-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.vertrauen-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.vertrauen-badge-icon {
  font-size: 2rem;
  color: var(--gold);
}

.vertrauen-badge-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =============================================
   CTA
   ============================================= */
#cta {
  text-align: center;
  padding: 7rem 1.5rem;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.12), var(--bg) 70%);
}

#cta .section-inner {
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.cta-tr {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(212, 175, 55, 0.55);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: rgba(13, 10, 30, 0.97);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #f6e08a, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-divider {
  margin: 1.5rem auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-powered {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.15);
  margin-top: 0.25rem;
}

.footer-powered a {
  color: inherit;
  text-decoration: none;
}

.footer-powered a:hover {
  color: rgba(255, 255, 255, 0.4);
}
