/* ------------------------------
   Grundlayout & Typografie
------------------------------ */

:root {
  --bg: #f7f8fa;
  --text: #2b2b2b;
  --accent: #2a7f9e;
  --accent-dark: #1f6f8b;
  --card-bg: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}


@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}



  /* ------------------------------
     Header
------------------------------ */

.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  width: 160px;
  height: auto;
  display: block;
}

.praxis-title h1 {
  font-size: 1.8rem;
  margin: 0;
  text-align: center;
}

.praxis-title p {
  font-size: 1.1rem;
  margin: 4px 0 0;
  color: #555;
  text-align: center;
}

.search {
  display: flex;
  gap: 6px;
}

.search input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.search button {
  padding: 6px 10px;
  border: none;
  background: var(--accent);
  color: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.search button:hover {
  background: var(--accent-dark);
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .search {
    width: 100%;
    justify-content: center;
  }

  .search input {
    width: 70%;
  }

  .logo img {
    width: 140px;
  }
}

  
/* NEU */

.hero {
  position: relative;
  width: 100%;
  height: 300px; /* dein schmaler Streifen */
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text im Bild platzieren */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: black;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);

  opacity: 0;
  animation: fadeInText 1.8s ease-out forwards;
  animation-delay: 0.4s;
}

/* Größerer, ruhiger Text */ 
.hero-inner h2 { 
  font-size: 2.4rem; /* deutlich größer */ 
  font-weight: 600; 
  margin: 0 0 0.3em 0; 
}

/* Sanftes Einfaden */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translate(-50%, -45%); /* minimal höher für subtilen Effekt */
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
  
  /* ------------------------------
     Cards / Navigation
  ------------------------------ */
  
  /* Destop-Basis */
  .nav-cards {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  
  .card {
    background: var(--card-bg);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  }
  
  .card a {
    text-decoration: none;
    color: var(--text);
  }
  
  .card h3 {
    font-size: 1rem;
    margin-top: 10px;
  }
  
  .icon {
    width: 42px;
    height: 42px;
    opacity: 0.85;
  }
  
/* Smartphones */

@media (max-width: 500px) {
  .nav-cards {
    grid-template-columns: 1fr;
    padding: 20px 20px 40px;
    gap: 1.2rem;
  }

  .card {
    padding: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  }
}


/*Tablets */

@media (min-width: 500px) and (max-width: 899px) {
  .nav-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kleine Laptops */

@media (min-width: 900px) and (max-width: 1199px) {
  .nav-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------
    Suchen 
---------------------------------*/
  .search-result {
    background: #fff;
    padding: 16px;
    margin: 16px 0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.search-result h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.search-result a {
    text-decoration: none;
    color: var(--accent);
}

.search-result a:hover {
    text-decoration: underline;
}

mark {
    background: #ffe08a;
    padding: 2px 4px;
    border-radius: 4px;
}
 
