/* ===============================
   HIRSCH KAPITALANLAGEN
   High-End Modern System
================================= */
:root{
  --color-text: #1E1E1E;
  --color-bg: #FFFFFF;
  --color-light: #F7F7F5;
  --color-accent: #C6A75E;
  --color-dark: #1F2E3D;
  --container-width: 1100px;

  /* Spacing System (Institutional Rhythm) */
  --space-section: 120px;
  --space-section-m: 80px;

  --space-stack-lg: 40px;
  --space-stack-md: 24px;
  --space-stack-sm: 14px;

  --text-max: 760px;
}

/* ===============================
   RESET
================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  overflow-x: hidden;
}

body{
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{
  max-width: 100%;
  display: block;
}

a{
  text-decoration: none;
  color: inherit;
}

ul{
  padding-left: 1.2rem;
}

h1, h2, h3{
  font-weight: 500;
  margin-top: 0;
}

h1{
  font-size: 3rem;
  line-height: 1.15;
}

h2{
  font-size: 2rem;
}

h3{
  font-size: 1.25rem;
}

/* ===============================
   TYPE RHYTHM (Institutional)
================================= */
p{
  margin: 0 0 var(--space-stack-md);
  max-width: var(--text-max);
  font-size: 1.05rem;
  line-height: 1.75;
}

ul, ol{
  margin: 0 0 var(--space-stack-md);
  max-width: var(--text-max);
}

li{
  margin-bottom: 8px;
}

/* Headings – klare Rhythmik */
h1{
  margin: 0 0 var(--space-stack-md);
  letter-spacing: -0.4px;
}

h2{
  margin: 0 0 var(--space-stack-sm);
  letter-spacing: -0.2px;
}

h3{
  margin: 0 0 10px;
}

/* ===============================
   LAYOUT
================================= */
.container{
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ===============================
   GLOBAL SECTION SPACING SYSTEM
================================= */
.section{
  padding: 140px 0;
}

.section-light{
  background: var(--color-light);
}

.small{
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===============================
   HEADER
================================= */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: var(--color-bg);
  border-bottom: 1px solid #eee;

  height: 88px;

  /* High-end Dynamik */
  transition: box-shadow 220ms ease, backdrop-filter 220ms ease, background 220ms ease, height 220ms ease;
}

main{
  padding-top: 88px;
}

.header-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  padding: 0;
  overflow: visible;
}

.brand{
  display: flex;
  align-items: center;
  height: 88px;
}

.brand-logo{
  height: 160px;
  width: auto;
  display: block;
  position: relative;
  top: 4px;
}

.site-nav{
  display: flex;
  gap: 30px;
  align-items: center;
  height: 88px;
}

