/* style.css */

:root {
  --primary: #1f2a44;
  --accent: #00b4d8;
  --bg-light: #f0f4f8;
  --text: #1a1a1a;
}

* { box-sizing: border-box; margin:0; padding:0; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

header {
  position: sticky;
  top:0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.container { max-width:1200px; margin:0 auto; padding:0 1.5rem; }

.nav { display:flex; justify-content:space-between; align-items:center; height:72px; }
.nav a { margin-left:2rem; text-decoration:none; color: var(--primary); font-weight:500; }
.cta { background: var(--accent); color:#fff; padding:0.6rem 1.2rem; border-radius:6px; }

.hero {
  border-top: 4px solid #002147;   /* Dunkelblau IET Corporate Color */
  border-bottom: 4px solid #002147;
  padding: 20px 0;                 /* optional: Abstand oben/unten vergrößern */
  background: linear-gradient(135deg, #f0f4f8, #e0e8f0);
  padding:6rem 0;
  position:relative;
  overflow:hidden;
}

.hero::before {
  content:'';
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  background-image: linear-gradient(0deg, rgba(0,180,216,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,180,216,0.05) 1px, transparent 1px);
  background-size:40px 40px;
  pointer-events:none;
}

.hero-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:3rem;
}

.hero-logo {
  max-width:220px;
  height:auto;
  position:relative;
  z-index:1;
}

@media (max-width: 900px) {
  .hero-inner { flex-direction:column; text-align:center; }
  .hero-logo { margin-top:2rem; }
}

.hero h1 { font-size:2.8rem; color: var(--primary); max-width:700px; position:relative; z-index:1; }
.hero p { margin:1.5rem 0 2.5rem; max-width:600px; font-size:1.1rem; position:relative; z-index:1; }

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

section { padding:5rem 0; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:2rem; }
.card { background:#fff; padding:2rem; border-radius:12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.2s ease; }
.card:hover { transform: translateY(-5px); }
.highlight { background: var(--bg-light); }

footer { background: var(--primary); color:#fff; padding:3rem 0; }
footer a { color:#fff; text-decoration:none; margin-right:1.5rem; }

/* Texte im Hero-Bereich und Container linksbündig */
/*.hero h1,
.hero p,
*/
/* Überschreibt Zentrierungen in Container-Bereichen für Unterseiten */
/*.container h1,
.container h2,
.container h3,
.container p {
  text-align: left !important;
}*/

.container2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display:block; 
  text-align:left;
}

.container2-inner {
  display: flex;
  flex-direction: column; /* wie Hero: h1 und p untereinander */
  gap: 1.5rem;            /* Abstand zwischen Elementen */
  max-width: 700px;       /* wie Hero */
  margin-left: 0;          /* Text links im Wrapper */
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}


