* {
	padding: 0;
	margin: 0;
}

h1 {
	padding: 0.7em;
	font-size: 2em;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
	padding-top: 2em;
  	color: #D2951B;			
}

h2 {
	padding: 0.7em 0.3em 0.3em 0.3em;
	font-size: 1.5em;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

h3 {
	padding: 0.7em 0.3em 0.3em 0.3em;
	font-size: 1.2em;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

a {
	text-decoration: none;
	color: rgb(0, 0, 0);
}

p {
	padding: 1em 0em 1em 0em;
	font-size: 1.2em;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}
nav {
	text-align: center;
	padding-top: 0em;
	padding-bottom: 0em;
	border-bottom: 0.15em solid #D2951B;
  	background-color: #e9c14d;
	padding-left: 0;
}

nav ul, nav ol {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
}

nav li {
	list-style: none;
	display: inline-block;
	width: auto;
	font-size: 1.3em;
	padding: 0.4em 1em;
	margin: 0 0.5em;
	text-align: center;
	border: 0.2em solid transparent;
	transition: background-color 0.5s;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

nav li:hover {	background-color: #C89D19C4;
	}		
					
				nav a:link {	text-decoration: none;
					}	

				nav a {		color: black;
							border-top: 0.2em solid transparent;
							border-bottom: 0.2em solid transparent;
							display: block;
					}
					
 
	/*Menü*/

.menu {
	margin-top: 0em;
}

	/*Body*/
	
.main {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	background-color: #ffffff;
	padding: 0em 1em 0em 1em;
	display: block;
}

.ueberschrift1, .ueberschrift2 {
	justify-content: center;
	display: flex;
	text-align: center;
}

.inhalt {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding-bottom: 1em;
}

.absatz {
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5em;
	padding-bottom: 1.3em;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.paragraph {
	padding-right: 1.5em;
	margin-left: 1em;
	border-bottom: 2px solid #D7D7D7;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.picture, .bild_left, .bild_right, .bild_unten {
	display: block;
	margin: 0.5em auto;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/*Footer*/
	
.footer {
	border-top: 0.3em solid #D2951B;
	background-color: #e9c14d;
	text-align: center;
}

.footer ul {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
}

.footer li {
	display: inline-block;
	text-align: center;
	padding: 0em 2em;
	background-color: #e9c14d;	
}
	
/*.left {
	float: left;
}*/

@media only screen and ( min-width: 610px ) {

	.bild_left {
		padding: 6em 3em 7em 3em;
		float: left;
		width: 40%;
	}

	.bild_right {
		padding: 6em 3em 7em 3em;
		float: right;
		width: 40%;
	}

	.bild_unten {
		padding: 3em 2em 3em 1em;
		width: 40%;
	}

}


@media only screen and ( min-width: 850px ) and ( max-width: 1250px ) {
	
	.footer {
		font-size: 0.7em;
	}	

	.banner {
		margin-top: 2.5em;
	}

	.ueberschrift2 {
		margin-right: 20em;
	}

}

@media only screen and ( min-width: 440px ) and ( max-width: 850px ){	

	.banner {
		margin-top: 2em;
	}

	.ueberschrift2 {
		margin-right: 10em;
	}

	p {
		padding: 0.5em 0em 0.5em 1em;
	}

	.footer {
		font-size: 0.7em;
	}	

}

@media only screen and ( max-width: 610px ) {
	
	nav li {
		display: block;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}

	h1 {
		font-size: 1.5em;
	}

	h2 {
		font-size: 1.2em;
	}
	
	h3 {
		font-size: 1.2em;
	}

	p {
		font-size: 0.9em;
		padding: 0.5em 0em 0.5em 1em;
	}

	.picture {
		width: 90%;
	}

	.ueberschrift2 {
		margin-right: 3em;
	}

	.footer li {
		font-size: 1em;
		display: block;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}	

	.right {
		clear: both;
	}

	.left {
		clear: both;
	} 

	.bild_left, .bild_right, .bild_unten {
	float: none;
	width:	100%;
	margin: 0 auto;		
	padding: 0em 0em 0em 0em !Important;
	}
}	
	
	
@media only screen and ( max-width: 440px ) {

	.banner {
		margin-top: 1.3em;
	}
		
	.header img {
		border: 5px solid #e9c14d;
	}

	.picture {
		width: 100%;
	}

	.footer li {
		font-size: 0.7em;
	}	
	
	.bild_left, .bild_right, .bild_unten {
		float: none;
		width:	100%;
		margin: 0 auto;		
		padding: 0em 0em 0em 0em !Important;
	}
	
}
	
/* Hervorhebung aktuelle Seite */

#rollladen #navi01 {
		background-color: #C89D19C4;
		padding: 0.25em;
		border-radius: 12px;
}

#rollladen_kaufen #navi02 {
		background-color: #C89D19C4;
		padding: 0.25em;
		border-radius: 12px;
}

#rollladen_reparieren #navi03 {
		background-color: #C89D19C4;
		padding: 0.25em;
		border-radius: 12px;
}

#raffstoffe #navi04 {
		background-color: #C89D19C4;
		padding: 0.25em;
		border-radius: 12px;
}

/* Impressum Styles */
.impressum-content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2em;
}
.impressum-text {
	color: rgb(0, 0, 0);
	font-size: 1.1em;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto,
               	'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}
.impressum-img {
	max-width: 300px;
	width: 100%;
	border-radius: 8px;
	border: 2px solid #e9c14d;
	margin: 0 auto;
	display: block;
}
@media only screen and (max-width: 850px) {
	.impressum-content {
		flex-direction: column;
		align-items: center;
	}
	.impressum-img {
		margin-bottom: 1em;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Bild- und Absatz-Optimierung für Übersichtlichkeit */
.absatz {
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5em;
	padding-bottom: 1.3em;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.paragraph {
	padding-right: 1.5em;
	border-bottom: 2px solid #D7D7D7;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.picture, .bild_left, .bild_right, .bild_unten {
	display: block;
	margin: 0.5em auto;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Responsive Anpassungen für Text und Bilder */
@media only screen and (max-width: 850px) {
	.absatz, .paragraph {
		padding: 0.5em;
	}
	.picture, .bild_left, .bild_right, .bild_unten {
		max-width: 100%;
	}
}

/* Hamburger Styles */
.hamburger {
	display: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 1201; /* über mobile-nav */
	background: rgba(0,0,0,0.08);
	border-radius: 50%;
	border: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hamburger span,
.hamburger span:before,
.hamburger span:after {
	display: block;
	position: absolute;
	height: 4px;
	width: 28px;
	background: #333;
	border-radius: 2px;
	transition: 0.3s;
}
.hamburger span {
	top: 20px;
	left: 8px;
}
.hamburger span:before {
	content: '';
	position: absolute;
	top: -10px;
	left: 0;
	width: 28px;
	height: 4px;
	background: #333;
	border-radius: 2px;
}
.hamburger span:after {
	content: '';
	position: absolute;
	top: 10px;
	left: 0;
	width: 28px;
	height: 4px;
	background: #333;
	border-radius: 2px;
}

/* Mobile Navigation Overlay */
nav.mobile-nav {
	display: block;
	position: static;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(233,193,77,0.98);
	z-index: 1100;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
nav.mobile-nav.open {
	display: flex !important;
}
nav.mobile-nav ol {
	flex-direction: column;
	width: 100%;
}
nav.mobile-nav li {
	width: 100vw;
	text-align: center;
	padding: 1em 0;
	font-size: 1.5em;
	border-bottom: 1px solid #D2951B;
	margin: 0;
}
nav.mobile-nav li:last-child {
	border-bottom: none;
}

/* Close Button */
.close-nav {
	position: fixed;
	top: 22px;
	right: 22px;
	background: rgba(0,0,0,0.08);
	border: none;
	font-size: 2.5em;
	color: #333;
	cursor: pointer;
	z-index: 1202;
	line-height: 1;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
}

/* Hamburger immer sichtbar auf Mobile */
@media only screen and (max-width: 850px) {
	nav.desktop-nav {
		display: none !important;
	}
	.hamburger {
		display: block;
	}
	.menu {
		margin-top: 0;
	}
	nav.mobile-nav {
		padding-top: 0px; /* Abstand oben für Hamburger */
	}
}

/* Header optimiert für Mobile */
@media only screen and (max-width: 850px) {
	.header img {
		width: 90%;
		border-width: 5px;
		margin-top: 0.5em;
	}
	.header {
		border-top-width: 0.3em;
	}
}

/* Bilder optimieren */
img, .picture, .bild_left, .bild_right, .bild_unten {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
	margin: 0.5em auto;
}

/* NAV – Finale Overrides */
/* #mobile-nav { display: none; } */
#mobile-nav.open { display: flex; }   /* oder block – je nach Layout */

#hamburger-menu { display: none !important; }        /* Desktop: verstecken */
@media (max-width: 850px){ #hamburger-menu { display: block !important; } } /* Mobile: zeigen */

/* === Desktop: mobile-nav als normale Leiste anzeigen === */
@media (min-width: 851px){
  /* Hamburger ausblenden */
  #hamburger-menu { display: none !important; }

  /* Overlay in Leiste verwandeln */
  nav.mobile-nav{
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100%;
    height: auto;
    background: #e9c14d;  /* passt zu deiner Leistenfarbe */
    box-shadow: none;
    padding: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    /* Optional: wenn deine allgemeine nav-Regel Rahmen setzt und du sie NICHT willst */
    /* border: 0; */
  }

  nav.mobile-nav ol{
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  nav.mobile-nav li{
    width: auto;
    border: 0;
    margin: 0 0.5em;
    padding: 0.4em 1em;
    font-size: 1.3em;
  }

  .close-nav{ display: none !important; }
}

/* === Mobile: Start zu === */
#mobile-nav { display: none; }
#mobile-nav.open { display: flex; }

/* 1) Sauberer Reset (deine erste Regel ist aktuell ungültig) */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* 2) Verhindere horizontales Scrollen als Safety-Net */
html, body { overflow-x: hidden; }

/* 3) 100vw vermeiden -> auf 100% bzw. left/right spannen */
nav.mobile-nav {
  width: 100% !important;     /* statt 100vw */
  left: 0; right: 0;          /* spannt voll ohne Overflow */
}

/* Wenn offen bleibt’s Flex/Block – passt */
nav.mobile-nav.open { display: flex !important; }

/* 4) (Optional) Header-Bilder inkl. Rahmen ohne Overflow */
.header img { width: 100%; max-width: 100%; box-sizing: border-box; }





/* === Bilder-Verhältnis optimieren: Desktop größer (Bleed), Mobile kleiner === */

/* Floats/Padding der alten Bildklassen neutralisieren */
.inhalt .absatz .paragraph .bild_left,
.inhalt .absatz .paragraph .bild_right,
.inhalt .absatz .paragraph .bild_unten,
.inhalt .absatz .paragraph .picture {
  float: none !important;
  padding: 0 !important;
}

/* DESKTOP: Bilder etwas breiter als die Textspalte (sauberer „Bleed“) */
@media (min-width: 851px){
  .inhalt .absatz .paragraph img,
  .inhalt .absatz .paragraph .picture,
  .inhalt .absatz .paragraph .bild_left,
  .inhalt .absatz .paragraph .bild_right,
  .inhalt .absatz .paragraph .bild_unten {
    display: block;
    width: calc(100% + 160px);   /* +160px über Textbreite */
    max-width: none;             /* nicht wieder einbremsen */
    margin: 0 -80px 1.2rem;      /* links/rechts ausgleichen */
    height: auto;
    border-radius: 8px;
  }
}

/* MOBILE/TABLET: Bilder bewusst etwas kleiner als die Textbreite */
@media (max-width: 850px){
  .inhalt .absatz .paragraph img,
  .inhalt .absatz .paragraph .picture,
  .inhalt .absatz .paragraph .bild_left,
  .inhalt .absatz .paragraph .bild_right,
  .inhalt .absatz .paragraph .bild_unten {
    width: 92%;
    max-width: 92%;
    margin: 0 auto 1rem;   /* zentrieren */
    height: auto;
  }
}

/* Brand/Logo in der Nav */
nav .brand-link { display:flex; align-items:center; gap:.5rem; text-decoration:none; font-weight:600; }
nav .nav-icon   { width:24px; height:24px; display:block; }

/* Brand nicht wie Menüpunkt highlighten */
nav li.brand { border:0; padding:.35em .75em; margin:0 .5em 0 0; }
nav li.brand:hover { background:transparent; }

/* Optional: im mobilen Overlay oben etwas absetzen */
@media (max-width:850px){
  nav.mobile-nav .brand{
    width:100%;
    text-align:center;
    padding:.5rem 0;
    margin-bottom:.5rem;
    border-bottom:1px solid #D2951B;
  }
  /* Wenn du im Overlay nur das Icon willst: */
  /* nav.mobile-nav .brand-text { display:none; } */
}

@media (min-width: 851px){
  /* Liste links statt zentriert */
  nav.mobile-nav ol{
    display: flex;
    justify-content: flex-start !important;  /* vorher evtl. center */
    align-items: center;
    gap: 0;
  }

  /* Brand ganz vorne, ohne Auto-Margins nach rechts */
  nav.mobile-nav li.brand{
    order: -1;                 /* falls Brand nicht bereits als erstes <li> steht */
    margin: 0 20.75em 0 0;       /* kleiner Abstand zum ersten Menüpunkt */
  }
}

/* Responsive Navigation */
#hamburger-menu,
#close-nav {
	display: none;
	font-size: 28px;
	cursor: pointer;
}

#mobile-nav {
	position: fixed;
	top: 0;
	left: -100%;
	width: 80%;
	height: 100%;
	background: #fff;
	transition: left 0.3s ease;
	z-index: 9999;
	overflow-y: auto;
}

#mobile-nav.open {
	left: 0;
}

@media (max-width: 992px) {
	nav ul {
		display: none;
	}
	#hamburger-menu {
		display: block;
	}
}

@media (min-width: 350px){
  /* Liste links statt zentriert */
  nav.mobile-nav ol{
    display: flex;
    justify-content: flex-start !important;  /* vorher evtl. center */
    align-items: center;
    gap: 0;
  }