.site-nav a{
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.site-nav a:hover{
  opacity: 1;
}

.nav-cta{
  padding: 10px 18px;
  background: var(--color-dark);
  color: #fff;
  border-radius: 4px;
}

/* Header – Scroll State */
.site-header.is-scrolled{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.site-header.is-scrolled .header-inner{
  height: 76px;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav{
  height: 76px;
}

.site-header.is-scrolled .brand-logo{
  height: 130px;
  top: 0;
}

/* ===============================
   HERO
================================= */
.hero{
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-sub{
  font-size: 1.2rem;
  margin: var(--space-stack-sm) 0 var(--space-stack-lg);
  opacity: 0.85;
}

.hero-content p{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: var(--space-stack-md);
}

.micro-trust{
  margin-top: var(--space-stack-md);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===============================
   BUTTONS
================================= */
.btn{
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: opacity 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary{
  background: var(--color-dark);
  color: #fff;
}

.btn-primary:hover{
  opacity: 0.9;
}

.btn-secondary{
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}

.btn-secondary:hover{
  background: var(--color-dark);
  color: #fff;
}

/* ===============================
   LISTS
================================= */
.list li{
  margin-bottom: 8px;
}

/* ===============================
   PROCESS GRID
================================= */
.process-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-stack-lg);
  margin-top: var(--space-stack-lg);
}

.process-item{
  padding: var(--space-stack-sm) 0;
}

/* ===============================
   FORM
================================= */
.form{
  max-width: 600px;
  margin-top: var(--space-stack-lg);
}

.form-group{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

input,
select{
  padding: 12px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  border-radius: 4px;
  background: #fff;
}

input:focus,
select:focus{
  outline: none;
  border-color: var(--color-accent);
}

.checkbox-group{
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.honeypot{
  position: absolute;
  left: -9999px;
}

/* ===============================
   FOOTER (Institutional, 10/10)
================================= */
.site-footer{
  padding: 10px 0;
  margin-top: 0;
  background: #F1F1EE;
  border-top: 1px solid rgba(31, 46, 61, 0.10);
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-brand{
  margin: 0;
  padding: 0;
  line-height: 0;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.footer-logo{
  height: 152px;
  width: auto;
  display: block;
}

.footer-links{
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links a{
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}

.footer-links a:hover{
  opacity: 1;
}

.footer-dot{
  color: var(--color-accent);
  font-size: 1.05rem;
  line-height: 1;
  opacity: 1;
  margin: 0 10px;
  position: relative;
  top: -1px;
}

.footer-meta{
  font-size: 0.75rem;
  opacity: 0.72;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Accessibility – Skip Link unsichtbar */
.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===============================
   IMAGE BREAKS
================================= */
.image-break{
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-break.large{
  height: 520px;
}

/* HERO – FULL VIEWPORT (matches: <div class="image-break hero">) */
body.home .image-break.hero{
  height: 88vh;
  min-height: 520px;
}

/* ===============================
   IMAGE POSITION LOCK
   (ohne HTML-Anpassung)
================================= */
.image-break[style*="hirsch-hero-residential-dusk.jpg"]{
  background-position: 50% 55%;
}

.image-break[style*="hirsch-business-district-glass.jpg"]{
  background-position: 50% 50%;
}

.image-break[style*="hirsch-concrete-wall-minimal.jpg"]{
  background-position: 50% 50%;
}

.image-break[style*="hirsch-structure-stairs.jpg"]{
  background-position: 55% 45%;
}

.image-break[style*="hirsch-advisory-meeting.jpg"]{
  background-position: 50% 45%;
}

.image-break[style*="hirsch-investment-apartment.jpg"]{
  background-position: 50% 50%;
}

/* FINAL nach Screenshot: Treppe innen etwas tiefer */
.image-break[style*="hirsch-interior-concrete-stairs.jpg"]{
  background-position: 55% 42%;
}

/* FINAL nach Screenshot: Mannheim mehr Stadt, weniger Himmel */
.image-break[style*="hirsch-mannheim-aerial-dusk.jpg"]{
  background-position: 50% 66%;
}

/* ===============================
   THANK YOU (danke.html)
================================= */
.thankyou-logo{
  margin-top: 80px;
  text-align: center;
  opacity: 0.15;
}

.thankyou-logo img{
  max-width: 220px;
}

/* ===============================
   HIGH-END DYNAMIK (Subtil)
================================= */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 240ms ease, transform 240ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===============================
   BACK TO TOP (Premium: only on scroll)
================================= */
.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;

  z-index: 999;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover{
  background: rgba(0,0,0,0.72);
}

@media (prefers-reduced-motion: reduce){
  .back-to-top{
    transition: none;
  }
}

/* ===============================
   FIT LIST (Für wen)
================================= */
.fit-list{
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  max-width: var(--text-max);
}

.fit-list li{
  padding: 16px 0;
  border-bottom: 1px solid rgba(31,46,61,0.10);
}

.fit-list li strong{
  font-weight: 600;
}

/* ===============================
   FÜR WEN – 10/10 PREMIUM FINISH
================================= */
#fuer-wen{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 18% 8%, rgba(198,167,94,0.16), rgba(198,167,94,0.00) 62%),
    linear-gradient(180deg, #F7F7F5 0%, #FFFFFF 100%);
}

#fuer-wen::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(31,46,61,0.10), rgba(31,46,61,0.00) 58%),
    radial-gradient(700px 380px at 22% 76%, rgba(255,255,255,0.75), rgba(255,255,255,0.00) 62%);
  opacity: 0.55;
}

#fuer-wen .container{
  position: relative;
  z-index: 1;
}

#fuer-wen .kicker{
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31,46,61,0.78);
}

#fuer-wen h2{
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: -0.6px;
  margin: 0 0 18px;
  max-width: 18ch;
}

#fuer-wen h2 .accent{
  color: var(--color-accent);
}

#fuer-wen .lead,
#fuer-wen h2 + p{
  margin: 0 0 26px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(30,30,30,0.88);
  max-width: 62ch;
}

#fuer-wen .fit-list{
  margin: 10px 0 0;
  padding: 0;
  max-width: 72ch;
}

#fuer-wen .fit-list li:first-child{
  border-top: 1px solid rgba(31,46,61,0.10);
}

#fuer-wen .fit-list li{
  position: relative;
  padding: 16px 0 16px 18px;
  border-bottom: 1px solid rgba(31,46,61,0.10);
  transition: transform 160ms ease, background 160ms ease;
}

#fuer-wen .fit-list li:hover{
  background: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}

#fuer-wen .fit-list li strong{
  font-weight: 600;
  color: rgba(31,46,61,0.92);
}

#fuer-wen .fit-list li::before{
  content:"";
  position:absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 1px;
  background: rgba(198,167,94,0.75);
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1024px){
  :root{
    --container-width: 980px;
    --space-section: 96px;
  }

  h1{ font-size: 2.6rem; }
  h2{ font-size: 1.85rem; }
}

@media (max-width: 768px){
  :root{
    --space-section: var(--space-section-m);
  }

  .site-header{
    height: 76px;
  }

  main{
    padding-top: 76px;
  }

  h1{
    font-size: 2.1rem;
    line-height: 1.15;
  }

  h2{
    font-size: 1.55rem;
  }

  p{
    font-size: 1rem;
  }

  .process-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .header-inner,
  .brand,
  .site-nav{
    height: 76px;
  }

  .brand-logo{
    height: 120px;
    top: 0;
  }

  .site-nav{
    gap: 18px;
  }

  /* Für wen mobile */
  #fuer-wen h2{
    font-size: 1.75rem;
    max-width: 22ch;
    letter-spacing: -0.4px;
  }

  #fuer-wen .lead,
  #fuer-wen h2 + p{
    font-size: 1.02rem;
  }

  #fuer-wen .fit-list li{
    padding: 14px 0 14px 16px;
  }

  #fuer-wen .fit-list li::before{
    top: 17px;
    width: 9px;
  }

  /* Image-break heights mobile: stabil */
  .image-break{
    height: 380px;
  }

  body.home .image-break.hero{
    height: 78vh;
    min-height: 460px;
  }
}

@media (min-width: 1400px){
  :root{
    --container-width: 1200px;
  }
}

/* ===============================
   FAQ – Final Premium Finish
================================= */

.section h1{
  font-weight: 500;
  letter-spacing: -0.5px;
}

.faq-item{
  border-bottom: 1px solid rgba(31,46,61,0.08);
  padding: 32px 0;
}

.faq-question{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.faq-question:hover{
  opacity: 0.7;
}

.faq-question span{
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-answer{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  margin-top: 0;
}

.faq-item.active .faq-answer{
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 20px;
}

.faq-item.active .faq-question span{
  transform: rotate(45deg);
}