/* styles.css */
:root{
  --bg: #f6f5f2;
  --card: #ffffff;
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --line: rgba(0,0,0,.08);
  --accent: #7a1e2c; /* bordeaux, seriös */
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: "avenir", "Avenir", "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight:400; /* Regular */
	color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

.wrap{
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
}

.hero{
  padding: 46px 0 28px;
  background: linear-gradient(
    to bottom,
    #f6f3ef 0%,
    #f1ede7 70%,
    #e7e2d9 100%
  );
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.heroInner{
  padding: 0 20px; /* genau wie .card */
}

@media (min-width: 900px){
  .hero{ padding: 52px 0 32px; }
}

.kicker{
  margin:0 0 6px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  font-size:.85rem;
	font-weight:550;
}

h1{
  font-weight:700;
  letter-spacing:-0.015em;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin:0 0 8px;
}

.sub{
  font-weight:400;
  margin:0;
  max-width: 70ch;
  font-size: 0.95rem;
  color: rgba(0,0,0,.65);
  color:var(--muted);
}

.card{
  margin:22px 0;
  padding:20px;
  background:var(--card);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.card.small{padding:16px}

h2{
  margin:0 0 14px;
  font-size:1.2rem;
	font-weight:550;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:12px;
}

.btn{
  display:block;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid rgba(122,30,44,.4);
  background: linear-gradient(180deg, rgba(122,30,44,.10), rgba(122,30,44,.04));
  text-decoration:none;
  transition: all .15s ease;
}

.btnTitle{
  display:block;
  font-weight:400;   /* Regular */
  font-size:1rem;
  color:var(--text);
}

.btnAction{
  display:block;
  margin-top:4px;
  font-weight:550;   /* dein Sweet Spot */
  color:var(--accent);
}

.btn:hover{
    border-color: rgba(122,30,44,.55);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
}

.btn:hover .btnAction{
  color:#5f1722; /* etwas dunkleres Bordeaux */
}

.btn,
.btn:hover,
.btn:focus,
.btn:active{
  text-decoration: none;
}

.list{
  list-style:none;
  margin:0;
  padding:0;
}

.list li{
  margin:10px 0;
}

.list li a{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(122,30,44,.14);
  background: linear-gradient(180deg, rgba(122,30,44,.03), rgba(122,30,44,.015));
  color:var(--text);
  text-decoration:none;
  transition: all .15s ease;
}

.list li a:hover{
  text-decoration:none;
  border-color: rgba(122,30,44,.3);
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transform: translateY(-1px);
}

a{color:var(--accent)}

.hint{
  margin:14px 0 0;
  color:var(--muted);
  font-size:.95rem;
}

.footer{
  margin-top:30px;
  padding:20px 0;
  border-top:1px solid var(--line);
}

.footerInner{
  display:flex;
  gap:14px;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.95rem;
}

.footerNav a{
  margin-left:12px;
  text-decoration:none;
}
.footerNav a:hover{text-decoration:underline}

/* =========================
   Prose-Typografie für Rechtstexte (NUR Impressum/Datenschutz)
   ========================= */

.legal main.wrap{
  max-width: 980px; /* behält dein Standard-Layout */
}

/* Nur auf Legal-Seiten: Cards als Lesespalte */
.legal .card{
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Überschriften in Textseiten */
.legal .card h2{
  margin-top: 0;
  margin-bottom: 0.6em;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Absätze */
.legal .card p{
  margin: 0 0 1.1em 0;
}

/* Letzter Absatz ohne Extra-Abstand */
.legal .card p:last-child{
  margin-bottom: 0;
}

/* Listen (falls später ergänzt) */
.legal .card ul,
.legal .card ol{
  margin: 0 0 1.2em 1.2em;
  padding: 0;
}

.legal .card li{
  margin-bottom: 0.4em;
}

/* Links in Rechtstexten etwas dezenter */
.legal .card a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal .card a:hover{
  text-decoration-thickness: 2px;
}

/* Kleinere Sektionen */
.legal .card.small{
  font-size: 0.95rem;
}

/* Mobil: etwas dichter */
@media (max-width: 600px){
  .legal .card{
    line-height: 1.6;
  }
}

/* =========================
   Gezielter Umbruch für Zusatzinfo (z.B. Biomedizin)
   ========================= */

.breakMobile{
  display:inline;
}

@media (max-width:600px){
  .breakMobile{
    display:block;
    margin-top:2px;
  }
}

/* =========================
   Zusatzinfo (z.B. Studienrichtung)
   ========================= */

.mobileDetail{
  display:inline;
}

.mobileDetail::before{
  content:" · ";
}

@media (max-width:600px){

  .mobileDetail{
    display:block;
    margin-top:2px;
  }

  .mobileDetail::before{
    content:"";
  }

}
/* =========================
   Footer auf kleinen Displays
   ========================= */

@media (max-width: 600px){

  .footerInner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footerNav{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .footerNav a{
    margin-left: 0;
  }

}
/* =========================
   Kontaktzeile responsive
   ========================= */

.contactSep{
  white-space:nowrap;
}

@media (max-width:600px){

  .contactLine{
    display:flex;
    flex-direction:column;
    gap:4px;
  }

  .contactSep{
    display:none;
  }

}