/* ---------- Farb- & Typografie-Variablen ---------- */
:root {
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Segoe UI", Roboto, sans-serif;

  --color-bg: #ffffff;
  --color-text: #000;
  --color-brand:  rgb(41, 22, 39);
  --color-accent: #e5005b;
  --color-muted: #f5f5f5;
  --color-border: #ddd;

  --color-table-red: #ff5c5c;
  --color-table-yellow: #ffe066;
  --color-table-green: #7acc52;

  --max-width: 800px;
  --spacing: 1.5rem;
}

/* ---------- Global Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* ---------- Container ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing) 0;
}

/* ---------- Header ---------- */
header {
  background-color: var(--color-text);
  color: #fff;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ---------- Navigation ---------- */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--color-bg);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--color-accent);
}

/* ---------- Sections ---------- */
.section {
  padding: 3rem 0;
}

.section h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.section p {
  max-width: 700px;
}

/* ---------- Buttons ---------- */

button {
  background-color: rgb(80, 40, 80);
  border: none;
  padding: .5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
}

button:hover {
  background-color: rgb(160, 80, 160);
}

button a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

button a:hover {}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-brand);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.hero h2 {
  margin-bottom: 1rem;
}

.hero .container img {
  max-height: 10rem;
}

/* ---------- Products ---------- */

section .container .products-container {
    padding: 0;  
    display: block;
    overflow: hidden;
}

section .container .products-container .products-item {
  width: 50%;
  float: left;
  padding: 1rem;
  text-align: center;
  transition: background-color .25s;
}

section .container .products-container .products-item a {
  color: var(--color-text);
  text-decoration: none;
}

section .container .products-container .products-item:hover {
  background-color: var(--color-border);
}

section .container .products-container .products-item img {
  max-width: 100%;
}

/* ---------- Generation B ---------- */

section#generation-b {
  background-color: var(--color-brand);
  color: #fff;
  position: relative;
}

section#generation-b .container {
  position: relative;
}

section .float-container {
  padding: 0;
  display: block;
  overflow: hidden;
}

section .float-container .float-child {
  float: left;
  padding: 1rem;
}

section .float-container .float-child:first-child {
  width: 40%;
}

section .float-container .float-child:last-child {
  width: 60%;
}

section .float-container .float-child img {
  max-width: 100%;
}

section .float-container .float-child img#genb-img-mobile {
  display: none;
}

section#generation-b a {
  color: #e5005b;
}
    

/* ---------- Presse ---------- */

section#info {
  background-color: rgb(224,224,224);
}

/* ---------- Tabelle ---------- */

table {
  table-layout: fixed;
  margin: 0 auto;
  border-collapse: collapse;
}

th, td {padding: 0.6em; text-align: left; border: 1px solid #ccc;}

thead tr th {background-color: #ccc;}

tbody tr th {background-color: #fff;}

/* ---------- Hier findet ihr uns ---------- */

section#socials .socials {
  text-align: center;

}

section#socials .socials .socials-item {
	display: inline-block;
}

section#socials .socials .socials-item a {
	border-radius: 0.75rem;
	display: inline-block;
	margin: .5rem;
	padding: 1rem 3rem;
}

section#socials .socials .socials-item a:hover {
	opacity: 0.8
}

section#socials .socials .socials-item a img {
	height: 2.5rem;
}

/*---------- Social Media Brand Colors ----------*/

section#socials .socials .socials-item#spotify a {
	background-color: rgb(30,215,96);
}

section#socials .socials .socials-item#youtube a {
	background-color: rgb(255,0,0);
}
section#socials .socials .socials-item#tiktok a {
	background: linear-gradient(90deg,rgba(37, 244, 238, .25) 0%,  rgba(254, 44, 85, .25) 100%);
}
section#socials .socials .socials-item#instagram a {
	background: linear-gradient(80deg,rgba(131, 58, 180, 1) 10%, rgba(253, 29, 29, 1) 50%, rgba(252, 175, 69, 1) 90%);
}
section#socials .socials .socials-item#facebook a {
	background-color: rgb(24,119,242);
}
section#socials .socials .socials-item#x a {
	background-color: rgb(0,0,0);
}


/* ---------- Kontaktformular ---------- */

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.3rem;
  font: inherit;
}

.contact-form button {
  padding: 0.75rem 1rem;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover,
.contact-form button:focus {
  background-color: #a81217;
}

/* ---------- Impressum ---------- */

.impressum {
  padding: 2rem 0;
  font-size: 0.875rem;
}

.impressum address {
  font-style: normal;
  margin-bottom: 1rem;
}

.impressum a {
  color: #f39200;
}

.impressum a:hover {
  color: var(--color-accent);
}

.copyright {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

footer {
  background-color: var(--color-text);
  color: #FFF;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer nav ul {
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---------- Skip-Link (Barrierefreiheit) ---------- */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Typography ---------- */

h1, h2 , h3, h4 {
  text-transform: uppercase;
  margin-bottom: 2rem;
}

h1 {font-size: 4rem;}
h2 {font-size: 3rem;}
h3 {font-size: 2rem;}
h4 {font-size: 1.5rem; margin-top: 2rem;}

p {margin: 1rem 0;}

section .container ul {
  margin-left: 2rem;
}

/* ---------- Responsive Anpassungen ---------- */

@media (max-width: 700px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .section {
    padding: 2rem 0;
  }
}

@media (max-width: 500px) {
    section .float-container {
    padding: 0;
    display: block;
    overflow: hidden;
  }

  section .float-container .float-child {
    float: none;
    padding: 1rem;
  }

  section .float-container .float-child:first-child {
    width: 100%;
  }

  section .float-container .float-child:last-child {
    width: 100%;
  }

  section .container .products-container .products-item {
  width: 100%;
  float: none;
}

section .float-container .float-child img#genb-img-desktop {
  display: none;
}

section .float-container .float-child img#genb-img-mobile {
  display: block;
}
  

}