/* =========================================================
   Variablen
   ========================================================= */
:root{
  --bg:#f7f9fc;
  --fg:#0f172a;
  --muted:#475569;
  --brand:#3b82f6;
  --brand-dark:#2563eb;
  --accent:#10b981;
  --card:#ffffff;
  --line:#e5e7eb;
  --grad:linear-gradient(135deg,rgba(59,130,246,0.12),rgba(16,185,129,0.10));
  --radius:24px;
  --shadow:0 10px 30px rgba(15,23,42,0.06);
}

/* =========================================================
   Basis
   ========================================================= */
*{
  box-sizing:border-box;
}
html,
body{
  margin:0;
  padding:0;
}
body{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--fg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{
  text-decoration:none;
  color:var(--brand);
}
a:hover{
  text-decoration:underline;
}
.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:0 24px;
}

/* Typografie */
h1{
  font-size:clamp(30px,3.2vw,44px);
  margin:0 0 14px;
}
h2{
  font-size:clamp(24px,2.2vw,30px);
  margin:0 0 10px;
  font-weight:700;
}
h3{
  font-size:18px;
  margin:0 0 6px;
}
p{
  margin:0 0 8px;
}
p.muted{
  color:var(--muted);
}

/* Section-Abstände */
main.wrap{
  padding-top:32px;
  padding-bottom:60px;
}
section{
  margin-top:40px;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
header{
  background:transparent;
  border:none;
}
header.wrap{
  background:#ffffff;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  margin-top:16px;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 28px;
}

.brand img{
  display:block;
  height:auto;
  max-height:70px;
  max-width:220px;
}

/* Menü */
.menu{
  display:flex;
  gap:28px;
  font-size:18px;
  font-weight:500;
}
.menu a{
  color:#0f172a;
}
.menu a:hover{
  color:var(--brand-dark);
}

/* Burger-Input ausblenden (nicht genutzt) */
header input{
  display:none !important;
}
.burger{
  display:none;
}

/* =========================================================
   Box-Pattern (Karten / Kacheln)
   ========================================================= */
.panel,
.card,
.kachel{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.card{
  padding:20px 24px;
}
.kachel{
  padding:16px 20px;
}
#warum .card{
  padding:24px 28px;
}

/* =========================================================
   HERO
   ========================================================= */
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  background:#eef2ff;
  color:#3730a3;
  border-radius:999px;
  border:1px solid #c7d2fe;
  font-size:16px;
  font-weight:500;
  margin-bottom:16px;
}

.hero{
  margin-top:32px;
  padding:32px 40px;
  background:var(--grad);
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-main{
  max-width:680px;
}
.hero h1{
  line-height:1.15;
}
.hero p.muted{
  color:#4b5563;
  margin-top:8px;
  margin-bottom:22px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin-top:4px;
}

/* Claim auf großen Screens in einer Zeile */
@media (min-width:1024px){
  .hero h1{
    white-space:nowrap;
  }
}

/* Button */
.btn{
  background:var(--brand);
  color:#ffffff;
  padding:12px 20px;
  border-radius:16px;
  display:inline-block;
  font-size:17px;
  font-weight:500;
  box-shadow:0 8px 24px rgba(59,130,246,0.35);
  transition:0.15s ease;
}
.btn:hover{
  background:var(--brand-dark);
  transform:translateY(-1px);
}

/* =========================================================
   Layout-Raster
   ========================================================= */
.grid{
  display:grid;
  gap:16px;
}
.grid-2{
  grid-template-columns:repeat(2,1fr);
}
.grid-3{
  grid-template-columns:repeat(3,1fr);
}

/* Zwei-Spalten-Layout Über mich */
.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  margin-top:24px;
  align-items:start;
}
#ueber-mich .two-col > div:first-child{
  margin-top:18px;
}

/* =========================================================
   Profilkarte / Portrait
   ========================================================= */
.profile-card{
  text-align:center;
  padding:32px 28px;
  align-self:start;
}
.portrait{
  width:150px;
  height:150px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 18px;
  display:block;
  border:4px solid #fff;
  box-shadow:0 6px 24px rgba(0,0,0,0.12);
}
.profile-card .name{
  font-weight:700;
  font-size:20px;
  margin:4px 0 10px;
}
.profile-card .info{
  color:#475569;
  font-size:15px;
  line-height:1.5;
  margin-bottom:16px;
}
.profile-card .email{
  margin-top:10px;
  font-size:14px;
  word-break:break-all;
  overflow-wrap:anywhere;
}
.profile-card .email a{
  color:var(--brand-dark);
  font-weight:500;
}
.profile-card .email a:hover{
  color:var(--brand);
}

