/* =============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================= */
:root {
  --bg: #06082e;
  --bg2: #090c3a;
  --fg: #f0ede6;
  --blue: #3d5aa8;
  --blue-dark: #202784;
  --blue-light: #8fa8e8;
  --gold: #dbb155;
  --gold-dark: #d79628;
  --gold-light: #f6d389;
  --card-bg: rgba(30, 40, 110, 0.35);
  --card-border: rgba(100, 130, 210, 0.35);
  --muted: rgba(240, 237, 230, 0.65);

  --font-body: 'Nunito', sans-serif;
  --font-serif: 'Cormorant Garamond', 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);
  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;
}

.blue-divider {
  background: linear-gradient(90deg, transparent, var(--blue-light), 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, #f6d389, #e7b45e, #d79628, #d8ad5f, #d8c288);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-blue-gradient {
  background: linear-gradient(135deg, #8fa8e8, #6b85cc, #3d5aa8, #5a7acc, #8fa8e8);
  -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(--blue));
}

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

/* Buttons */
.btn-gold {
  display: inline-block;
  color: #01021a;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d79628, #dcac54, #dfc176, #dcac54, #d79628);
  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(--blue-light);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(61, 90, 168, 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(61, 90, 168, 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 pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(61, 90, 168, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(61, 90, 168, 0.6);
  }
}

@keyframes starTwinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

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

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* =============================================
   NAV
   ============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(1, 2, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 90, 168, 0.25);
}

.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;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #f6d389, #dbb155);
  -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.75rem;
  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.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color 0.2s;
}

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

/* Hamburger (mobile) */
.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;
  }
}

/* =============================================
   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(6, 8, 46, 0.30) 0%, rgba(6, 8, 46, 0.55) 60%, #06082e 100%),
    url('https://www.kartenlegen-sternenklar.de/wp-content/uploads/2019/06/Fotolia_178535131_M.jpg');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

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

.hero-hook {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  min-height: 1.8rem;
}

.hero-h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero-h1 span {
  display: block;
}

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

.hero-subtext {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  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.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

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

/* =============================================
   VERTRAUEN / SOCIAL PROOF BANNER
   ============================================= */
.trust-banner {
  background: rgba(50, 65, 160, 0.22);
  border-top: 1px solid rgba(100, 130, 210, 0.3);
  border-bottom: 1px solid rgba(100, 130, 210, 0.3);
  padding: 2rem 1.5rem;
  text-align: center;
}

.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.trust-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

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

/* =============================================
   BERATUNG MIT HERZ – ÜBER UNS
   ============================================= */
#ueber-uns {
  background: radial-gradient(ellipse at 50% 0%, rgba(61, 90, 168, 0.25), var(--bg) 70%);
}

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

#ueber-uns h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

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

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

/* =============================================
   TEAM
   ============================================= */
#team {
  background: radial-gradient(ellipse at 50% 50%, rgba(50, 75, 180, 0.2), var(--bg) 70%);
}

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

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

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

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

.team-card {
  padding: 2rem 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 90, 168, 0.5);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(32, 39, 132, 0.6), rgba(61, 90, 168, 0.3));
  border: 2px solid rgba(61, 90, 168, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue-light);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.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(61, 90, 168, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

.team-member img {
  border-radius: 5%;
  object-fit: cover;
  border: 2px solid rgba(61, 90, 168, 0.4);
  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;
  }
}

/* =============================================
   KUNDENLIEBE / BEWERTUNGEN
   ============================================= */
#kundenliebe {
  background: radial-gradient(ellipse at 50% 100%, rgba(61, 90, 168, 0.18), var(--bg) 70%);
}

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

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
  text-align: left;
}

.review-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 90, 168, 0.5);
}

.review-avatar {
  border-radius: 5%;
  border: 2px solid rgba(61, 90, 168, 0.4);
  margin-bottom: 1rem;
  max-width: 100%;
}

.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.review-author {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

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

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

/* =============================================
   QUOTE SECTION
   ============================================= */
.quote-section {
  position: relative;
  text-align: center;
  padding: 7rem 1.5rem;
  background:
    linear-gradient(rgba(6, 8, 46, 0.75), rgba(6, 8, 46, 0.75)),
    radial-gradient(ellipse at center, rgba(61, 90, 168, 0.5), transparent 70%);
}

.quote-section blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.quote-attribution {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 1rem;
}

/* =============================================
   KONTAKT
   ============================================= */
#kontakt .section-inner {
  text-align: center;
}

#kontakt h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

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

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.kontakt-form {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(61, 90, 168, 0.6);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(240, 237, 230, 0.3);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.kontakt-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.kontakt-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.kontakt-info p {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.kontakt-success-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

/* =============================================
   IMPRESSUM
   ============================================= */
#impressum {
  background: rgba(1, 2, 26, 0.5);
  border-top: 1px solid rgba(61, 90, 168, 0.2);
}

#impressum .section-inner {
  max-width: 800px;
}

#impressum h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

#impressum h3 {
  font-size: 1.2rem;
  color: var(--blue-light);
  margin: 1.5rem 0 0.5rem;
}

#impressum p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: rgba(1, 2, 26, 0.97);
  border-top: 1px solid rgba(61, 90, 168, 0.2);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #f6d389, #dbb155);
  -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;
  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(240, 237, 230, 0.35);
}