/*
 Theme Name:   Astra Child
 Theme URI:    https://example.com
 Description:  Child Theme für Astra
 Author:       Linus Lehmann
 Author URI:   https://example.com
 Template:     astra
 Version:      1.0.1
*/

/* ===== Eigenes CSS ab hier ===== */

.heroRL {
  background: url('https://www.jgcl-regionwest.de/wp-content/uploads/2021/04/2017-RL-19-scaled.jpg') center/cover no-repeat; 
  height: 80vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius:10px;
  overflow: hidden;
}
.heroPool {
  background: url('https://www.jgcl-regionwest.de/wp-content/uploads/2021/03/IMG_2553-scaled.jpg') center/cover no-repeat; 
  height: calc(80vh - 36px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius:10px;
  overflow: hidden;
}
.heroIntra {
    position:relative;
    width:100%;
    height:60vh;
    min-height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
    background-image: url('https://www.jgcl-regionwest.de/wp-content/uploads/2021/03/UORC4151-scaled.jpg');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
}

.hero-overlay h1 {
  font-size: 80px;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 10px;
  color: rgb(255, 0, 0);
}
body {
  font-family: Roboto, sans-serif;
  margin: 0;
  color: #1a1a1a;
  line-height: 1.6;}

ul {
  padding-left: 20px;
}
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.two-col > div {
  flex: 1;
  min-width: 280px;
}
.two-col > div h2 {
  font-size: 1.5rem; /* Beispielgröße, nach Wunsch anpassen */
}
.three-col {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.three-col > div {
  flex: 1;
  min-width: 280px;
}
footer {
  color: white;
  padding: 20px;
  text-align: center;
}
table {
  border-collapse: collapse;
  margin-top: 10px;
}
table td {
  padding: 4px 8px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.aufgaben {
  display: flex;
  gap: 40px;
  padding: 6px 1%;
  align-items: center;
}
.aufgaben-text {
  flex: 1;
}
.card h1 {
  font-size: 50px;
  font-family: 'Oswald', sans-serif;
}
.aufgaben-text hr {
  width: 150px;
  border: 3px solid #f0871a;
  margin: 20px 0;
}
.aufgaben-image img {
  max-width: 100%;
  border-radius: 8px;
}
.team {
  text-align: center;
  padding: 3% 2%;
}
.team h2 {
  font-size: 50px;
  margin-bottom: 40px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.team-card {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.team-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.team-card h3 {
  margin: 15px 0 5px;
}
.team-card p {
  color: #666;
  margin-bottom: 15px;
}
.downloads{
  padding:40px 20px;
  display:flex;
  grid-template-columns: 1fr 1fr;
  gap:32px;
  max-width:var(--max-width);
  margin:0 auto;
  align-items:start;
  text-align: left;
}

.download-buttons{
  display:flex;
  flex-direction:column;
  gap:12px;

}

.btn {
  display: inline-flex;
  align-items: center;      /* vertikal mittig */
  gap: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  text-decoration: none;    /* ggf. überschreibt Theme-Underline */
  font-weight: 600;
  font-size: 18px;          /* stelle hier gewünschte Schriftgröße ein */
  line-height: 1;           /* wichtig: verhindert vertikale Verschiebung */
  background: #fff;
  color: var(--accent);
  border: 2px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  width: fit-content;
}

.btn svg {
  display: block;    /* <-- sehr wichtig: entfernt Inline-baseline-Effekte */
  width: 18px;       /* passende Icon-Größe */
  height: 18px;
  flex-shrink: 0;
  fill: var(--accent);
  align-self: center; /* zusätzlich sicherstellen */
}

.btn > span {
  display: inline-block; /* damit der Text ein eigener Flex-Block ist */
  line-height: 1;
  align-self: center;    /* nochmal zur Sicherheit */
}
.btn:hover {
  color: #b9156a; /* Textfarbe auf Blau ändern */
  border-color: #1E225A; /* Optional: Rahmenfarbe auch Blau */
}

.btn:hover svg {
  fill: #34386f; /* Icon ebenfalls Blau */
}

/* WaKO */

:root{
  --brand-dark: #233b4e;
  --accent: #F0871A;
  --deep: #1E225A;
  --max-content: 1100px;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: "Roboto", sans-serif;
  color:#111;
  line-height:1.6;
}
/* --- Sections --- */
.section{
  padding:80px 20px;
  max-width:var(--max-content);
  margin:0 auto;
}
.two-col{
  display:flex;
  grid-template-columns:1fr 1fr;
  gap:40px;
}
@media(max-width:900px){
  .two-col{grid-template-columns:1fr}
  .hero{min-height:52vh;background-attachment:scroll}
}
/* 
h2{
  font-family:"Oswald", sans-serif;
  font-size:clamp(28px,4.5vw,60px);
  margin:0 0 12px;
}
  */
.divider{
  width:100%;height:3px;background:var(--accent);
  margin:18px 0 28px;
}
p.lead{font-size:16px;line-height:1.9}
/* Accordion */
.accordion{border:1px solid #ddd;border-radius:6px;overflow:hidden}
.acc-item + .acc-item{border-top:1px solid #ddd}
.acc-head{
  padding:16px 18px;cursor:pointer;font-weight:600;
  display:flex;justify-content:space-between;align-items:center;
  background:#fafafa;
}
.acc-body{padding:14px 18px;display:none;background:#fff}
.acc-head.open .chev{transform:rotate(180deg)}
.chev{transition:transform .25s}

/* Divider */
.thin-divider{height:3px;background:var(--deep);margin:40px 0}

/* Cards */
.sub-two{
  display:grid;grid-template-columns:1fr 1fr;gap:30px;
}
@media(max-width:900px){.sub-two{grid-template-columns:1fr}}
.card{
  background:#fff;padding:18px;border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
}
.card ul{margin:12px 0 0;padding-left:18px}

.kontakt {
    color: black;
    text-align: left;
    padding: 60px 20px;
}
.kontakt a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}
.kontakt p {
    color: #050505 
}
img{
    width:100%;
    border-radius:10px;
    overflow:hidden;
    background:#eee;
    display:block; 
    width:100%; 
    height:auto;
}