/* =========================================================
   Tabelle (Ablauf)
   ========================================================= */
#ablauf table{
  width:100%;
  border-collapse:collapse;
  margin-top:16px;
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
}
#ablauf th,
#ablauf td{
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  font-size:15px;
}
#ablauf th{
  background:#eff6ff;
  width:220px;
  font-weight:600;
  text-align:left;
}

/* =========================================================
   Formular / Kontakt
   ========================================================= */
input,
textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  font-family:inherit;
  font-size:16px;
}
#kontakt form.card{
  padding:24px 28px;
}
.checkbox-line{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  font-size:14px;
  color:var(--muted);
}
.checkbox-line input[type="checkbox"]{
  width:auto;
  margin-top:4px;
}

/* =========================================================
   FAQ
   ========================================================= */
#faq .kachel{
  padding:16px 22px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer{
  text-align:center;
  padding:40px 0;
  color:var(--muted);
  font-size:14px;
  border-top:1px solid var(--line);
  margin-top:40px;
}
.footer a{
  color:var(--muted);
}
.footer a:hover{
  color:var(--brand-dark);
}

/* =========================================================
   Responsive – bis 900px (Tablet / Handy quer)
   ========================================================= */
@media (max-width:900px){

  .wrap{
    padding:0 18px;
  }

  .two-col{
    grid-template-columns:1fr;
  }

  .grid-3{
    grid-template-columns:1fr;
  }

  .brand img{
    max-height:56px;
    max-width:200px;
  }

  .menu{
    gap:18px;
    font-size:16px;
  }

  .hero{
    padding:26px 24px;
  }
}

/* =========================================================
   Responsive – bis 600px (Handy hochkant)
   ========================================================= */
@media (max-width:600px){

  .wrap{
    padding:0 14px;
  }

  .nav{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:14px 18px;
  }

  .brand img{
    max-height:40px;
    max-width:160px;
  }

  .menu{
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    font-size:15px;
  }

  .hero{
    padding:20px 18px;
    margin-top:18px;
  }
  .hero-main{
    max-width:100%;
  }
  .chip{
    font-size:14px;
    padding:6px 12px;
  }
  .hero h1{
    font-size:22px;
    line-height:1.25;
    white-space:normal;
  }
  .hero p.muted{
    font-size:15px;
  }

  .two-col{
    grid-template-columns:1fr;
    gap:20px;
    margin-top:18px;
    align-items:start;
  }
  #ueber-mich .two-col > div:first-child{
    margin-top:0;
  }

  .profile-card{
    max-width:320px;
    margin:0 auto;
    padding:22px 20px;
  }
  .portrait{
    width:120px;
    height:120px;
    margin-bottom:12px;
    border-width:3px;
    box-shadow:0 6px 20px rgba(0,0,0,0.12);
  }
  .profile-card .name{
    font-size:18px;
  }
  .profile-card .info{
    font-size:14px;
  }

  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }

  #ablauf table{
    font-size:14px;
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }

  #kontakt form.card{
    padding:20px 18px;
  }

  .btn{
    font-size:16px;
    padding:11px 18px;
  }

  main.wrap{
    padding-top:24px;
    padding-bottom:48px;
  }
  section{
    margin-top:32px;
  }
}

/* =========================================================
   Spezielle Logo-Farben für "Warum meinbetreuer24?"
   ========================================================= */
#warum h2{
  color:#0f172a;              /* "Warum" + "?" */
}

#warum h2 .mein{
  color:#2563eb;              /* Logo-Blau */
}

#warum h2 .betreuer{
  color:#10b981;              /* Logo-Türkis/Grün, betreuer24 komplett */
}
/* ===================================================================
   HARTE FIX-REGEL FÜR HANDY – FARBE MUSS IMMER BLAU / TÜRKIS BLEIBEN
   ===================================================================*/
@media (max-width:900px){
  #warum h2{
    color:#0f172a !important; /* "Warum" + "?" */
  }
  #warum h2 .mein{
    color:#2563eb !important; /* Logo-Blau */
  }
  #warum h2 .betreuer{
    color:#10b981 !important; /* Logo-Türkis */
  }
}
/* Logo-Farben für Domain im Footer */
.footer .mein{
  color:#2563eb;   /* Logo-Blau */
}

.footer .betreuer{
  color:#10b981;   /* Logo-Türkis/Grün */
}
